iconCreateFunction does NOT work when adding Markers with leafletProxy
https://stackoverflow.com/questions/43483696/iconcreatefunction-does-not-work-when-adding-markers-with-leafletproxy
anybody knows a work-around for this? Facing the same issue.
For your knowledge. This seems to be in need for further clarification / how-to. Thanks! https://stackoverflow.com/questions/47922951/does-markercluster-work-together-with-leafletproxy-and-option-iconcreatefuncti
+1 also faced with this issue
I wanted to control the iconCreateFunction to remove the colour coding from markers, so instead of green/yellow/orange, they were all grey.
I found I could achieve this CSS:
.marker-cluster {
background-color: rgba(12, 12, 12, 0.7) !important;
color: black;
}
.marker-cluster div {
background-color: rgba(255, 255, 255, 0.85) !important;
color: black;
}
This is for styling only, but may help some people. I'd prefer to have more control over the function still.
Please update us on this.
Duplicate of #420