#include <MapProvider.h>
|
| | MapProvider (const QString &mapName, const QString &referrer, const QString &imageFormat, quint32 averageSize=QGC_AVERAGE_TILE_SIZE, QGeoMapType::MapStyle mapStyle=QGeoMapType::CustomMap) |
| |
| virtual | ~MapProvider () |
| |
| QUrl | getTileURL (int x, int y, int zoom) const |
| |
| QString | getImageFormat (QByteArrayView image) const |
| |
| quint32 | getAverageSize () const |
| |
| QGeoMapType::MapStyle | getMapStyle () const |
| |
| const QString & | getMapName () const |
| |
| int | getMapId () const |
| |
| const QString & | getReferrer () const |
| |
| virtual QByteArray | getToken () const |
| |
| virtual int | long2tileX (double lon, int z) const |
| |
| virtual int | lat2tileY (double lat, int z) const |
| |
| virtual double | tileX2long (int x, int z) const |
| |
| virtual double | tileY2lat (int y, int z) const |
| |
| virtual bool | isElevationProvider () const |
| |
| virtual bool | isBingProvider () const |
| |
| virtual QGCTileSet | getTileCount (int zoom, double topleftLon, double topleftLat, double bottomRightLon, double bottomRightLat) const |
| |
Definition at line 32 of file MapProvider.h.
◆ MapProvider()
| MapProvider::MapProvider |
( |
const QString & |
mapName, |
|
|
const QString & |
referrer, |
|
|
const QString & |
imageFormat, |
|
|
quint32 |
averageSize = QGC_AVERAGE_TILE_SIZE, |
|
|
QGeoMapType::MapStyle |
mapStyle = QGeoMapType::CustomMap |
|
) |
| |
◆ ~MapProvider()
| MapProvider::~MapProvider |
( |
| ) |
|
|
virtual |
◆ _getServerNum()
| int MapProvider::_getServerNum |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
max |
|
) |
| const |
|
protected |
◆ _getURL()
| virtual QString MapProvider::_getURL |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
zoom |
|
) |
| const |
|
protectedpure virtual |
◆ _tileXYToQuadKey()
| QString MapProvider::_tileXYToQuadKey |
( |
int |
tileX, |
|
|
int |
tileY, |
|
|
int |
levelOfDetail |
|
) |
| const |
|
protected |
◆ getAverageSize()
| quint32 MapProvider::getAverageSize |
( |
| ) |
const |
|
inline |
◆ getImageFormat()
| QString MapProvider::getImageFormat |
( |
QByteArrayView |
image | ) |
const |
◆ getMapId()
| int MapProvider::getMapId |
( |
| ) |
const |
|
inline |
◆ getMapName()
| const QString & MapProvider::getMapName |
( |
| ) |
const |
|
inline |
◆ getMapStyle()
| QGeoMapType::MapStyle MapProvider::getMapStyle |
( |
| ) |
const |
|
inline |
◆ getReferrer()
| const QString & MapProvider::getReferrer |
( |
| ) |
const |
|
inline |
◆ getTileCount()
| QGCTileSet MapProvider::getTileCount |
( |
int |
zoom, |
|
|
double |
topleftLon, |
|
|
double |
topleftLat, |
|
|
double |
bottomRightLon, |
|
|
double |
bottomRightLat |
|
) |
| const |
|
virtual |
◆ getTileURL()
| QUrl MapProvider::getTileURL |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
zoom |
|
) |
| const |
◆ getToken()
| virtual QByteArray MapProvider::getToken |
( |
| ) |
const |
|
inlinevirtual |
◆ isBingProvider()
| virtual bool MapProvider::isBingProvider |
( |
| ) |
const |
|
inlinevirtual |
◆ isElevationProvider()
| virtual bool MapProvider::isElevationProvider |
( |
| ) |
const |
|
inlinevirtual |
◆ lat2tileY()
| int MapProvider::lat2tileY |
( |
double |
lat, |
|
|
int |
z |
|
) |
| const |
|
virtual |
◆ long2tileX()
| int MapProvider::long2tileX |
( |
double |
lon, |
|
|
int |
z |
|
) |
| const |
|
virtual |
◆ tileX2long()
| double MapProvider::tileX2long |
( |
int |
x, |
|
|
int |
z |
|
) |
| const |
|
virtual |
◆ tileY2lat()
| double MapProvider::tileY2lat |
( |
int |
y, |
|
|
int |
z |
|
) |
| const |
|
virtual |
◆ _averageSize
| const quint32 MapProvider::_averageSize |
|
protected |
◆ _imageFormat
| const QString MapProvider::_imageFormat |
|
protected |
◆ _language
| const QString MapProvider::_language |
|
protected |
◆ _mapId
| const int MapProvider::_mapId |
|
protected |
◆ _mapName
| const QString MapProvider::_mapName |
|
protected |
◆ _mapStyle
| const QGeoMapType::MapStyle MapProvider::_mapStyle |
|
protected |
◆ _referrer
| const QString MapProvider::_referrer |
|
protected |
The documentation for this class was generated from the following files: