-
-
Notifications
You must be signed in to change notification settings - Fork 26
Improve initialization performance for pyramids with many levels. #140
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
Conversation
katamartin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of nits, but this is looking really great! And as discussed, would probably benefit from some testing.
| maxZoom, | ||
| tileSize, | ||
| crs, | ||
| } = this.store.describe() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice ✨
katamartin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another pair of nits, but otherwise lgtm!
Co-authored-by: Kata Martin <katasm@gmail.com>
katamartin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
This removes the UI blocking
openGroupcall on initialization which would block the UI for >1 second on a 12 level pyramid and replaces it with a system for lazy loading as needed by using the consolidated metadata.Tested this with a simple 12 (0-11) level pyramid as well as the more coordinate intensive OAE pyramid.