Embedded Google Maps In Rails Not Responsive
I'm trying to embed Google Maps into my Ruby on Rails website. I am able to search places on the map using a search feature I implemented, but I am unable to interact with the map
Solution 1:
Looks like a conflict of Rails's turbolinks
with Google Maps, see this answer:
Rails 4 turbo-link prevents jQuery scripts from working
See if turning off turbolinks fixes the problem:
Remove
gem "turbolinks"
from your Gemfile and runbundle
.Remove
//= require turbolinks
fromapplication.js
.
Post a Comment for "Embedded Google Maps In Rails Not Responsive"