Google Maps
Google Maps
Google Maps
1. INTRODUCTION
Web based Google maps can be used to visually display individual data points or
thousands of data points when grouped. Individual data points can be used to answer
questions like, where are the away football games, or where are NERCOMP events. The
sample application in this paper shows the location universities in the Connecticut State
University System (CSU). Info windows are displayed when a campus marker is clicked.
The info window in this example includes a picture, a link, and a driving directions
request. Campus grouped data applications include mapping where students came from or
where alumni work. Both types of maps will be discussed in this paper as well as how
to create info windows.
Figure 1: Map of the universities in the Connecticut State University (CSU) system. When a
marker is clicked an info window with graphics, links and a request form for driving instructions is
displayed
<markers>
<marker lat="41.329194" lng="-72.942844" name="SCSU" address="501
Crescent St. New Haven, CT 06515" href="http://www.southernct.edu/"
image="../graphics/scsu.jpg" height="140" width="112"
icon="../graphics/markers/marker-s.png" />
<marker lat="41.690799" lng="-72.771141" name="CCSU" address="1615
Stanley Street, New Britain, CT 06050" href="http://www.ccsu.edu/"
image="http://chronicle.com/jobs/profiles/icons/677/677image.jpg"
height="140" width="199" icon="../graphics/markers/marker-c.png" />
</markers>
Figure 2: XML data used to create the CSU map with info windows.
Figure 3: Map using demonstration data showing students by Zip Code. When a marker is clicked
an info window displays the zip code and the number of students from that zip code.
Figure 4 shows the users input screen of the program that reads in zip codes in comma
separated format (CSV) The program then groups data into numeric categories, assigns
colored markers to each category, and looks up the map coordinates for each zip code,
and creates XML records. This data is read and displayed by Google map.
Figure 5: Front end of the XML generator program used to create input data.
4. CONCLUSION
There are many university applications for Google Map. Two types of applications have
been presented in this paper. Data for maps with only a few markers can be created using
a text editor. For maps with lots of data a program is required to group data and to create
color coded marker. Map or data output from these programs have been shown. Links to
working programs maybe found at
http://home.southernct.edu/~workmanr1/GoogleMapLinks.htm
5. REFERENCES
Figure 1. Map of the schools in the Connecticut State University (CSU) system. An info
window is displayed when a marker is clicked. Google Maps:::CSU System Campuses -
http://www.southernct.edu/class/csc208a/maps/ctschools.html
Figure 2. XML data used to create the CSU map with info windows.
http://www.southernct.edu/class/csc208a/data/ctschools.xml
Figure 3. Map using demonstration data showing students by Zip Code.
http://www.southernct.edu/class/csc208a/maps/grad.php
Figure 4. XML generator program used to create input data.
http://www.southernct.edu/class/csc208a/data/xml_generator.phps.