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.
A js template needs to be added to
app/assets/javascripts/google_map.js
, which searches the document for an element with an id ofgoogle-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.