Skip to content

desktop: isCameraMoving state is not true during gestures #595

@sargunv

Description

@sargunv

What happened?

Other camera state fields work, but isCameraMoving remains false while a gesture is moving the map.

It's because each movement during a gesture is an IMMEDIATE mode movement that calls onCameraWillChange and onCameraDidChange each frame.

We should add separate callbacks for gesture start/end, and use those instead of MapObserver callbacks in immediate mode.

Affected Platforms

  • Desktop (JVM)

Metadata

Metadata

Assignees

No one assigned

    Labels

    desktopAffects Desktop in particular, or relates to Desktop specific code

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions