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

Using large file with + 10000 polygons #28

Open
soli004 opened this issue Jan 4, 2018 · 1 comment
Open

Using large file with + 10000 polygons #28

soli004 opened this issue Jan 4, 2018 · 1 comment

Comments

@soli004
Copy link

soli004 commented Jan 4, 2018

I tried with a + 10000 polygons geojson file (22mb) it runs thru it all but the map freeze and I can not pan. I can zoom in and out but not pan. Is there a way to be able to use it with the geojson-vt to render it faster similar to http://bl.ocks.org/sumbera/c67e5551b21c68dc8299?
Thanks

@timwis
Copy link
Owner

timwis commented Jan 4, 2018

Hm, that's a rather large file. I think you'd run into this problem with L.geojson (Leaflet's built-in geojson support) generally, not just this choropleth plugin. You may want to look into TopoJSON. In #17, it looks like @bhaskarvk may have got TopoJSON to work.

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

2 participants