Just to make it more clear, here is the code again
marker = new GMarker(latlng, {draggable:true});
GEvent.addListener(marker, "click", function() {
var html = "<input type='button' value='Delete'
onclick='map.removeOverlay(marker)'/>";
marker.openInfoWindow(html,{redraw:true});
});
map.addOverlay(marker);
Thanks
Kelson
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---