This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Snapshotter scales incorrectly #10089
Labels
beta blocker
Blocks the next beta release
bug
iOS
Mapbox Maps SDK for iOS
macOS
Mapbox Maps SDK for macOS
MapKit parity
For feature parity with MapKit on iOS or macOS
Milestone
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 ifMGLMapSnapshotOptions.size
were measured in points (#10088). As the property is currently documented, however, asize
of 456×480 should result in a 456×480-pixel image regardless of the screen resolution./ref #10020 (comment)
/cc @fabian-guerra @frederoni
The text was updated successfully, but these errors were encountered: