QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
vectortile
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
23
class
QgsTileMatrix
;
24
30
class
CORE_EXPORT
QgsVectorTileMatrixSet
:
public
QgsTileMatrixSet
31
{
32
public
:
36
static
QgsVectorTileMatrixSet
fromWebMercator
(
int
minimumZoom
= 0,
int
maximumZoom
= 14 );
37
45
bool
fromEsriJson
(
const
QVariantMap &json,
const
QVariantMap &rootTileMap = QVariantMap() );
46
};
47
48
#endif
// QGSVECTORTILEMATRIXSET_H
QgsTileMatrixSet::minimumZoom
int minimumZoom() const
Returns the minimum zoom level for tiles present in the set.
Definition
qgstiles.cpp:194
QgsTileMatrixSet::maximumZoom
int maximumZoom() const
Returns the maximum zoom level for tiles present in the set.
Definition
qgstiles.cpp:205
QgsTileMatrixSet::QgsTileMatrixSet
QgsTileMatrixSet()
Definition
qgstiles.cpp:147
QgsTileMatrix
Defines a matrix of tiles for a single zoom level: it is defined by its size (width *.
Definition
qgstiles.h:171
QgsVectorTileMatrixSet
Encapsulates properties of a vector tile matrix set, including tile origins and scaling information.
Definition
qgsvectortilematrixset.h:31
QgsVectorTileMatrixSet::fromEsriJson
bool fromEsriJson(const QVariantMap &json, const QVariantMap &rootTileMap=QVariantMap())
Initializes the tile structure settings from an ESRI REST VectorTileService json map.
Definition
qgsvectortilematrixset.cpp:34
QgsVectorTileMatrixSet::fromWebMercator
static QgsVectorTileMatrixSet fromWebMercator(int minimumZoom=0, int maximumZoom=14)
Returns a vector tile structure corresponding to the standard web mercator/GoogleCRS84Quad setup.
Definition
qgsvectortilematrixset.cpp:27
qgis_sip.h
qgstiles.h
Generated on
for QGIS API Documentation by
1.17.0