summaryrefslogtreecommitdiff
path: root/src/mbgl/map/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/map/map.cpp')
-rw-r--r--src/mbgl/map/map.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp
index 556038d2d8..0d2aa421f6 100644
--- a/src/mbgl/map/map.cpp
+++ b/src/mbgl/map/map.cpp
@@ -307,28 +307,6 @@ double Map::getMaxZoom() const {
return impl->transform.getState().getMaxZoom();
}
-void Map::setMinPitch(double minPitch) {
- impl->transform.setMinPitch(minPitch * util::DEG2RAD);
- if (impl->transform.getPitch() < minPitch) {
- jumpTo(CameraOptions().withPitch(minPitch));
- }
-}
-
-double Map::getMinPitch() const {
- return impl->transform.getState().getMinPitch() * util::RAD2DEG;
-}
-
-void Map::setMaxPitch(double maxPitch) {
- impl->transform.setMaxPitch(maxPitch * util::DEG2RAD);
- if (impl->transform.getPitch() > maxPitch) {
- jumpTo(CameraOptions().withPitch(maxPitch));
- }
-}
-
-double Map::getMaxPitch() const {
- return impl->transform.getState().getMaxPitch() * util::RAD2DEG;
-}
-
#pragma mark - Size
void Map::setSize(const Size size) {