Only load Google Maps script when necessary?
-
I have some additional Google Maps functionality throughout my site and the plugin is causing the Maps API script to get loaded twice which is causing issues. On the pages where I have my other maps I do not have any forms, so I’m not sure why the plugin would be loading the script on those pages. Is there an easy way to make it so that the plugin will only load the Maps API script on pages where it’s necessary (pages with forms which have an address field with the “Enable Autocomplete with Google Places API” option enabled)?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.