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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:25:50+00:00 2026-06-09T12:25:50+00:00

I have an app based on Google MapView with a number of large vector

  • 0

I have an app based on Google MapView with a number of large vector overlays. There can be up to 500 complex polygons on the screen at once. On my phone (Android 2.3.4) the redraw of MapView is triggered automatically on a short time interval no matter whether it is needed or not.

The problem:
Because of the large map redraw time UI response can be slow. For example it may take about a second to open a menu. Any dialogs have poor response as well.

The question:
Is it possible to turn off automatic redraws for MapView? Or any other thoughts how to improve the UI response?

*MapView.SetEnabled(false) doesn’t do it, MapView only becomes unclickable. MapView.setWillNotDraw(true) leaves me with a black screen.

*As far as I know on Android 2.2 no automatic redraw occurs (MapView.Invalidate() is needed to see any changes). Maybe it’s not only OS/library version but also hardware issues.

  • 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-09T12:25:51+00:00Added an answer on June 9, 2026 at 12:25 pm

    As far as my knowledge of MapView goes, the map is only redrawn when you drag the map or zoom in/zoom out OR unless you call map.postInvalidate(). Now to answer your question:

    “Is it possible to turn off automatic redraws for MapView?” Yes. You will have to override the onDraw() method of MapView because it’s the onDraw() method that is called whenever the map is drawn/redrawn, basically, you will need to have a boolean control variable that you can use to change whether the entire map should be drawn (default drawing is done by using the super.onDraw() call) or if you need to only specifically draw some of the overlays etc.

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

Sidebar

Related Questions

I have an app which is based on a UINavigationController . There is a
I have a subscription based app, charged on the basis of number of users
im making an iphone web based app and i have embedded a google maps
I have a tab in my tab based app which shows Google Maps. It
I have built a website based on Google App Engine. It includes ten models,
I have implemented the in-app billing based on the dungeons google code, but I
I have written a webservice in java based on Google App Engine, which stores
I have an app based on the CoreDataBooks example that uses an addingManagedObjectContext to
I have an Objective-C audio app based on audio unit and my problem is
I have an iOS app I created as a view-based app in xCode. I

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.