Skip to content

flyTo and untilPanOrZoom combination breaks following #314

@Sp3EdeR

Description

@Sp3EdeR

When the options contains flyTo: true, setView: 'untilPanOrZoom', the code self-cancels following instantly in the following call stack:

_onZoom
fire
_moveStart
flyTo
setView

I think that _moveStart should not fire the 'zoomstart' event when it is caused by flyTo or _onZoom should ignore the event while the zoom happens due to flyTo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions