QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
16 #ifndef QGSVECTORTILEUTILS_H
17 #define QGSVECTORTILEUTILS_H
19 #include "qgis_core.h"
50 static QVector<QgsTileXYZ> tilesInRange(
const QgsTileRange &range,
int zoomLevel );
52 static void sortTilesByDistanceFromCenter( QVector<QgsTileXYZ> &tiles,
const QPointF ¢er );
57 static QgsFields makeQgisFields( QSet<QString> flds );
64 static double scaleToZoom(
double mapScale );
67 static int scaleToZoomLevel(
double mapScale,
int sourceMinZoom,
int sourceMaxZoom );
73 static bool checkXYZUrlTemplate(
const QString &url );
76 #endif // QGSVECTORTILEUTILS_H
Implements a map layer that is dedicated to rendering of vector tiles.
Stores coordinates of a tile in a tile matrix set.
Range of tiles in a tile matrix to be rendered.
Container of fields for a vector layer.
A rectangle specified with double values.
Random utility functions for working with vector tiles.
Defines a matrix of tiles for a single zoom level: it is defined by its size (width * height) and map...
Perform transforms between map coordinates and device coordinates.
Represents a vector layer which manages a vector based data sets.