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>.
|
Public Member Functions | |
QGeoRouteParserOsrmV5ExtensionMapbox (const QString &accessToken, bool useMapboxTextInstructions) | |
void | updateQuery (QUrlQuery &query) const override |
void | updateSegment (QGeoRouteSegment &segment, const QJsonObject &step, const QJsonObject &maneuver) const override |
Public Member Functions inherited from QGeoRouteParserOsrmV5Extension | |
QGeoRouteParserOsrmV5Extension () | |
virtual | ~QGeoRouteParserOsrmV5Extension () |
Public Attributes | |
QString | m_accessToken |
bool | m_useMapboxTextInstructions = false |
Definition at line 20 of file qgeoroutingmanagerenginemapbox.cpp.
QGeoRouteParserOsrmV5ExtensionMapbox::QGeoRouteParserOsrmV5ExtensionMapbox | ( | const QString & | accessToken, |
bool | useMapboxTextInstructions ) |
Definition at line 31 of file qgeoroutingmanagerenginemapbox.cpp.
Implements QGeoRouteParserOsrmV5Extension.
Definition at line 37 of file qgeoroutingmanagerenginemapbox.cpp.
References QString::isEmpty(), m_accessToken, QLocale::MetricSystem, and QLocale::system().
|
overridevirtual |
Implements QGeoRouteParserOsrmV5Extension.
Definition at line 161 of file qgeoroutingmanagerenginemapbox.cpp.
References QMap< Key, T >::insert(), m_useMapboxTextInstructions, parseMapboxBannerInstructions(), parseMapboxVoiceInstructions(), QJsonValue::toString(), and QJsonObject::value().
QString QGeoRouteParserOsrmV5ExtensionMapbox::m_accessToken |
Definition at line 27 of file qgeoroutingmanagerenginemapbox.cpp.
Referenced by updateQuery().
bool QGeoRouteParserOsrmV5ExtensionMapbox::m_useMapboxTextInstructions = false |
Definition at line 28 of file qgeoroutingmanagerenginemapbox.cpp.
Referenced by updateSegment().