5#include <QtCore/QObject>
6#include <QtCore/QByteArrayView>
7#include <QtCore/QStringView>
15 static QString
getImageFormat(QStringView type, QByteArrayView image);
18 static QUrl
getTileURL(QStringView type,
int x,
int y,
int zoom);
19 static QUrl
getTileURL(
int qtMapId,
int x,
int y,
int zoom);
25 static int long2tileX(QStringView mapType,
double lon,
int z);
26 static int lat2tileY(QStringView mapType,
double lat,
int z);
29 double bottomRightLon,
double bottomRightLat,
32 static const QList<std::shared_ptr<const MapProvider>>&
getProviders() {
return _providers; }
43 static QString
getTileHash(QStringView type,
int x,
int y,
int z);
46 static const QList<std::shared_ptr<const MapProvider>> _providers;
std::shared_ptr< const ElevationProvider > SharedElevationProvider
std::shared_ptr< const MapProvider > SharedMapProvider
static QUrl getTileURL(QStringView type, int x, int y, int zoom)
static QString getTileHash(QStringView type, int x, int y, int z)
static QStringList getProviderTypes()
static QGCTileSet getTileCount(int zoom, double topleftLon, double topleftLat, double bottomRightLon, double bottomRightLat, QStringView mapType)
static bool isElevation(int qtMapId)
static QString getProviderTypeFromQtMapId(int qtMapId)
static const QList< std::shared_ptr< const MapProvider > > & getProviders()
static QString getImageFormat(QStringView type, QByteArrayView image)
static int lat2tileY(QStringView mapType, double lat, int z)
static QStringList getElevationProviderTypes()
static int hashFromProviderType(QStringView type)
static QString tileHashToType(QStringView tileHash)
static int long2tileX(QStringView mapType, double lon, int z)
static QString providerTypeFromHash(int hash)
static quint32 averageSizeForType(QStringView type)
static int getQtMapIdFromProviderType(QStringView type)
static std::shared_ptr< const MapProvider > getMapProviderFromProviderType(QStringView type)
static std::shared_ptr< const MapProvider > getMapProviderFromQtMapId(int qtMapId)