I am trying to place a marker on a map overlay and then present a dialog when the user selects the drawable. The problem is the events seem to overlap. After I click the m
If you are updating the previous overlay, set isFirst=true; in the call to `remove() to remove the overlay in question.
isFirst=true;
In the onTap() call, use
onTap()
if(isFirst) { isFirst=false; } else{ // the actual onTap() comes here }
I hope that it'll work the same if isFirst=true is set in the onDraw() as well.
isFirst=true
onDraw()