diff options
Diffstat (limited to 'platform/glfw/main.cpp')
-rw-r--r-- | platform/glfw/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/glfw/main.cpp b/platform/glfw/main.cpp index 9963ca6884..c52ea92512 100644 --- a/platform/glfw/main.cpp +++ b/platform/glfw/main.cpp @@ -120,7 +120,7 @@ int main(int argc, char *argv[]) { map.jumpTo(mbgl::CameraOptions() .withCenter(mbgl::LatLng {settings.latitude, settings.longitude}) .withZoom(settings.zoom) - .withAngle(settings.bearing) + .withBearing(settings.bearing) .withPitch(settings.pitch)); map.setDebug(mbgl::MapDebugOptions(settings.debug)); @@ -178,7 +178,7 @@ int main(int argc, char *argv[]) { settings.latitude = camera.center->latitude(); settings.longitude = camera.center->longitude(); settings.zoom = *camera.zoom; - settings.bearing = *camera.angle; + settings.bearing = *camera.bearing; settings.pitch = *camera.pitch; settings.debug = mbgl::EnumType(map.getDebug()); settings.save(); |