QGIS API Documentation  3.27.0-Master (0e23467727)
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"
22 #include "qgstiles.h"
23 
24 class QgsTileMatrix;
25 
31 class CORE_EXPORT QgsVectorTileMatrixSet : public QgsTileMatrixSet
32 {
33  public:
34 
38  static QgsVectorTileMatrixSet fromWebMercator( int minimumZoom = 0, int maximumZoom = 14 );
39 
45  bool fromEsriJson( const QVariantMap &json );
46 
47 };
48 
49 #endif // QGSVECTORTILEMATRIXSET_H
Defines a set of tile matrices for multiple zoom levels.
Definition: qgstiles.h:224
Defines a matrix of tiles for a single zoom level: it is defined by its size (width *.
Definition: qgstiles.h:108
Encapsulates properties of a vector tile matrix set, including tile origins and scaling information.