view.fit with duration no longer works
See original GitHub issueDescribe the bug
Using view.fit
with a duration greater than 0 does not always work. It was previously working on version 5.x but does not work on 6.3.1.
To Reproduce
view.fit([-1000,-1000,1000,1000], { duration: 500 })
// or use the default of 1000
view.fit([-1000,-1000,1000,1000])
When it does work, updateAnimations_
in src/View.js gets called repeatedly. When it doesn’t work, updateAnimations_
only gets called one time.
Expected behavior the viewport pans/zooms to the extent
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Openlayers on view fit animation ends - Stack Overflow
As you see, there is an animation setting there: duration:1000 . What I need is to call a function after fit ends (after...
Read more >Openlayers-6 .fit(extent, {options}) not working with options
I have upgrade openlayers in IONIC V3 app from 4.6.5 to 6.1.0. Now map.getView().fit(extent, {duration:1000}) stop working, when i remove the ...
Read more >Unable to Edit Duration, Calorie or Distance values in google ...
Unable to Edit Duration, Calorie or Distance values in google fit anymore. And the tracking doesn't. Fit is unable to track activities correctly...
Read more >The duration or work value changed when I assigned a resource
The duration, work, and resource assignments for a task are interlinked. When you assign resources to a task, Project calculates how long the...
Read more >About watchOS 9 Updates - Apple Support
watchOS 9 brings great new ways to keep you active, healthy, and connected with Apple Watch. You have more ways to train and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jahow, can you take a look at this please?
Can you please share a runnable, minimal example that exposes the issue?