Google Maps OverlappingMarkerSpiderfier custom icon

1k Views Asked by At

I'd like to ask how to solve following problem:

We have a google map with few identical markers which are then spiderified with https://github.com/jawj/OverlappingMarkerSpiderfier and we would like to change the icon for them. In other words is there a way how to detect that the marker is spiderified to distinguish single marker from the one that will spring apart after the click?

Here is the demo source: https://github.com/jawj/OverlappingMarkerSpiderfier/blob/gh-pages/demo.html

Example of 2 markers that should have different icons

Thanks

0

There are 0 best solutions below