apneadiving / Google-Maps-for-Rails

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

Issues with boilerplate configuration #535

Open garmoshka-mo opened 7 years ago

garmoshka-mo commented 7 years ago

Configuration of maps at the homepage of Google-Maps-for-Rails seems to be overcomplicated. At least instructions is much more sophisticated, than at official GoogleMaps documentation - https://developers.google.com/maps/documentation/javascript/adding-a-google-map Where embed performed much simpler and stable.

Maybe this complication leads to situation, when code from boilerplate do not work, no js errors in console:

screen shot 2016-10-18 at 09 32 02
apneadiving commented 7 years ago

I'm unsure what you mean, examples here https://apneadiving.github.io/ work well.

garmoshka-mo commented 7 years ago

examples look much simplier. I attempted to configure project like ReadMe suggested, used lodash (maybe lodash not compatible?) Got result which you can see at attached screenshot. Zoom back and forth gives no results.

At the moment I use code from official documentation, which required only 5 minutes to get working map on my page

apneadiving commented 7 years ago

if you tell what your code was, I could spot a mistake, but I feel like if you check examples on https://apneadiving.github.io/ you could find your path easily. Anyway, I can definitely understand the gem doesnt fit your needs!