I\'m currently working on Rails app that is getting the following error:
You have included the Google Maps API multiple times on this page. This may ca
Try this too....
google.maps.event.addDomListener(window, 'turbolinks:load', initialize)
;
And remeber, all google script have to stay after Turbolink, like this:
= javascript_include_tag 'application', 'data-turbolinks-track': 'reload'
= javascript_include_tag 'https://maps.googleapis.com/maps/api/js', 'data-turbolinks-track': 'reload'
= javascript_include_tag 'gmap', 'data-turbolinks-track': 'reload'
See more at: https://github.com/turbolinks/turbolinks