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

google is not defined #419

Closed SheetalShah closed 10 years ago

SheetalShah commented 10 years ago

i followed all steps to migrate to v2. however, i get this error when calling the Gmaps.build function.

point: google.maps.point google is not defined.

any idea what am i missing?

apneadiving commented 10 years ago

I fear you dont load google maps at all.

<script src="//maps.google.com/maps/api/js?v=3.13&amp;sensor=false&amp;libraries=geometry" type="text/javascript"></script>
SheetalShah commented 10 years ago

Thanks a lot!