Google Maps Not showing
-
Hi,
Upgraded to new ID Directory Lite yesterday from ldd-business-directory in a Dev site I am working on. Unfortunately all of my inputted businesses disappeared. I can live with that as they can be resubmitted.
However, the Google Maps are now longer showing up with any companies at all. Should the maps be working in this new beta? I’ve tried US and UK addresses with no success. I DO have the maps element enabled in the settings btw. Where is the map info pulled in from, there is no set field when creating a listing, so assume it is from the address fields themselves?
I should point out I am no programmer, but in my Browser Error Console I do get this bold line highlighted in red. Any ideas?
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCbaw0hFglsihePOsFpMnLQwJZtOChIoDg&sensor=false"></script> <script> function initialize() { <strong>var mapLatLng = new google.maps.LatLng(, )</strong> var mapOptions = { center: mapLatLng, zoom: 16, mapTypeId: google.maps.MapTypeId.ROADMAP, panControl: false, } var map = new google.maps.Map( document.getElementById("map_canvas"), mapOptions ) var marker = new google.maps.Marker({ position: mapLatLng, map: map, animation: google.maps.Animation.DROP, }) } google.maps.event.addDomListener(window, 'load', initialize); </script>[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Also have the Special Offers element been removed completely now?
Hope to be able to continue using your plugins.
Thanks
CPR
The topic ‘Google Maps Not showing’ is closed to new replies.