Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qgeoroutingmanagerenginemapbox.cpp File Reference
#include "qgeoroutingmanagerenginemapbox.h"
#include "qgeoroutereplymapbox.h"
#include "qmapboxcommon.h"
#include <QtLocation/private/qgeorouteparserosrmv5_p.h>
#include <QtLocation/qgeoroutesegment.h>
#include <QtLocation/qgeomaneuver.h>
#include <QtCore/QJsonDocument>
#include <QtCore/QJsonObject>
#include <QtCore/QJsonArray>
#include <QtCore/QUrlQuery>
#include <QtCore/QDebug>
+ Include dependency graph for qgeoroutingmanagerenginemapbox.cpp:

Go to the source code of this file.

Classes

class  QGeoRouteParserOsrmV5ExtensionMapbox
 

Functions

static QVariantMap parseMapboxVoiceInstruction (const QJsonObject &voiceInstruction)
 
static QVariantList parseMapboxVoiceInstructions (const QJsonArray &voiceInstructions)
 
static QVariantMap parseMapboxBannerComponent (const QJsonObject &bannerComponent)
 
static QVariantList parseMapboxBannerComponents (const QJsonArray &bannerComponents)
 
static QVariantMap parseMapboxBanner (const QJsonObject &banner)
 
static QVariantMap parseMapboxBannerInstruction (const QJsonObject &bannerInstruction)
 
static QVariantList parseMapboxBannerInstructions (const QJsonArray &bannerInstructions)
 

Function Documentation

◆ parseMapboxBanner()

static QVariantMap parseMapboxBanner ( const QJsonObject banner)
static

Definition at line 107 of file qgeoroutingmanagerenginemapbox.cpp.

References QMap< Key, T >::insert(), map, parseMapboxBannerComponents(), toDouble(), toString(), and QJsonObject::value().

Referenced by parseMapboxBannerInstruction().

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

◆ parseMapboxBannerComponent()

static QVariantMap parseMapboxBannerComponent ( const QJsonObject bannerComponent)
static

Definition at line 78 of file qgeoroutingmanagerenginemapbox.cpp.

References QMap< Key, T >::insert(), map, toInt(), toString(), and QJsonObject::value().

Referenced by parseMapboxBannerComponents().

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

◆ parseMapboxBannerComponents()

static QVariantList parseMapboxBannerComponents ( const QJsonArray bannerComponents)
static

Definition at line 97 of file qgeoroutingmanagerenginemapbox.cpp.

References list, and parseMapboxBannerComponent().

Referenced by parseMapboxBanner().

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

◆ parseMapboxBannerInstruction()

static QVariantMap parseMapboxBannerInstruction ( const QJsonObject bannerInstruction)
static

Definition at line 132 of file qgeoroutingmanagerenginemapbox.cpp.

References QMap< Key, T >::insert(), map, parseMapboxBanner(), toDouble(), and QJsonObject::value().

Referenced by parseMapboxBannerInstructions().

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

◆ parseMapboxBannerInstructions()

static QVariantList parseMapboxBannerInstructions ( const QJsonArray bannerInstructions)
static

Definition at line 151 of file qgeoroutingmanagerenginemapbox.cpp.

References list, and parseMapboxBannerInstruction().

Referenced by QGeoRouteParserOsrmV5ExtensionMapbox::updateSegment().

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

◆ parseMapboxVoiceInstruction()

static QVariantMap parseMapboxVoiceInstruction ( const QJsonObject voiceInstruction)
static

Definition at line 52 of file qgeoroutingmanagerenginemapbox.cpp.

References QMap< Key, T >::insert(), map, toDouble(), toString(), and QJsonObject::value().

Referenced by parseMapboxVoiceInstructions().

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

◆ parseMapboxVoiceInstructions()

static QVariantList parseMapboxVoiceInstructions ( const QJsonArray voiceInstructions)
static

Definition at line 68 of file qgeoroutingmanagerenginemapbox.cpp.

References list, and parseMapboxVoiceInstruction().

Referenced by QGeoRouteParserOsrmV5ExtensionMapbox::updateSegment().

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