Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

No camera animation target interpolation for low pixel density #15072

Closed
LukasPaczos opened this issue Jul 8, 2019 · 0 comments · Fixed by #15073
Closed

No camera animation target interpolation for low pixel density #15072

LukasPaczos opened this issue Jul 8, 2019 · 0 comments · Fixed by #15073
Labels
Core The cross-platform C++ core, aka mbgl

Comments

@LukasPaczos
Copy link
Contributor

LukasPaczos commented Jul 8, 2019

ezgif com-video-to-gif (54)

The presented example uses a map 280x280px with a pixel density of 1.5.
The initial camera position is (60.1699, 24.9384), Z0.81 and the animated target is (60.220036, 24.945400), Z15.1).

The changes introduced in #9199 changed the minimum required pixel distance between start and end points to >= 1px in order to interpolate, which in scenarios of big zoom changes and low pixel density can result in animation to the previous position and then a jump to the target.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl
Projects
None yet
1 participant