add car profile to gh request

This commit is contained in:
Csaba 2024-02-08 14:59:36 +01:00
parent c24c83a5b8
commit 67604d04a7

View file

@ -43,5 +43,5 @@ class RoutingService():
for point in points: for point in points:
locations += "point={0}%2C{1}&".format(point.y, point.x) locations += "point={0}%2C{1}&".format(point.y, point.x)
return "{0}/route?{1}instructions={2}&calc_points={3}&points_encoded=false".format( return "{0}/route?{1}instructions={2}&calc_points={3}&points_encoded=false&profile=car".format(
self.gh_service_url, locations, instructions, calc_points) self.gh_service_url, locations, instructions, calc_points)