Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QWebMercator Class Reference

#include <qwebmercator_p.h>

+ Collaboration diagram for QWebMercator:

Static Public Member Functions

static QDoubleVector2D coordToMercator (const QGeoCoordinate &coord)
 
static QGeoCoordinate mercatorToCoord (const QDoubleVector2D &mercator)
 
static QGeoCoordinate coordinateInterpolation (const QGeoCoordinate &from, const QGeoCoordinate &to, qreal progress)
 

Detailed Description

Definition at line 26 of file qwebmercator_p.h.

Member Function Documentation

◆ coordinateInterpolation()

QGeoCoordinate QWebMercator::coordinateInterpolation ( const QGeoCoordinate from,
const QGeoCoordinate to,
qreal  progress 
)
static

Definition at line 67 of file qwebmercator.cpp.

References QGeoCoordinate::altitude, coordToMercator(), e, mercatorToCoord(), qAbs(), and qFuzzyIsNull().

Referenced by cameraInterpolator(), and q_coordinateInterpolator().

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

◆ coordToMercator()

QDoubleVector2D QWebMercator::coordToMercator ( const QGeoCoordinate coord)
static

◆ mercatorToCoord()

QGeoCoordinate QWebMercator::mercatorToCoord ( const QDoubleVector2D mercator)
static

Definition at line 39 of file qwebmercator.cpp.

References M_PI, pi, QDoubleVector2D::x(), QDoubleVector2D::y(), and yCutOff.

Referenced by coordinateInterpolation(), QGeoTiledMappingManagerEngineNokia::evaluateCopyrightsText(), QGeoPathPrivate::lineContains(), QGeoProjectionWebMercator::mapProjectionToGeo(), QGeoProjectionWebMercator::maximumCenterLatitudeAtZoom(), QGeoProjectionWebMercator::minimumCenterLatitudeAtZoom(), q_coordinateEastInterpolator(), q_coordinateShortestInterpolator(), and q_coordinateWestInterpolator().

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

The documentation for this class was generated from the following files: