Click here to see the SAS code.
Click here to see the example.


This example was adapted from one of Mike Zdeb's examples...

This example basically uses the gmap legend to display some 
summary statistics for each map area (in this case, county),
even though each county is shaded the same.  This would be
much easier, except that I wanted the legend to be sorted by 
the descending numeric values, and this value is part of more
detailed text for each county ... ergo, I assigned a numeric
variable to control the order of the legend, and then I used
a user-defined-format (calculated on-the-fly) to make those
numbers "print" as the desired text.

I also use the new v9.2 legend colmajor option, and 
the new v9.2 support for unicode text characters
(I use unicode text for the annotated dots).

Back to Samples Index