Added correct maxzoom default value

This commit is contained in:
Martin Tůma 2019-10-02 23:19:49 +02:00
parent e00c8feab6
commit 5b6a222999
2 changed files with 2 additions and 2 deletions

View File

@ -437,7 +437,7 @@ Text::RotationAlignment Style::Layer::Layout::textRotationAlignment(int zoom)
}
Style::Layer::Layer(const QJsonObject &json)
: _type(Unknown), _minZoom(0), _maxZoom(22)
: _type(Unknown), _minZoom(0), _maxZoom(24)
{
// type
QString type(json["type"].toString());

View File

@ -35,7 +35,7 @@ public:
private:
class Layer {
public:
Layer() : _type(Unknown), _minZoom(0), _maxZoom(22) {}
Layer() : _type(Unknown), _minZoom(0), _maxZoom(24) {}
Layer(const QJsonObject &json);
const QString &sourceLayer() const {return _sourceLayer;}