jawj / OverlappingMarkerSpiderfier

Deals with overlapping markers in Google Maps JS API v3, Google Earth-style
http://blog.mackerron.com
836 stars 238 forks source link

Line representing the spiderfied marker not updated on marker movement #165

Closed haider-ali closed 2 years ago

haider-ali commented 5 years ago

I am using firebase to get tracking information and update the marker location but when marker that is spiderfied changes its location marker is updated but the line doesn't

wwwizzarrdry commented 2 years ago

Isn't this mentioned in the docs? I think you need to call Unspiderify and then Spiderify again when you make changes to the underlying OMS.

jawj commented 2 years ago

Not sure it is mentioned in the docs, but yes, I think if you're changing marker locations you may have to unspiderfy first.