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 7001457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:48:20+00:00 2026-05-27T20:48:20+00:00

I have a MapView in which I place some ca. 200 Overlays , all

  • 0

I have a MapView in which I place some ca. 200 Overlays, all with the same picture. I get the location-data with Restlet. But that shouldn’t be the problem, because I get the Data fast enough.

The problem is, that the MapView is very slow. The performance decreases with the count of the Overlays, but it shouldn’t, cause on the iPad, there’s an app, which can do this easily. My Tablet has even more Ghz.
The Tablet is loading parts of the map again and again, even when I don’t scroll on it.

So I think that I’m doing something wrong. So I have some questions:

  1. LogCat says: GC_CONCURRENT freed 287K, 6% free 7222K/7623K, paused 1ms+2ms
    and repeats this, trying to get some space continuously. Is it possible that this is the problem and the cache filled too much?

  2. Is it possible that the shadow of the Overlays costs pretty much performance? How can I delete them?

  3. How can I delete all the data with pressing the back button? What do I have to insert into onStop() and onDestroy() ? As I know, the Garbage Collector is doing all this stuff automatically. What else could I do? Remove Overlays?

  4. I use cases like:

    minLatitude = (minLatitude > partnerLatitude) ? partnerLatitude : minLatitude;
    

    and for-each:

    for(BrunnerPartner partner: query) {     
    partnerAL.add(partner);                     
    }
    

    Are these bad for performance?

  5. Would it help me if I would hide some Overlays when the zoom span is small? How could I do this?

  • 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-05-27T20:48:20+00:00Added an answer on May 27, 2026 at 8:48 pm

    Take a look at the OverlayItem example: http://developer.android.com/resources/tutorials/views/hello-mapview.html

    Using individual overlays introduces a large amount of bloat.

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

Sidebar

Related Questions

I have a MapView onto which I put some overlays (MKPolygon). I have to
I have a normal mapView, which can tell the users location, but when users
I have a FrameLayout view which contains one (MapView-like) control and some additional buttons
I have set up a MapView Class which has Overlays (and they're working fine.)
I have an Android MapView in which i need to have a second layer
I have a mapview with several annotations. Every annotation has a leftCalloutAccessoryView which is
I am working on a Mapview in my android application, in which i have
I have a MapView that will contain alot of overlays. For this i've extended
I have a mapview, with the MyLocationOverlay, and other overlays. MyLocationOverlay is drawn under
HI, I have a Mapview with some marker points + a marker for current

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.