-
Notifications
You must be signed in to change notification settings - Fork 15
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
Upgrade OpenLayers to v9 #868
Conversation
The last commit only upgraded to v8.
The old code removed and added all annotations again at all times. A change is only required if annotations are de-/selected in the sidebar.
This is no longer required with the new method of video rendering.
@dlangenk @lehecht Could you please check out this branch and try to break the image/video annotation tools when you have time? After checking out the branch you have to run |
I found a bug, which wasn't there before (at least I can reproduce it at biigle.de) [Should we post them here?]
|
I also get a warning in the console: No map visible because the map container's width or height are 0. |
That is everything I found. So great work🎉 |
This is an attempt to upgrade OpenLayers from v5 to the current v9. It may offer better performance and new features.
Plan:
@biigle/ol
to core@biigle/ol
to core@biigle/ol
that is based on v9).@biigle/ol:v9.2.4
.@biigle/ol
in:Known issues:
selectedAnnotations
watcher necessary or does it double the work?Layer#getFeatures(pixel)
introduced in v6.1?Zooming and panning of images is sometimes (?) more janky. Fix?Static image display is flickering sometimes during zoom/pan. Fix?throttle()
.source.change()
instead oflayer.change()
so no render listener is required any more.The video annotation tool shows a strange artifact at the bottom of the video.selectedAnnotations
watcher necessary or does it double the work?