-
-
Notifications
You must be signed in to change notification settings - Fork 932
Open
Labels
PR is more than welcomedExtra attention is neededExtra attention is neededbugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
maplibre-gl-js version 5.13.0
Firefox
Steps to Trigger Behavior
- call
map.flyTo({center:[7, 47]}); - during animation call
map.setPadding({top: 10, bottom: 10, left: 10, right: 10})
Link to Demonstration
https://jsbin.com/wimuwafafa/edit?html,output
Expected Behavior
I would expect the animation to finish and the map to be centered at [7,47] in the end.
Padding could be applied immediately or after the animation.
Actual Behavior
The animation abruptly stops. Center of the map depends on timing of the setPadding call.
Metadata
Metadata
Assignees
Labels
PR is more than welcomedExtra attention is neededExtra attention is neededbugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request