Script loading issues and search form not working
-
Howdy!
Thanks for this really-simple-to-use plug in!
I’m using Oxygen Builder and on this page, I set up my store locator.
Map is loading perfectly fine, the stores data also load fine, but when I use the search form, nothing happens.
In the console it says that Google is not defined at some point, which is weird because I’m loading the script directly inside the page using Code Blocks widget that contains this:
<script src="https://maps.googleapis.com/maps/api/js?key=MYAPIKEY&libraries=geometry&places&types=address&callback=initMap"></script> <script> function initMap(): void { map = new google.maps.Map(document.getElementById("map") as HTMLElement, { center: { lat: -34.397, lng: 150.644 }, zoom: 8, }); } </script>
Can you help me making the search form work?
Thanks!
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Script loading issues and search form not working’ is closed to new replies.