Closed arietis closed 9 years ago
If google isnt defined, you probably forgot to include google's script, or its loaded after gmaps4rails'
Sent from my iPhone
On 10 déc. 2014, at 09:32, Sergey Guselnikov notifications@github.com wrote:
When i'm trying to load the map, i get such message in console and blank screen instead of the map:
Uncaught ReferenceError: google is not defined primitives.js?body=1:5 Gmaps.Google.Primitives primitives.js?body=1:5 Gmaps.Objects.Handler.Handler.setPrimitives handler.js?body=1:122 Handler handler.js?body=1:8 Gmaps.build base.js?body=1:9 (anonymous function) map.js?body=1:4 (anonymous function)
Any ideas how to fix it?
application.html.erb https://gist.github.com/arietis/bda71fbf055b6e72d992 index.erb https://gist.github.com/arietis/4a6b777aadfea808ac1e
— Reply to this email directly or view it on GitHub.
Closed it because i created new project using youtube tutorial and everything works fine now :)
When i'm trying to load the map, i get such message in console and blank screen instead of the map:
Uncaught ReferenceError: google is not defined primitives.js?body=1:5 Gmaps.Google.Primitives primitives.js?body=1:5 Gmaps.Objects.Handler.Handler.setPrimitives handler.js?body=1:122 Handler handler.js?body=1:8 Gmaps.build base.js?body=1:9 (anonymous function) map.js?body=1:4 (anonymous function)
Any ideas how to fix it?
application.html.erb https://gist.github.com/arietis/bda71fbf055b6e72d992 index.erb https://gist.github.com/arietis/4a6b777aadfea808ac1e