Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qgeorouteparserosrmv4.cpp File Reference

(cd4db512ae08836f5fa1d746000052215cf70a9c)

#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< QGeoCoordinateparsePolyline (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)

Function Documentation

◆ constructRoute()

QGeoRoute constructRoute ( const QByteArray & geometry,
const QJsonArray & instructions,
const QJsonObject & summary,
QGeoRouteParser::TrafficSide trafficSide )
static

Definition at line 215 of file qgeorouteparserosrmv4.cpp.

◆ osrmInstructionDirection()

QGeoManeuver::InstructionDirection osrmInstructionDirection ( const QString & instructionCode,
QGeoRouteParser::TrafficSide trafficSide )
static

Definition at line 56 of file qgeorouteparserosrmv4.cpp.

◆ osrmInstructionText()

QString osrmInstructionText ( const QString & instructionCode,
const QString & wayname )
static

Definition at line 100 of file qgeorouteparserosrmv4.cpp.

◆ parsePolyline()

QT_BEGIN_NAMESPACE QList< QGeoCoordinate > parsePolyline ( const QByteArray & data)
static

Definition at line 17 of file qgeorouteparserosrmv4.cpp.