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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:48:48+00:00 2026-06-18T07:48:48+00:00

I have already written an app that uses GoogleMaps Api v1 in Android. This

  • 0

I have already written an app that uses GoogleMaps Api v1 in Android. This app uses several Overlays (or ItemizedOverlays) which handle a bunch of things autonomously (ie. lazy loading markers, as I have a whole lot of them and adding them all at once will force the app to close). I also use them as an interface for the user: He can decide which overlays (or which kind of markers from his perspective) he wants to see. I add or remove these Overlays accordingly. Now I want to switch to the new maps-v2-api. The documentation makes no mention of Overlays, and it seems that one cannot extend Markers as they are final.

Am I forced to kind of emulate the previous maps behavior, to be able to add and remove Overlays which handle Markers themself? Does anyone know a reason why Google removed this useful facility, and forces any developer to completely rewrite the GoogleMaps related code? I like to know also a reason for making the Marker class final, thus preventing anyone to add something related to it? (solutions I see store a global HashMap with the marker as key, and the infos they need as value, which is – in my point of view, very ugly considering that markers may have different models which are related to them).

  • 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-18T07:48:50+00:00Added an answer on June 18, 2026 at 7:48 am

    Am I forced to kind of emulate the previous maps behavior, to be able to add and remove Overlays which handle Markers themself?

    Yes.

    Does anyone know a reason why Google removed this useful facility, and forces any dev to completely rewrite the GoogleMaps related code?

    Google engineers probably know the reason.

    All I know that, for simple scenarios, the new approach requires less code. Maps V1 requires overlays, and overlays are overkill for many apps.

    I like to know also a reason for making the Marker class final, thus preventing anyone to add something related to it?

    Because the Marker is used for IPC and is not really retained within your process. Pretty much anything you do with Maps V2 results in IPC calls, based on Cyril Mottier’s research.

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

Sidebar

Related Questions

I have a bunch of code that's already written which currently relies on images
I am developing an Android app and have already found out that different Android
This is similar to this question, except the code is already written. I have
I have an app which starts with a root UINavigationController . This controller then
Have an app written that automatically reads out received text messages when they arrive.
I have a jquery mobile app that uses ajax to make calls to my
I'm working on my windows-phone app which uses some simple data binding. I've already
I have this weird problem that's killing us. I have a widely used app
I have written an iPhone and iPad app that should streams e.g. 4 videos
I have a small app that uses Lua linked as dll (not static). 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.