NathanielWroblewski / prop

Prop is a Rails 4 app generator with customized defaults and an opinionated workflow.
https://rubygems.org/gems/prop_up
MIT License
5 stars 4 forks source link

Add a Google Maps map #6

Open ysadka opened 10 years ago

ysadka commented 10 years ago

A js template needs to be added to app/assets/javascripts/google_map.js, which searches the document for an element with an id of google-map, and if it finds one, appends a google map. Bonus points for building in the functionality for importing several data sets as markers on the map and integrating the places library.

NathanielWroblewski commented 10 years ago

I added the Leaflet map, but a note needs to be made that it relies on an element of id leaflet-map, and that it requires a Cloudmade API key.