Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rerendering all markers #16

Open
nikdo opened this issue Feb 4, 2015 · 0 comments
Open

Rerendering all markers #16

nikdo opened this issue Feb 4, 2015 · 0 comments

Comments

@nikdo
Copy link

nikdo commented Feb 4, 2015

I have a simple map with many markers and possibility to select one. Clicking marker updates a controller-view state and the Map rerenders. I have a feeling that all markers are rerendered even if they didn't change. So there is no diffing mechanism like React does it with HTML, rendering only the differences. Is that correct?

It has two unfortunate consequences:

  1. Decrease of performance with growing number of markers.
  2. Flickering of markers if they overlap -- I suppose they are rendered assynchronously in slightly different order everytime. You can check that behavior on http://windfreaks.net.

Do you see any solution for these problems?

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

No branches or pull requests

1 participant