Hi,
I was just playing around a bit with google maps and wanted to add a marker to the map after clicking somewhere.
This works fine, except in IE8 (the locations don't show up where i click, but a bit to the left or the right.. can't see a pattern) This is the code:
GEvent.addListener(map, "click", function(overlay, latlng) {
map.clearOverlays();
var marker = new GMarker(latlng);
map.addOverlay(marker);
});
The code can be found online at this location: http://sp2hari.com/gmap/event-showinfowindow.html
if i set IE to compatilble mode, it works fine. Anyone now hot to fix this?