Hi All,
I am trying to use the Google Map API- I've successfully managed to add an icon but when it is clicked nothing else happens...
This is my code:
function placeMarkerAtPoint(point)
{
var marker = new GMarker(point,{icon: icon});
GEvent.addListener(marker,"click",function() {
marker.openInfoWindowHtml('here is some text');
});
map.addOverlay(marker);
}
When I run this in IE & click an Icon I see the not very useful javascript error: 'x' is null or not an object. I haven't even defined any variable called x ???
Thanks in advance for your your help