Coder Social home page Coder Social logo

Comments (5)

ghoffa avatar ghoffa commented on September 13, 2024

My two cents for what its worth,

Interesting feature but I'm not sure I would use in my app because ever time the map moves a lot happens. Many times the map extents are used as input parameters to a new database call which populates the map. In a worse case scenario a map move could change the way we render our markers so that the cluster in question wouldn't even be available.

from leaflet.markercluster.

stevevance avatar stevevance commented on September 13, 2024

@ghoffa Consider this: When you tap a marker to open its popup info window, the map pans if necessary to show the info window. Are the "movestart" and "moveend" events fired with this? If that happens, then it's possible to pan the map without firing the event that I presume causes your map to run some functions.

from leaflet.markercluster.

ghoffa avatar ghoffa commented on September 13, 2024

errr.... yes. @stevevance That is true. So ... I'm taking it back. The aforementioned popup behavior works nicely on my application, so I suspect this feature would too.

from leaflet.markercluster.

j-r-t avatar j-r-t commented on September 13, 2024

@danzel Basically autopan isn't it? Has this been implemented? I saw this behaviour in PruneCluster and I'm wondering if this functionality is available in markercluster? http://sintef-9012.github.io/PruneCluster/examples/realworld.50000.html

ETA: It's quite an awesome feature.

from leaflet.markercluster.

anatel avatar anatel commented on September 13, 2024

Would also like this feature, is it possible to achieve this behavior in some other way?

from leaflet.markercluster.

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.