Skip to content

Support zooming while setting viewport to follow puck #2361

@amzada

Description

@amzada

New Feature

<- Description of the feature being requested and any outcomes desired, an example use case, and any suggestions for solution ->

It would be great to have a way to set viewport = .followPuck and still be able to zoom in and out without panning (i.e., without changing the viewport).

Currently, whenever the zoom is adjusted, the viewport zoom resets on the next location update.

The current workaround is to:

  1. Pan the map, which changes the viewport to .camera.

  2. Adjust the zoom.

  3. Recenter to reset viewport = .followPuck.

Why

<- 1-2 sentence description of why you're requesting this feature. What problem does it solve? Why is it valuable? -> It's helpful and a nice experience for the user to be able to smoothly use the camera zoom when in .followPuck mode without having it reset every second

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature 🍏When working on a new feature or feature enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions