Introduction to the Google Maps API.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
js
README.md
index.html
ncsu_buses.html

README.md

This project is meant to be a starting place for the Intro to Google Maps API that Jason Feinstein will give at the TriangleJS Meetup on July 26th, 2011.

Topics to Cover

  1. Including the script.
  2. Instantiating a map, and MapOptions
  3. google.map.LatLng
  4. google.map.MapTypeId
  5. Making the map resizable using google.maps.event
  6. Adding markers to the map
  7. Adding info windows that open when a marker is clicked.
  8. Polylines and Polygons

Bonus

If we have time, I'll show code for a map with moving markers, where each marker is a bus at NC State.

  1. Encoded Polylines and the geometry library