summaryrefslogtreecommitdiffstats
path: root/src/location/maps/qgeorouteparserosrmv5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/maps/qgeorouteparserosrmv5.cpp')
-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;