I've had problems with this on occassion also...but just clearing the items from each Overlay achieves the same thing without problems.

    myOverlay.items.clear();

If you have more than one Overlay, and want to clear them all, just loop through them and clear the items.




On 10/07/2010 9:19 PM, Michael wrote:
Hello,
I'm unable to clear my overlays without error. I run
mapView.getOverlays().clear() as I've seen but to no avail. Is there
any way I can effectively remove these markers? I think it will help
resolve a concurrentmodificationexception. Thanks!
Michael


--
Sincerely,

Brad Gies
-----------------------------------------------------------------------
Bistro Bot - Bistro Blurb
http://www.bgies.com
http://www.bistroblurb.com
http://www.ihottonight.com
-----------------------------------------------------------------------

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead

--
You received this message because you are subscribed to the Google
Groups "Android Developers" 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/android-developers?hl=en

Reply via email to