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.

Snapshotter scales incorrectly #10089

@1ec5

Description

@1ec5

If I create an MGLMapSnapshotOptions object with size set to 456×480 on a 2× display, MGLMapSnapshotter produces an image 1,824 pixels wide by 1,920 pixels tall, which is what I would expect on a 4× display if MGLMapSnapshotOptions.size were measured in points (#10088). As the property is currently documented, however, a size of 456×480 should result in a 456×480-pixel image regardless of the screen resolution.

/ref #10020 (comment)
/cc @fabian-guerra @frederoni

Metadata

Metadata

Assignees

No one assigned

    Labels

    MapKit parityFor feature parity with MapKit on iOS or macOSbeta blockerBlocks the next beta releasebugiOSMapbox Maps SDK for iOSmacOSMapbox Maps SDK for macOS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions