Is it possible to perform clustering based on administrative boundary using the leaflet.markercluster plugin? How would I do that?

I already have the boundary layer.

  • 1
    While I'm not sure if this is technically feasible, either, another possibility would be to cluster by an attribute (like Admin boundary name as an attribute of the point). Great idea, though. – RyanDalton Apr 7 '14 at 0:41
  • what parameter we use when clustering using marker clusterer plugin? is it distance or what? thank you – Dea Venditama Apr 7 '14 at 2:55
  • Distance is used to cluster the markers. See "maxClusterRadius" in the documentation. – RyanDalton Apr 7 '14 at 15:46
  • 1
    Here is a customized "markercluster pie charts" plugin that supports pie charts showing "edges" by type of event. This may give you some ideas. – RyanDalton Apr 7 '14 at 15:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.