Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8002907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:30:42+00:00 2026-06-04T16:30:42+00:00

I had to show multiple (around 600, all clickable to show some info about

  • 0

I had to show multiple (around 600, all clickable to show some info about them) overlay items on mapview. For performance issues, i thought it would be wise to group them into different ItemizedOverlay classes because every group will show different kind of informations about them. (Spesifically items are Airports, VORs, NDBs and such things about aviation).

My problem is, if i seperate them into classes and show them, performance is super. Map flows fluently. But when i add second layer on top of first, items on the first layer becomes unclickable.

When i read a lot, and debugged using Log.i method, i realised that every layer gets clicked but only OnTap(Geopoint point, MapView mapview) method gets called. Calling super.onTap(point, mapview) didn’t work. I need onTap(int index) method to identify the marker. (I have both methods in my classes (after i read lots of examples)).

So, what should i do? Is there any method to solve my problem? I dont want to go into heavy approaches like comparing clicked coordinates to all overlay items coordinates to find anything close.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T16:30:44+00:00Added an answer on June 4, 2026 at 4:30 pm

    The way onTop (and any other touch event works on android) is that it will ping any and all objects that are at the coordinates until one of the onTaps (or any other touch event) returns true. In this case, your onTap(Geopoint point, MapView mapview) method is returning true. This consumes that touch event and does not let it pass on to any other onTap events. If you make the onTap event return false, the other onTap events will get pinged. I hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had a debate about macros and their readability. I think that in some
I'm executing multiple(3) ajax requests. How can I check whether all of them have
The API doesn't show a proper example how to use connectNulls property. I had
In a Screen to be rendered by a JSF Implementation, I had to show
could any one suggest me the way to show multiple images in tab of
i had installed a wordpress and i want to show the posts in a
So I want a list of items that when you select them they expand
I am working on a piece of an application attempting to show multiple different
Basically, now that APC is installed, I had assumed that memory tracing would show
I posted earlier about getting my VBScript to wait until a process had finished

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.