Git Product home page Git Product logo

Comments (7)

broady avatar broady commented on May 18, 2024

Can reproduce this in the demo app? Do you have other markers on the map?

from android-maps-utils.

ericpanorel avatar ericpanorel commented on May 18, 2024

I haven't tried the demo app, but the code is mostly based from the demo. What do you mean by "other markers"? All markers are solely added via (enhanced for-loop )

 mClusterManager.addItem(m);

if that's what you're asking? There are no "stand-alone" marker additions..

As I have a "refresh" button, it also fixes the "extra clutter" problem, coz it blasts away all markers, and adds them again.

Thanks mate....

from android-maps-utils.

broady avatar broady commented on May 18, 2024

I can't reproduce this with the demo app on 0.2.1. Can you send me a build (or source code?) of your project?

from android-maps-utils.

ericpanorel avatar ericpanorel commented on May 18, 2024

Sent... Let me know if you didn't get my email.

from android-maps-utils.

ericpanorel avatar ericpanorel commented on May 18, 2024

After further debugging, I'm afraid this issue might be caused by activity/fragment life cycle management. I update my markers upon receiving them from a LocalBroadcastReceiver. The problem becomes easily reproducible, when I rotate the screen too many times while attempting to zoom out/in in between the rotation - in the zoom range that a lot of markers are visible. In my app, the rotation of the screen, initiates a call to a service, then registers a local broadcast receiver... The onReceive method, updates the map... I caught at one point, the even the getActivity() returns null when the onReceive gets called....

from android-maps-utils.

stale avatar stale commented on May 18, 2024

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

from android-maps-utils.

stale avatar stale commented on May 18, 2024

Closing this. Please reopen if you believe it should be addressed. Thank you for your contribution.

from android-maps-utils.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.