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

Initial geojson load is tough on browsers #14

Open
crccheck opened this issue Apr 13, 2015 · 2 comments
Open

Initial geojson load is tough on browsers #14

crccheck opened this issue Apr 13, 2015 · 2 comments

Comments

@crccheck
Copy link
Member

crccheck commented Apr 13, 2015

The site isn't responsive. look into profiling and optimizing those loops. As a last resort, break the geojson up and add it in batches.

Things to research:

crccheck added a commit that referenced this issue May 4, 2015
Kicks a few thousand markers, so helps with GH #14
@crccheck
Copy link
Member Author

crccheck commented Jul 7, 2020

I could split it by zip code, but then I'd have to figure out how to get the map to load by zip code. Maybe there's a way to export "tiles"

@crccheck
Copy link
Member Author

one option is https://github.com/mapbox/geojson-vt but it competes with my markerCluster stuff and integrating it w/ Leaflet isn't obvious

another option is to try web workers to run things in the background

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant