diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/darwin/src/MGLMapSnapshotter.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLMapSnapshotter.mm b/platform/darwin/src/MGLMapSnapshotter.mm index 15a8f6c8ca..8b4ae7977b 100644 --- a/platform/darwin/src/MGLMapSnapshotter.mm +++ b/platform/darwin/src/MGLMapSnapshotter.mm @@ -76,7 +76,7 @@ const CGFloat MGLSnapshotterMinimumPixelSize = 64; - (CGPoint)pointForCoordinate:(CLLocationCoordinate2D)coordinate { mbgl::ScreenCoordinate sc = _pointForFn(MGLLatLngFromLocationCoordinate2D(coordinate)); - return CGPointMake(sc.x * self.scale, sc.y * self.scale); + return CGPointMake(sc.x, sc.y); } @end |