On Jan 22, 3:20 pm, peziza <[email protected]> wrote:
> I am having a problem with a map where I am placing a polygon around a
> point when the map is clicked. This part works fine. Now I would like
> to make the marker draggable - works fine, AND make the polygon
> disappear and reappear at the new marker point when dragged - this
> does not work. I cannot get rid of the former polygons. Any
> suggestions?
>
> My testmap:http://www.svampe.dk/XXXslet/CLmapfangklik.html

map.clearOverlay(polygon);});

should be:
map.removeOverlay(polygon);});


  -- Larry
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to