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

Top Marker Does Not Stay Spiderfied on Click #147

Open MaxEllis39 opened 6 years ago

MaxEllis39 commented 6 years ago

Hi

Sorry first time here so I hope I am doing this correctly

I cant seem to find the answer to my problem anywhere. Or I am missing something very simple.

This is a problem with the top marker in a group not behaving like the rest when spiderfied.

Everything works fine with stay spiderfied set to true, except with the top marker in the group.

When spiderfied instead of displaying the infoWindow when clicked, it closes the spidered group without displaying the infoWindow

All the other markers work fine and display the infoWindow correctly.

I am using custom markers - square with a small pointer and photograph inside.

Strangely if I hover over the top marker and right click the mouse then click the marker it works correctly staying spiderfied and I can click on the others too.

Hoping that my explanation above makes sense and may prompt for a straightforward solution.

Thanks for your time

Max