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

---------------------------------------------------------------

A few years back, I volunteered in an Earthwatch expedition 
to do research on coral reef bleaching in the Bahamas.
The research was done around the small, sparsely-populated
island of San Salvador (not to be confused with Sal Salvador,
capital of El Salvador).

   Earthwatch Bahamian Reef Survey

I wanted a map where I could easily see the location of
San Salvador island, in relation to the US, Cuba, etc,
and I also wanted an easy way to get to the Google Earth
satellite maps of the island.

Some of the "tricks" I use in this maps ...

I use "proc gproject" to clip the rectangular region that
I'm interested in.

I use annotate to draw the long/lat grid.

I use html href drilldown for the circle around the island.

I use html charttips so you see the country names when you
mouse over the other islands & land-masses in the map.
I run "options fmtsearch=(sashelp.mapfmts)"
so that I can use the glcnsm. format to convert the 
country number to the country name.

And I use the new v9.2 width feature to control the width
of the annotated circle around the island (if you run this
code with a release prior to v9.2, the circle will just 
have a single-pixel width).

Back to Samples Index