QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
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(
QgsTileRange range,
int zoomLevel );
52 static void sortTilesByDistanceFromCenter( QVector<QgsTileXYZ> &tiles, QPointF center );
62 static QgsFields makeQgisFields(
const QSet<QString> &flds );
72 static double scaleToZoom(
double mapScale,
double z0Scale = 559082264.0287178 );
80 static int scaleToZoomLevel(
double mapScale,
int sourceMinZoom,
int sourceMaxZoom,
double z0Scale = 559082264.0287178 );
86 static bool checkXYZUrlTemplate(
const QString &url );
89 #endif // QGSVECTORTILEUTILS_H
Implements a map layer that is dedicated to rendering of vector tiles. Vector tiles compared to "ordi...
Stores coordinates of a tile in a tile matrix set. Tile matrix is identified by the zoomLevel(),...
Range of tiles in a tile matrix to be rendered. The selection is rectangular, given by start/end row ...
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 *.
Perform transforms between map coordinates and device coordinates.
Represents a vector layer which manages a vector based data sets.