navigation links

Back to How This Map Works

Vanderbilt Campus Map Functionality

The campus map program is a CGI script written in C++. It uses the query line to control its operation. The program takes several options from the query line. An invocation of the script might look like this:

/map.cgi?mode=1&zoom=12&panx=23&pany=44

mode= This option determines what the program will do. The program can be re-entered several times during the display of the map to generate the HTML or to generate the image. Panning in the image is accomplished via this option.
zoom= This option determines which of the three zoom levels (4,12, or 24) to display. Each zoom level corresponds to a unique map file.
panx=
pany=
The user can pan through the map by using the arrow keys or by clicking within the thumbnail. The script decides which section of the map to display by looking at the "panx" and "pany" parameters. This is the amount of pan in the horizontal (panx) and vertical (pany) direction.




Back to main map | How to use this map | Vicinity Map | Building List | Vanderbilt Homepage |