I have been trying for hours to figure out why I can not use an Itemized Map overlay without doing this before adding it to the ovelays of the map:
GeoPoint po
if you make important changes on your ItemizedOverlay you have every time to do
with
private void delete_usrer_Marker_from_Overlays(MyOverlays myio){
List mapOverlays = mapView.getOverlays();
if (mapOverlays != null)
{
for (int i = 0;i< mapOverlays.size();i++)
{
Overlay x = mapOverlays.get(i);
if (x.hashCode() == myio.hashCode())
{
mapOverlays.remove(x);
}
}
}
}