angular-leaflet-directive icon indicating copy to clipboard operation
angular-leaflet-directive copied to clipboard

Modify markercluster options

Open JoceM opened this issue 9 years ago • 2 comments
trafficstars

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

JoceM avatar Apr 28 '16 22:04 JoceM

look at the answer to this: http://stackoverflow.com/questions/25557220/how-to-customize-markercluster-icon-when-using-angular-leaflet-directive

zivlevy avatar May 07 '16 04:05 zivlevy

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?

SnpDeveloper avatar Jan 25 '18 16:01 SnpDeveloper