title1 "Carte des communes - Scoring";
proc gmap data = Carto_Synthese_Com1 map = carto_Communes1;
id commune;
choro Risque / legend = legend1 midpoints = "Obsolète" "Limite" "Vigilance" "Surveillance" "Critique" annotate = annotate_commune coutline = white;
run;
Hello,
I try to put the labels in the center on the card but it shifts.
Here is the code. I don't know what's wrong.
Can someone please help me and tell me what is wrong with my code.
A code proposal will also be welcome.
Thanks
Gick.
/* Put labels on the map */
%annomac;
proc sort data=carto_Communes; by commune;run;
%maplabel(carto_Communes,carto_Communes,annotate_commune,commune,commune ,font=Albany AMT, color=black, size=2.5, hsys=3);
/*end*/
title1 "Carte des communes - Scoring";
proc gmap data = Carto_Synthese_Com map = carto_Communes;
id commune;
choro Risque / legend = legend1 midpoints = "Obsolète" "Limite" "Vigilance" "Surveillance" "Critique" annotate = annotate_commune coutline = white;
run;
/* Put labels on the map */
%annomac;
proc sort data=carto_Communes; by commune;run;
%maplabel(carto_Communes,carto_Communes,annotate_commune,commune,commune ,font=Albany AMT, color=black, size=2.5, hsys=3);
/*end*/
title1 "Carte des communes - Scoring";
proc gmap data = Carto_Synthese_Com map = carto_Communes;
id commune;
choro Risque / legend = legend1 midpoints = "Obsolète" "Limite" "Vigilance" "Surveillance" "Critique" annotate = annotate_commune coutline = white;
run;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.