Comments (5)
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.
@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.
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.
@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.
Would also like this feature, is it possible to achieve this behavior in some other way?
from leaflet.markercluster.
Related Issues (20)
- Provide function to generate icon HOT 2
- tooltipAnchor option on icons create by iconCreateFunction is ignored
- Prevent spiderfy from closing on position changes HOT 2
- Leverage WebWorker for clustering HOT 1
- Examples don't work leaflet.markercluster-src.js missing in dist folder HOT 1
- Marker disappears from parent layer after setting marker new coordinates
- Uncaught (in promise) TypeError: L.MarkerClusterGroup is not a constructor at L.markerClusterGroup (MarkerClusterGroup.js:1397:9) HOT 1
- Not able to see cluster circle in offline mode
- Why aren't there any new releases published or built since 2021?
- Popup don't open manually if 2 marks have the exact coordinates HOT 2
- setLatLng adds marker back to map when hidden using LayerControl
- New release/tag with dist JavaScript files? HOT 2
- Spiderfy the cluster only on max zoom
- First marker is duplicated HOT 2
- Marker Cluster is overlapping circleMarker() HOT 1
- Cancel cluster expansion event HOT 5
- Hey
- How to use the latest version as a node module? HOT 1
- disable grouping
- Accessibility Issue: Cluster Markers do not allow title / alt to be set
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leaflet.markercluster.