summaryrefslogtreecommitdiff
path: root/src/location/maps
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-01-22 18:54:51 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-01-22 18:55:32 +0100
commit9cb8bec1f49dfa4cf44f946a05c1622d16431a88 (patch)
tree25f457acf857ccf74d3852b014b5e35983c036e8 /src/location/maps
parent17b4d7ed60e4a9e521ae74a74ea084a21633955e (diff)
parent38e72f68316b2a28c4949b2701a23f1e5ed3ccf6 (diff)
downloadqtlocation-9cb8bec1f49dfa4cf44f946a05c1622d16431a88.tar.gz
Merge remote-tracking branch 'origin/dev' into wip/navigation
Change-Id: If60e71a36d0b0034463a88b928e364049270035e
Diffstat (limited to 'src/location/maps')
-rw-r--r--src/location/maps/qgeorouteparserosrmv5.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/location/maps/qgeorouteparserosrmv5.cpp b/src/location/maps/qgeorouteparserosrmv5.cpp
index e47901b7..83419b20 100644
--- a/src/location/maps/qgeorouteparserosrmv5.cpp
+++ b/src/location/maps/qgeorouteparserosrmv5.cpp
@@ -982,6 +982,8 @@ QUrl QGeoRouteParserOsrmV5Private::requestUrl(const QGeoRouteRequest &request, c
if (meta.contains(QStringLiteral("bearing"))) {
qreal bearing = meta.value(QStringLiteral("bearing")).toDouble();
bearings.append(QString::number(int(bearing))).append(QLatin1Char(',')).append(QStringLiteral("90")); // 90 is the angle of maneuver allowed.
+ } else {
+ bearings.append(QStringLiteral("0,180")); // 180 here means anywhere
}
}
++notFirst;