Set Default MaxZoom to 22
This commit is contained in:
@@ -38,7 +38,7 @@ void RenderAnnotationSource::update(Immutable<style::Source::Impl> baseImpl_,
|
||||
parameters,
|
||||
SourceType::Annotations,
|
||||
util::tileSize,
|
||||
{ 0, 22 },
|
||||
{ 0, util::DEFAULT_MAX_ZOOM },
|
||||
[&] (const OverscaledTileID& tileID) {
|
||||
return std::make_unique<AnnotationTile>(tileID, parameters);
|
||||
});
|
||||
|
||||
@@ -96,7 +96,7 @@ private:
|
||||
|
||||
// Limit the amount of zooming possible on the map.
|
||||
double min_scale = std::pow(2, 0);
|
||||
double max_scale = std::pow(2, 20);
|
||||
double max_scale = std::pow(2, util::DEFAULT_MAX_ZOOM);
|
||||
double min_pitch = 0.0;
|
||||
double max_pitch = util::PITCH_MAX;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user