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 );
62 static QgsFields makeQgisFields( QSet<QString> flds );
69 static double scaleToZoom(
double mapScale );
72 static int scaleToZoomLevel(
double mapScale,
int sourceMinZoom,
int sourceMaxZoom );
78 static bool checkXYZUrlTemplate(
const QString &url );
Container of fields for a vector layer.
Perform transforms between map coordinates and device coordinates.
A rectangle specified with double values.
Defines a matrix of tiles for a single zoom level: it is defined by its size (width *.
Range of tiles in a tile matrix to be rendered.
Stores coordinates of a tile in a tile matrix set.
Represents a vector layer which manages a vector based data sets.
Implements a map layer that is dedicated to rendering of vector tiles.
Random utility functions for working with vector tiles.