Hello, I would like to create a world map showing various locations and a custom legend witch consecutive numbers representing the locations. The first problem is that the caption is too "high", this is, number 3 should be on the coast, not in the Atlantic. Second, I would like to get a legend, which shows which location is represented by which number, this is, 1 .. New York, 2.. Ann Arbor, etc. * Sites; Data Position; Input @1 City $ @30 y @42 x; x=atan(1)/45 * x; y=atan(1)/45 * y; Nr=_N_; Datalines; New York 40.714352 74.0059731 Ann Arbor 42.2808256 83.7430378 Santiago de Compostela 42.8782132 8.5448445 Dalian 38.914003 -121.614682 ; Run; * World Map; Data World (Rename=(long=x lat=y)); Set maps.world (Drop=x y); Run; * Sites+Map; Data Combo; Set Position World; Run; Proc GProject Data=Combo Out=Proj Project=Gall; ID Cont ID; Run; Quit; Data Map Anno; Set Proj; If City='' Then Output Map; Else Output Anno; Run; Quit; Data Anno; Length Color $8. Text $20. Style $25.; Set Anno; Retain xsys ysys '2' function 'label' when 'a'; text=Compress(Put(Nr,Best2.)); color='steel'; position='2'; size=0.8; Output; run; Pattern1 v=ms r=77 c=PALG; Title1 'Title'; Proc GMap Data=Map Map=Map; ID Cont ID; Choro ID / Anno=Anno COutLine=white; Run; Quit; Thanks&kind regards
... View more