diff options
Diffstat (limited to 'src/mbgl')
-rw-r--r-- | src/mbgl/map/map.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp index c3e5edc688..d7a1020262 100644 --- a/src/mbgl/map/map.cpp +++ b/src/mbgl/map/map.cpp @@ -369,26 +369,6 @@ void Map::rotateBy(const ScreenCoordinate& first, const ScreenCoordinate& second impl->onUpdate(); } -void Map::setBearing(double degrees, const AnimationOptions& animation) { - easeTo(CameraOptions().withAngle(degrees), animation); -} - -void Map::setBearing(double degrees, optional<ScreenCoordinate> anchor, const AnimationOptions& animation) { - return easeTo(CameraOptions().withAngle(degrees).withAnchor(anchor), animation); -} - -void Map::setBearing(double degrees, const EdgeInsets& padding, const AnimationOptions& animation) { - easeTo(CameraOptions().withAngle(degrees).withPadding(padding), animation); -} - -double Map::getBearing() const { - return -impl->transform.getAngle() * util::RAD2DEG; -} - -void Map::resetNorth(const AnimationOptions& animation) { - easeTo(CameraOptions().withAngle(0.0), animation); -} - #pragma mark - North Orientation void Map::setNorthOrientation(NorthOrientation orientation) { |