57 static void updateUriSources( QString &uri
SIP_INOUT,
bool forceUpdate =
false );
60 static void sortTilesByDistanceFromCenter( QVector<QgsTileXYZ> &tiles, QPointF center );
70 static QgsFields makeQgisFields(
const QSet<QString> &flds );
80 static double scaleToZoom(
double mapScale,
double z0Scale = 559082264.0287178 );
88 static int scaleToZoomLevel(
double mapScale,
int sourceMinZoom,
int sourceMaxZoom,
double z0Scale = 559082264.0287178 );
94 static bool checkXYZUrlTemplate(
const QString &url );
106 static QMap<QString, QString> parseStyleSourceUrl(
const QString &styleUrl,
const QgsHttpHeaders &headers =
QgsHttpHeaders(),
const QString &authCfg = QString() );
109 static QVariantList parseStyleSourceContentUrl(
const QString &sourceUrl,
const QgsHttpHeaders &headers =
QgsHttpHeaders(),
const QString &authCfg = QString() );
111 friend class TestQgsVectorTileUtils;
Context for a MapBox GL style conversion operation.