deleteme / google-maps-wrapper

A Prototype based simple wrapper for embedding a Google Map onto a web page.

This URL has Read+Write access

name age message
file README.textile Loading commit data...
file demo.html
directory images/
directory javascripts/
file myjson.js
directory stylesheets/
README.textile

Google Maps Wrapper

Overview:

This class is used to plot latitude and longitude points onto an interactive Google Map.

Demo:

You can see it in action here: http://homepage.mac.com/mattgarrett/google-maps-wrapper/demo.html

Dependencies:

  • This class requires Prototype 1.6 (http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js) to run.
  • The Google Maps javascript API file and key must be in the head of your HTML document. Refer to the Google Maps API documentation. Generate your own key: http://code.google.com/apis/maps/signup.html

Usage:

The class will execute automatically on the ‘dom:loaded’ event. If you do not want this to happen,
you can either set the ‘embedEvent’ to false or specify a custom event.