QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
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
37 static QgsVectorTileMatrixSet fromWebMercator( int minimumZoom = 0, int maximumZoom = 14 );
38
46 bool fromEsriJson( const QVariantMap &json, const QVariantMap &rootTileMap = QVariantMap() );
47
48};
49
50#endif // QGSVECTORTILEMATRIXSET_H
Defines a set of tile matrices for multiple zoom levels.
Definition: qgstiles.h:250
Defines a matrix of tiles for a single zoom level: it is defined by its size (width *.
Definition: qgstiles.h:134
Encapsulates properties of a vector tile matrix set, including tile origins and scaling information.