diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-07-02 21:18:56 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-07-18 14:20:55 +0300 |
commit | 146967f18d12687c959ab011ac0b35ed4a1ad218 (patch) | |
tree | 02d4ecb25d57486301a912285266d3f546599b4c /platform/darwin/src/MGLMapSnapshotter.mm | |
parent | 7f42517ed0deefaba269f63c148f733891db7879 (diff) | |
download | qtlocation-mapboxgl-146967f18d12687c959ab011ac0b35ed4a1ad218.tar.gz |
[core] Transform s/angle/bearing/
Diffstat (limited to 'platform/darwin/src/MGLMapSnapshotter.mm')
-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 d9d16cc5be..76e2fd7768 100644 --- a/platform/darwin/src/MGLMapSnapshotter.mm +++ b/platform/darwin/src/MGLMapSnapshotter.mm @@ -493,7 +493,7 @@ const CGFloat MGLSnapshotterMinimumPixelSize = 64; if (CLLocationCoordinate2DIsValid(options.camera.centerCoordinate)) { cameraOptions.center = MGLLatLngFromLocationCoordinate2D(options.camera.centerCoordinate); } - cameraOptions.angle = MAX(0, options.camera.heading) * mbgl::util::DEG2RAD; + cameraOptions.bearing = MAX(0, options.camera.heading) * mbgl::util::DEG2RAD; cameraOptions.zoom = MAX(0, options.zoomLevel); cameraOptions.pitch = MAX(0, options.camera.pitch); |