GEOG 863
GIS Mashups for Geospatial Professionals



In Lesson 3, you learned how to code info windows for each marker and how to display your markers using a custom icon. However, you were still hard-coding the locations of the markers in your JavaScript, a less-than-ideal arrangement. In Lesson 4, you'll learn how to read and overlay data stored in a variety of formats. The project deliverable will require you to map a point dataset of your choosing.

In addition, I will demonstrate how to use the Google geocoder and give you a taste of database-driven mapping, the main topic of the optional Lesson 6 and an area you may want to explore for your final project.


At the successful completion of this lesson, students should be able to:

  • convert tabular data to XML;
  • use JavaScript to read points from an XML file and plot them on a map;
  • add a sidebar that lists selected attribute information about the points on the map;
  • add a KML layer to a map;
  • explain how the Ajax programming technique produces more responsive web applications;
  • add Esri shapefile data to a map;
  • understand how server-side scripting can be used to read data from a DBMS and package the data so it can be consumed by JavaScript;
  • use the Google geocoder to obtain lat/long coordinates for addresses.

This is a rather long lesson (hence the two-week length). If you want to break your readings into two smaller chunks, the end of section 5 is a logical break point.


If you have any questions now or at any point during this week, please feel free to post them to the Lesson 4 Discussion Forum. (That forum can be accessed at any time by clicking on the Communicate tab and then scrolling down to the Discussion Forums section.)