react-mapbox-gl icon indicating copy to clipboard operation
react-mapbox-gl copied to clipboard

Is there a way to Cluster markers only if they have same Coordinates and other same properties?

Open suyesh opened this issue 9 years ago • 5 comments

Like in this case, I have 3 markers in same coordinate so i am not being able to click. I couldn't find any doc related to click event in situation like this. what i am trying to achieve is, when there is markers in same coordinates, i want to click on the cluster display marker or anything, maybe a spider like effect

screen shot 2017-10-17 at 12 50 41 pm

suyesh avatar Oct 17 '17 16:10 suyesh

You can use onClick on clustered Marker, you can see how to do that in the demo app. For the spider effect, I think it could probably be implemented later (but only after v3 is out)

Wykks avatar Oct 17 '17 21:10 Wykks

Thank you. Thats exactly what i did and got it worked out.

suyesh avatar Oct 18 '17 14:10 suyesh

Is there any update on implementing spider effect?

SabirAmeen avatar Dec 11 '17 07:12 SabirAmeen

Not yet, I may take a look this week

Wykks avatar Dec 11 '17 09:12 Wykks

any news regarding spider effect?

yassinejebli avatar Aug 06 '18 12:08 yassinejebli