diff options
-rw-r--r-- | src/mbgl/map/transform_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/map/transform_state.cpp b/src/mbgl/map/transform_state.cpp index 23264ff274..59ae129518 100644 --- a/src/mbgl/map/transform_state.cpp +++ b/src/mbgl/map/transform_state.cpp @@ -199,7 +199,7 @@ bool TransformState::isGestureInProgress() const { #pragma mark - Projection double TransformState::zoomScale(double zoom) const { - return std::pow(2.0f, zoom); + return std::pow(2.0, zoom); } double TransformState::scaleZoom(double s) const { |