QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
qgsvectortilematrixset.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsvectortilematrixset.h
3 --------------------------------------
4 Date : March 2022
5 Copyright : (C) 2022 by Nyall Dawson
6 Email : nyall dot dawson at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSVECTORTILEMATRIXSET_H
17#define QGSVECTORTILEMATRIXSET_H
18
19#include "qgis_core.h"
20#include "qgis_sip.h"
21#include "qgstiles.h"
22
23class QgsTileMatrix;
24
30class CORE_EXPORT QgsVectorTileMatrixSet : public QgsTileMatrixSet
31{
32 public:
33
38
46 bool fromEsriJson( const QVariantMap &json, const QVariantMap &rootTileMap = QVariantMap() );
47
48};
49
50#endif // QGSVECTORTILEMATRIXSET_H
int minimumZoom() const
Returns the minimum zoom level for tiles present in the set.
Definition qgstiles.cpp:176
int maximumZoom() const
Returns the maximum zoom level for tiles present in the set.
Definition qgstiles.cpp:187
Defines a matrix of tiles for a single zoom level: it is defined by its size (width *.
Definition qgstiles.h:158
Encapsulates properties of a vector tile matrix set, including tile origins and scaling information.
bool fromEsriJson(const QVariantMap &json, const QVariantMap &rootTileMap=QVariantMap())
Initializes the tile structure settings from an ESRI REST VectorTileService json map.
static QgsVectorTileMatrixSet fromWebMercator(int minimumZoom=0, int maximumZoom=14)
Returns a vector tile structure corresponding to the standard web mercator/GoogleCRS84Quad setup.