SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 24891: Labeling cities on a United States map with PROC GMAP

DetailsCodeResultsAboutRate It
This sample uses PROC GMAP and the Annotate facility to label cities on a map. The sample code creates the Annotate data set by locating the 'X' using city coordinates from MAPS.USCITY. Each line of the stacked label is positioned around the 'X' by using the coordinates for the city and adjusting the alignment to that point.


These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.