Hi,
I'm working on the plugin for jquery :
http://olbertz.de/jquery/googlemap.html
it's really great with firefox.. but it doesn't work in IE...
I've made some tests and it seems that the problem comes from this
foreach :
locations.forEach(function(element, index, array) {
var marker = new GMarker(new GLatLng(element.latitude,
element.longitude), {title: element.name});
map.addOverlay(marker);
GEvent.addListener(marker, 'click', function() {
marker.openInfoWindowHtml('Name: '+element.name+'<br
/>Latitude: '+element.latitude+'<br />Longitude:
'+element.longitude+'');
});
link = ' # '+element.name+' <br />';
$('p#location_list').append(link);
});
locations.forEach seems to cause problems with IE...
Is there a workaround ?
thanks in advance
--
View this message in context:
http://www.nabble.com/googlemaps-plugin-with-IE---tf2890722.html#a8075824
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/