angular-leaflet-directive
angular-leaflet-directive copied to clipboard
Modify markercluster options
Hello
I use the markercluster.js plug-in and I want to modify some of its default options. In particular, I would like to dynamically change the 'disableClusteringAtZoom'.
In leaflet, it is done like this: var markers = L.markerClusterGroup({ disableClusteringAtZoom: 17 }); But I'm not sure how to do it in angular-leaflet-directive.
Thanks JoceM
look at the answer to this: http://stackoverflow.com/questions/25557220/how-to-customize-markercluster-icon-when-using-angular-leaflet-directive
Thanks ziclevy,
How can we do it in maps without layers
https://tombatossals.github.io/angular-leaflet-directive/examples/0509-markers-clustering-without-overlays-example.html
Any help appreciated?