Skip to content

Conversation

@jennyphan
Copy link

Updated MarkerClusterer.md to not use the index as a key. There is an eslint rule for this
https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-array-index-key.md.

The clustering will not work properly on updates unless you use a key such as maybe the latitude + longitude. I spent a lot of time trying to figure out why the updates were not creating the clusters properly.

@JustFly1984 JustFly1984 merged commit bee9548 into JustFly1984:master Mar 25, 2020
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