diff options
Diffstat (limited to 'src/mbgl/map/map.cpp')
-rw-r--r-- | src/mbgl/map/map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp index 994cefa868..0d9574a299 100644 --- a/src/mbgl/map/map.cpp +++ b/src/mbgl/map/map.cpp @@ -332,8 +332,8 @@ BoundOptions Map::getBounds() const { .withLatLngBounds(impl->transform.getState().getLatLngBounds()) .withMinZoom(impl->transform.getState().getMinZoom()) .withMaxZoom(impl->transform.getState().getMaxZoom()) - .withMinPitch(impl->transform.getState().getMinPitch()) - .withMaxPitch(impl->transform.getState().getMaxPitch()); + .withMinPitch(impl->transform.getState().getMinPitch() * util::RAD2DEG) + .withMaxPitch(impl->transform.getState().getMaxPitch() * util::RAD2DEG); } #pragma mark - Map options |