mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-24 03:35:54 +01:00
Added correct maxzoom default value
This commit is contained in:
parent
e00c8feab6
commit
5b6a222999
@ -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());
|
||||
|
@ -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;}
|
||||
|
Loading…
Reference in New Issue
Block a user