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

Animation Enhancements #3473

Closed
Benjaki2 opened this issue Apr 22, 2021 · 2 comments
Closed

Animation Enhancements #3473

Benjaki2 opened this issue Apr 22, 2021 · 2 comments
Assignees
Milestone

Comments

@Benjaki2
Copy link
Collaborator

Benjaki2 commented Apr 22, 2021

What existing feature could be improved?
Animation

Describe the improvement you'd like
Make animations preload and run smoother than they currently do. Currently animation pauses frequently to preload imagery.

  • Requests for map tiles should not be made for dates that a layer is inactive, during preload or otherwise
  • Pending requests for tile to cache should be cancelled if animation is stopped
  • Certain controls should be disabled while playing (speed, date range, etc)
  • The buffer/cache size could be increased in an attempt to prevent stuttering
    • Do some math (based on the time it took to request the first few images and the number of total images) to estimate how many images we need to preload (before starting the animation) in order to animate smoothly.
  • There should be a maximum, or at least a maximum recommended number of frames allowed for an animation. Trying to play an excessive number of frames is usually the cause of stuttering.
    • For example, the RAMMB SLIDER animation tool allows at most 60 frames, and only allows two layers (1x base layer, 1x overlay)
@jasontk19
Copy link
Collaborator

Description updated based on discussions so far.

@minniewong
Copy link
Contributor

Moved to WV-1942

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

3 participants