There is a plugin for Leaflet to cluster the markers.The result looks like so. Result:


If I like something to do to show clusters of circles and polygons?

For example, when you hover over a cluster it shows the ground on which he considers the number. I would like to have this mesh of polygons is always on display and she was the color of the color circle. Something in concept. Wanted result:

enter image description here

Any idea experts this system?

Is it even possible to do this?

closed as unclear what you're asking by PolyGeo Feb 6 '18 at 7:27

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Would constraining it so the mesh is a rectangular grid be acceptable? – Kirk Kuykendall Feb 5 '18 at 15:06
  • Hello Kirk! No. I am interested in the following: when you hover over the cluster - it is outlined (as shown in the pic 1). I want this cluster grid to always be displayed and cluster colors (like pic 2) – technor Feb 5 '18 at 17:23
  • Welcome to GIS SE! As a new user be sure to take the Tour to learn about our focussed Q&A format. Are you trying to do this using the plugin or code? Please use the edit button beneath your question to provide any requested clarifications. – PolyGeo Feb 6 '18 at 7:27
  • You can use markers.on('clusterclick', function (a) { map.addLayer(L.polygon(a.layer.getConvexHull())); }); github.com/Leaflet/Leaflet.markercluster/blob/master/… – NettaB Feb 8 '18 at 20:40