![]() |
Qt 6.x
The Qt SDK
|
#include "qgeorouteparserosrmv4_p.h"#include "qgeoroutesegment.h"#include "qgeomaneuver.h"#include <QtLocation/private/qgeorouteparser_p_p.h>#include <QtCore/private/qobject_p.h>#include <QtCore/QJsonDocument>#include <QtCore/QJsonObject>#include <QtCore/QJsonArray>#include <QtCore/QUrlQuery>
Include dependency graph for qgeorouteparserosrmv4.cpp:Go to the source code of this file.
Classes | |
| class | QGeoRouteParserOsrmV4Private |
Functions | |
| static QT_BEGIN_NAMESPACE QList< QGeoCoordinate > | parsePolyline (const QByteArray &data) |
| static QGeoManeuver::InstructionDirection | osrmInstructionDirection (const QString &instructionCode, QGeoRouteParser::TrafficSide trafficSide) |
| static QString | osrmInstructionText (const QString &instructionCode, const QString &wayname) |
| static QGeoRoute | constructRoute (const QByteArray &geometry, const QJsonArray &instructions, const QJsonObject &summary, QGeoRouteParser::TrafficSide trafficSide) |
|
static |
Definition at line 215 of file qgeorouteparserosrmv4.cpp.
References QJsonArray::at(), QJsonArray::count(), i, osrmInstructionDirection(), osrmInstructionText(), parsePolyline(), position(), QStringLiteral, qWarning, QGeoManeuver::setDirection(), QGeoRoute::setDistance(), QGeoManeuver::setDistanceToNextInstruction(), QGeoRoute::setFirstRouteSegment(), QGeoManeuver::setInstructionText(), QGeoRoute::setPath(), QGeoManeuver::setPosition(), QGeoManeuver::setTimeToNextInstruction(), QGeoRoute::setTravelTime(), time, QJsonValue::toArray(), QJsonValue::toDouble(), toDouble(), QJsonValue::toString(), and QJsonObject::value().
Referenced by QGeoRouteParserOsrmV4Private::parseReply().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 56 of file qgeorouteparserosrmv4.cpp.
References QGeoManeuver::DirectionBearLeft, QGeoManeuver::DirectionBearRight, QGeoManeuver::DirectionForward, QGeoManeuver::DirectionHardLeft, QGeoManeuver::DirectionHardRight, QGeoManeuver::DirectionLeft, QGeoManeuver::DirectionRight, QGeoManeuver::DirectionUTurnLeft, QGeoManeuver::DirectionUTurnRight, QGeoRouteParser::LeftHandTraffic, QGeoManeuver::NoDirection, and QGeoRouteParser::RightHandTraffic.
Referenced by constructRoute().
Here is the caller graph for this function:
|
static |
Definition at line 100 of file qgeorouteparserosrmv4.cpp.
References QString::isEmpty().
Referenced by constructRoute().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 17 of file qgeorouteparserosrmv4.cpp.
Referenced by constructRoute().
Here is the call graph for this function:
Here is the caller graph for this function: