Skip to content

Commit

Permalink
Change max zoom config to allow zooming in further
Browse files Browse the repository at this point in the history
  • Loading branch information
cantunca committed Jul 20, 2022
1 parent c75b70c commit 86e6a5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/mbgl/util/constants.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ constexpr double DEGREES_MAX = 360;
constexpr double PITCH_MIN = 0.0;
constexpr double PITCH_MAX = M_PI / 3;
constexpr double MIN_ZOOM = 0.0;
constexpr double MAX_ZOOM = 25.5;
constexpr double MAX_ZOOM = 100.0;
constexpr float MIN_ZOOM_F = MIN_ZOOM;
constexpr float MAX_ZOOM_F = MAX_ZOOM;
constexpr uint8_t DEFAULT_MAX_ZOOM = 22;
constexpr uint8_t DEFAULT_MAX_ZOOM = 100;

// ONE_EM constant used to go between "em" units used in style spec and "points" used internally for layout.
constexpr float ONE_EM = 24.0f;
Expand Down

0 comments on commit 86e6a5d

Please sign in to comment.