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

Map performance improvements #22

Open
almccon opened this issue Feb 20, 2017 · 0 comments
Open

Map performance improvements #22

almccon opened this issue Feb 20, 2017 · 0 comments

Comments

@almccon
Copy link
Member

almccon commented Feb 20, 2017

We can improve the map performance in a few ways:

  1. reduce the amount of data by filtering according to the viewport (see Change data loading behavior #18). This only helps when we're zoomed in on the map. If you are viewing the whole city, you still need to load all the buildings.

  2. Use clustering (via the Leaflet plug-in, presumably) to reduce the number of features we render on the map, even though we still would load all the buildings from the server.

  3. Switch the map library to a GL map (Tangram or MapboxGL). Either of those should handle 20K points just fine. My main concern with that approach would be to check what browsers we need to support, and how well they handle GL.

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