Monday, June 28, 2010

Re: [android-developers] Re: ItemizedOverlay using both onTap methods

On Thu, Jun 24, 2010 at 11:57 AM, Carlos Silva <r3pek@r3pek.org> wrote:
I don't really agree with this.

OK, can you elaborate why not and how you believe the functions work? Any more info we can get on the Maps API, given the craptastic documentation, would benefit everyone.

I use onTap(int) to detect if an overlayItem was clicked.

Can you elaborate on how? The docs say "By default, does nothing and returns false." Given nothing more than an index I'd love to know how you determine an item was clicked.
 
And use onTap(point, mapview) to handle every other click on the map. I use the first to show a ballow, and the second to hide it.

Again, would be great if you could elaborate on your methodology.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment