Skip to main content

All Questions

2 votes
1 answer
1k views

How to fill the color of a cluster with the colors of inside markers?

On a custom leaflet map, I am trying to build a function to fill the background color of a cluster icon from the color of the markers that are inside the cluster. For example, if a cluster has 7 green ...
blogob's user avatar
  • 510
4 votes
1 answer
1k views

Avoid overlapping markers in leaflet

The behavior that I am looking for is to avoid the overlap of markers, that is, if I have two markers in the same coordinates, the desired behavior will be to separate them so I can see both markers ...
Nendil's user avatar
  • 85
0 votes
1 answer
237 views

How to add a markercluster to Mapbox StoreLocator Template

i tried different ways to synchronize the cluster with the store locator. It is easy to add the cluster, but than i have some problems with the list on the left side. My problem is, that i am not ...
Max Wayne's user avatar
0 votes
2 answers
908 views

PruneCluster and React.js

Some used them together? Maybe there is a component for the PruneCluster? It will be great to see some examples/tutorials....
none's user avatar
  • 1,719
1 vote
2 answers
3k views

Marker cluster leaflet : dynamically modify icon

I'm using Leaflet and the marker cluster plugin and I want to dynamically modify the icon of the cluster from which child is inside. First I create my clusterGroups then I add some markers. I create ...
Bameza's user avatar
  • 207
3 votes
1 answer
3k views

Marker Cluster - Leaflet - Can't get it working

So I am wanting to incorporate Marker Cluster into my map (obviously), however I am having a few issues. Note: I am doing this within a project and didn't write the code for the map itself, but I ...
Nomm's user avatar
  • 49
0 votes
1 answer
2k views

How to use Leaflet cluster plugin

I downloaded the dist dir from leaflet at Girhub made a site on IIS so that I can reference it but I can not even follow the examples on the demo page. I'm using asp.net to build my site and have the ...
fifamaniac04's user avatar
  • 2,373