Map Error Issue in Single Ad Listing
I'm getting a strange error. I downloaded the dev build today (10/31/2015...not sure which version) and on single ad listings I'm getting an error in the little map tab.
ERROR:
'; function map_init() { jQuery(document).ready(function($) { $('#map').hide(); load(); $('#map').fadeIn(1000); codeAddress(); }); } function load() { geocoder = new google.maps.Geocoder(); //directionsDisplay = new google.maps.DirectionsRenderer(); var newyork = new google.maps.LatLng(40.69847032728747, -73.9514422416687); var myOptions = { zoom: 14, center: newyork, mapTypeId: google.maps.MapTypeId.ROADMAP, mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.DROPDOWN_MENU } } map = new google.maps.Map(document.getElementById('map'), myOptions); //directionsDisplay.setMap(map); } function codeAddress() { geocoder.geocode( { 'latLng':SavedLatLng }, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { marker = new google.maps.Marker({ map: map, icon: redFlag, //title: title, animation: google.maps.Animation.DROP, position: SavedLatLng }); map.setCenter(marker.getPosition()); infowindow = new google.maps.InfoWindow({ maxWidth: 230, content: contentString, disableAutoPan: false }); infowindow.open(map, marker); google.maps.event.addListener(marker, 'click', function() { infowindow.open(map,marker); }); } else { (function($) { $('#map').html('
SCREENSHOT:
map error.png