Skip to content

Add option for tracking points involved in a cluster. Useful to implement spiderfy. - #30

Closed
bewithjonam wants to merge 5 commits into
mapbox:masterfrom
bewithjonam:master
Closed

bewithjonam wants to merge 5 commits into
mapbox:masterfrom
bewithjonam:master

Conversation

@bewithjonam

Copy link
Copy Markdown

Given the property field to track by (for example name), each clusters will have an array of names of all the points involved in the cluster.

If not given, works without any tracking.

I am trying to add a basic spiderfy for clustered markers in mapbox gl (using mapboxgl.Marker on cluster click). Sample of the first draft of the spiderfy.
https://bewithjonam.github.io/mapboxgl-spiderifier/docs/sample.html

Seems support for spiderfying markers wont be there in mapboxgl for some time. Can live with this overlay spidering for time being, if we can get this out. mapbox/mapbox-gl-js#2723

@bewithjonam bewithjonam reopened this Nov 25, 2016
@mourner

mourner commented Dec 14, 2016

Copy link
Copy Markdown
Member

Closing in favor of a faster approach here: #31

@mourner mourner closed this Dec 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants