Android: Remove specific point from ItemizedOverlay
So I built an app on Android which uses a map and ItemizedOverlay to display points/markers on it.
Is there a way to remove a specific point from the itemizedOverlay?
OverlayItem overlayItem = new OverlayItem(theGeoPoint, title, description);
Example, say I've added lots of points at different latitudes/longitudes and I wish to remove a point at a specific latitude: 32.3121212 and specific longitude: 33.1230912, which was added earlier.
How can I remove JUST that point??
I really need this so I hope someone can help.
Full story scenario (in case you have a different idea on how to solve this): Adding events to a map that are caught from a database. Now when events are deleted from the database, I wish to sync the map and remove just those which were deleted. (please don't suggest I re-download all points excluding the deleted ones even though I've thought of that but it isn't an option concerning what I want to do. :p)