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
qgeoroutingmanagerenginemapbox.cpp File Reference

(cd4db512ae08836f5fa1d746000052215cf70a9c)

#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(), and toString().

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(), and toString().

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(), and toDouble().

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(), and toString().

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: