-
Notifications
You must be signed in to change notification settings - Fork 3
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
Speed up loading of the state GEOJSON #2
Comments
Perhaps only loading the polygons of municipalities with stations, or better yet, loading only the station dots and putting a google layer below it so that people know where it is. |
I've already setted all cache configs, so I don't think that speed up the loading of municipalities will be possible. But there at least two solutions to this problem. We just need these polygons because we get the nearest station of the centroid of the municipality, and the centroid calculated at the frontend, so we can:
Any of these two options make the download of the polygons obsolete. |
Btw, these two features look relevant to me. |
I prefer the solution of precalculating the centroids and distances. On Thu, Oct 13, 2016 at 1:56 PM, Israel Teixeira [email protected]
Flávio Codeço Coelho+55(21) 3799-5551 |
Is there any way to speed up the loading of the state maps? It is excruciatingly slow!
The text was updated successfully, but these errors were encountered: