collectiveidea / simple-maps

Add Google Maps in seconds. Maps any and all hCards on the page and resizes the map to fit. Uses the new Google Maps JavaScript API v3. It will even do the geocoding for you!

This URL has Read+Write access

name age message
file Readme.textile Loading commit data...
file example.html Fri Sep 25 06:54:58 -0700 2009 Referencing the local map.js file in the example. [jqr]
file map.js
Readme.textile

Simple Maps!

Google Maps should be easy to add anywhere. Simply mark up your content with hCards and we’ll put them on a map.

Don’t know your latitude & longitude? No problem, we’ll look them up for you! Have them already? We’ll use them.

It will fit all the points into view automatically!

Requirements

Example

<pre>

Coffee Shops

Lemonjello’s

61 East Ninth Street Holland, Michigan 49423

http://www.lemonjellos.com phone: 616-928-0699 <!-- this one has geo data --> 42.789537, -86.104624

JP’s Coffee & Espresso Bar

57 East Eighth Street Holland, Michigan 49423

http://www.jpscoffee.com phone: 616-396-5465 fax: 616-396-0219 <!-- this one doesn't have geo data, so it gets looked up on the fly! -->

TODO

  • More configurable