Click here to see the SAS code. Click here to see the example. One of the many wonderful benefits of working at sas is the break rooms, with free drinks :-) Being in a large building, there are many break rooms, each containing a slightly different selection of drinks. Therefore what better way to find the location of your favorite drink than a custom sas/graph application! I created custom sas/graph gmap floorplans of each floor, and if the breakroom contains the desired drink I make that room red. The large floor label (like 'R5') beside each floor is created using "proc gslide". The drink icon/logos at the top are annotated images - each image is annotated on top of a custom gmap square, and the gmap squares have html href drilldowns so that when you click on it you're taken to the map for the desired drink. (In v9 sas, support for html href's on the annotated images was added, therefore I could actually get rid of the map behind the drink images and just use annotated images by themselves for the logo icons. I would have to change their coordinates to a xsys/ysys=3, and make them all 0-100 coordinates, rather than the xsys/ysys=2 that they currently are for the map technique.) Here at sas, I originally set this up so that when you click on the drink it runs a sas/intrnet job to dynamically create the desired map on-the-fly. For this standalone version I pre-created each of the 15 maps (a separate map for each of the 15 drinks). If you're on the sas internal network, you can try the SAS/Intrnet version. Back to Samples Index