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

This map could *easily* be converted to show any restaurant
(or store, bank, etc) locations on a map!


In this example, I used my Garmin 2610 GPS Navigation systm
and did a search on 'bojangles' and had it find all the 
closest ones.  I then took the longitude/latitude and address
information for each one, and put them in a sas data set.

I turn the Bojangles location data set into an 'annotate'
data set, so that it will annotate a red star at each 
longitude/latitude bojangles location.  I use the annotate
html= variable to code in some html title= charttip/flyover-text,
so that you can mouse over the stars and see the detailed info.
And I use the html href= to code in a drilldown so you can
click on the stars and get a 'mapquest' streetmap showing how 
to get to that location.

My wake county map came from the "SAS GIS Census Tract Maps",
which was converted into a sas/graph map data set.

I combine the map with the address info, and gproject them
together (guaranteeing that they will line up correctly 
in the next step).

I then separate the map and annotate data set, and use
"proc gmap" to draw the map, with the BoJangles markers
on it.

And for a 'special touch' I annotate a bojangles logo on the
side, and set up the html href so that you can click on the
logo and go to the BoJangles home page.

Back to Samples Index