[android-developers] Event triggers when I click around marker

2010-04-26 Thread Nithin
Hi, I displayed map and on top of map, I displayed a number of overlay Items(Markers). Clicking on overlay Items or markers will do some action. But the problem is when I click around the marker, means outside the marker, at that time also, the event triggers. I want to restrict that exactly when

Re: [android-developers] Event triggers when I click around marker

2010-04-26 Thread TreKing
On Mon, Apr 26, 2010 at 1:40 AM, Nithin nithin.war...@gmail.com wrote: I am doing the event in opTap() method. onTap(...) will always be called when you tap on the map. You have to call super.onTap(...), which returns true if you actually tapped something. boolean onTap(...) { if