2

enter image description hereI have a channel set up that has acc_longitude and acc_latitude, these fields have the correct coordinates for the destination applied. I am using this code below to try and display a map with the a marker of the destination. Below you can see my code for my attempt at this, I am just receiving a white box with no map in it. Any ideas? js script running below looks like this (being pulled in by the add-on).

{exp:gmap:init id="map" class="gmap" latitude="{acc_latitude}" longitude="{acc_longitude}" style="width:100%;height:200px;"}

1 Answer 1

1

Issue was that the jquery.min.js file was in the footer, it was preventing the map from being rendered

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.