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

[core] calling flyTo with 0 duration does not call transitionFinishFn #15471

@julianrex

Description

@julianrex

If you call mbgl::Map::flyTo with a zero duration, then it shortcuts to jumpTo and then easeTo with default (empty) AnimationOptions, meaning that the AnimationOptions.transitionFinishFn will not get called.

The transitionFinishFn should be passed through to easeTo.

(On iOS this results in any passed completion handler not being called).

Tested in ios-v5.3.0-beta.1 (detected during testing of #15122)

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoreThe cross-platform C++ core, aka mbglbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions