apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.26k stars 382 forks source link

Infobox example in wiki, step 2 confusion #88

Closed Yogi-van closed 13 years ago

Yogi-van commented 13 years ago

I made vanilla test app to try out to customize the infobox as noted in wiki https://github.com/apneadiving/Google-Maps-for-Rails/wiki/Markers. However I seem to blunder in the step of passing the (info box's extended) options to gmaps4rails. Where exactly the javascript in step 2 is supposed to go? If I just add it to the end of the page rendering (after the :scripts part) I'm greeted with javascript error 'ReferenceError: Can't find variable: Gmaps4' .

apneadiving commented 13 years ago

sorry, was a typo, it's just Gmaps