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

Performance issues #17

Open
foobacca opened this issue Oct 20, 2014 · 0 comments
Open

Performance issues #17

foobacca opened this issue Oct 20, 2014 · 0 comments

Comments

@foobacca
Copy link
Contributor

Loading a new file takes a while. It would be good to make it faster, and also to give some indication that data is loading (so it doesn't just look like the page has frozen).

A likely way to improve performance is to remove the SVG from the DOM at the start of loading, do all the work to add the paths, gradients etc to the map, and then put it back in the DOM. This saves the browser starting to render and re-render after every change. It would also mean we then have space to put a loading GIF up instead, until the page has reloaded.

@neilgunn neilgunn added this to the hackday November 2014 milestone Nov 7, 2014
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

2 participants