Saturday, February 26, 2011

[Google Maps API v2] removeOverlay not removing Overlay

Hi,

all the talk about one-click polyline measurers got me curious, so I
hacked one together and it turned out OK, except for the fact that I
can't get the markers to disappear when the rest of the map is
cleared. The polyline gets removed with:
map.removeOverlay(poly);

which made me think that:
map.removeOverlay(markers);

would probably do the trick, but they just won't go away.

thanks in advance for any pointers.

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate