You need to ensure that all coordinates are manually input as this makes it easier to set up the markers.
The code below can run on multiple instances of google maps, however please note that you keep ‘.mapelement as the classname in your HTML as the function specifies this:
And then insert this code into Footer or Header:
You can directly add the JavaScrips code to your HTML or in a file located as googlemaps.js just to keep things tidy.
If you have any questions about this post or need any help with ACF Style Google Maps then please get in touch either via email firstname.lastname@example.org or call us on 0161 237 3114.