Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qgeotileproviderosm.cpp File Reference

(ee66987e6db3c842847df6bc14a2859abba3cd11)

#include "qgeotileproviderosm.h"
#include <QtCore/QJsonDocument>
#include <QtCore/QJsonObject>
#include <QDebug>
+ Include dependency graph for qgeotileproviderosm.cpp:

Go to the source code of this file.

Functions

static void setSSL (QGeoMapType &mapType, bool isHTTPS)
 
static void sort2 (int &a, int &b)
 

Variables

static QT_BEGIN_NAMESPACE const int maxValidZoom = 30
 
static const QDateTime defaultTs = QDateTime::fromString(QStringLiteral("2016-06-01T00:00:00"), Qt::ISODate)
 

Function Documentation

◆ setSSL()

static void setSSL ( QGeoMapType & mapType,
bool isHTTPS )
static

Definition at line 15 of file qgeotileproviderosm.cpp.

References QGeoMapType::cameraCapabilities, QGeoMapType::description, QGeoMapType::mapId(), QGeoMapType::metadata, QGeoMapType::mobile, QGeoMapType::name, QGeoMapType::night, QGeoMapType::pluginName(), and QGeoMapType::style.

Referenced by QGeoTileProviderOsm::QGeoTileProviderOsm(), and QGeoTileProviderOsm::updateCameraCapabilities().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sort2()

static void sort2 ( int & a,
int & b )
static

Definition at line 251 of file qgeotileproviderosm.cpp.

Referenced by TileProvider::setupProvider().

+ Here is the caller graph for this function:

Variable Documentation

◆ defaultTs

const QDateTime defaultTs = QDateTime::fromString(QStringLiteral("2016-06-01T00:00:00"), Qt::ISODate)
static

◆ maxValidZoom

QT_BEGIN_NAMESPACE const int maxValidZoom = 30
static

Definition at line 12 of file qgeotileproviderosm.cpp.

Referenced by TileProvider::onNetworkReplyFinished().