/onamap

Framework for creating desktop & mobile Google Maps based sites.

Primary LanguageJavaScript

Stuff... on a map!

Get Started

Two easy steps:

  1. git clone git@github.com:nomatteus/onamap.git
  2. Open index.html in your web browser!

You should be able to run this directly in your browser (i.e. "double-click" on it!), but you'll probably want to run this through a web server once the real coding starts.

See the Google Maps JavaScript API V3 docs for examples, API documentation, and tutorials.

Files

css/style.css

Very basic styles to fill the browser window with the map.

js/app.js

Creates the map, and contains events to add markers on click. Start coding here!

index.html

Loads the Google Maps JS, and HTML for the map/controls/etc.

Depedencies

  • Google Maps JS API v3
  • Underscore.js

About

A framework to allow rapid development of sites that feature "things" on a map.

I am genericizing the code from my "streetcars on a map" site: http://totransit.ca/

Toronto Open Data: http://toronto.ca/open