Comments (2)
Hi,
I think it should work without particular issue.
If it is not the case, then please provide an MCVE (e.g. using Leaflet Playground, Plunker, JSFiddle, etc.) so that it is possible to investigate.
from leaflet.markercluster.layersupport.
Hi,
mm indeed it looks like only when directly adding a Layer Group into the MCG (with Layer Support) makes use of the chunkedLoading
option.
https://jsfiddle.net/3v7hd2vx/297/
Adding / removing the Layer Group directly to / from the map uses individual layers addition / removal, which is much more computation intensive, and bypasses the chunkedLoading
.
Therefore it looks like we should add more methods override to proxy Layer Groups, to make sure that we do not let their child single marker being added to MCG, but to call directly addLayers
.
In the meantime, it looks like my other plugin Leaflet.FeatureGroup.SubGroup works as expected:
https://jsfiddle.net/3v7hd2vx/296/
from leaflet.markercluster.layersupport.
Related Issues (20)
- Moving a marker throws an error and marker disappears HOT 3
- getBounds() doesn't return valid object HOT 6
- layersupport + freezable HOT 2
- checkOut throws error
- Leaflet Tag Filter Button and LayerSupport Plugins HOT 1
- How can I use this plugin in Angualr 2+? HOT 2
- Improve example.html files HOT 5
- Working with JSON data and Pie Chart HOT 1
- Can it be used without internet HOT 1
- Overlapping MarkerCluster popups? HOT 2
- Problem with passing options to MakerCluster HOT 2
- Change in element leaflet-control-layers-overlays HOT 2
- In mobile browsers, markers disappear HOT 1
- leaflet marker cluster HOT 3
- Red circle? (combination with Leaflet.search plugin) HOT 5
- Slider cluster with dynamic php data HOT 5
- The first demo popup unable to open HOT 5
- Simplify UMD wrapper like L.FeatureGroup.SubGroup HOT 1
- help with layersupport/leaflet slider HOT 2
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.layersupport.