Skip to content

Add geometryPadding parameter for .camera Viewport #2383

@amzada

Description

@amzada

New Feature

<- Description of the feature being requested and any outcomes desired, an example use case, and any suggestions for solution ->
Similar to .overview Viewport we should have a geometryPadding parameter that applies padding to the map’s coordinate geometry. Currently, the only way to create an inset is by using the .padding modifier. The problem is that .padding shifts the entire rendered map, which—when using the Globe projection—results in the entire globe being visually offset. A dedicated geometryPadding argument would avoid this by padding only the coordinate space, not the rendered map.

Why

<- 1-2 sentence description of why you're requesting this feature. What problem does it solve? Why is it valuable? ->
This is both a feature but also a bug in the current SDK. It would enable offsetting the map without offsetting the Globe projection for when wanting to fully zoom out

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-triagedAutomatically triaged by AIfeature 🍏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