Closed hkairi closed 11 years ago
:+1: Here neither....
Same. I've tried using Google Maps outside of the gem and it still doesn't work. So I think it's a problem with Rails 4 or my JS.
I think it is a problem caused by TurboLinks
Hey my map is not showing as well..... using rails 4 here, maybe I have a js problem as well ?
Turbolinks, wiselinks, JQueryMobile - any engine based on ajax call. Look here: https://github.com/apneadiving/Google-Maps-for-Rails/pull/328 Issue is described here: http://stackoverflow.com/questions/13807686/gmaps4rails-and-turbolinks-not-loading-without-full-page-refresh Quick and dirty solution - disable Turbolink with "data-no-turbolink" for specified pages/links It is not really gmaps4rails issue, but google api loaded in ajax call.
Using rails 4.0, and I can't get the map to work at all. Any suggestions?
Using "data-no-turbolink" solved this for me in Rails 4: <%= link_to "Page with gmap", foo_path(foo), 'data-no-turbolink' => true %>
Thans @hennzen
I tried it with the option "data-no-turbolink" set to false ... and it worked !
Hi,
i am facing this issue : Gmaps 4 rails not showing except when i refresh ! I am using Rails4