Include highway on scooter route

Scooters are not allowed on highways by default. However, you can set scooter[allowHighway]=true to override when requesting a route.

curl -X GET \
  'https://router.hereapi.com/v8/routes?destination=53.335542,14.522257&origin=53.338226499,14.5058642048&transportMode=scooter&scooter[allowHighway]=true'
{
  "routes": [
    {
      "id": "ad3ff301-ff61-4541-bbcb-709dc065928a",
      "sections": [
        {
          "id": "319a1597-333f-40b6-b127-e4ccb6835478",
          "type": "vehicle",
          "departure": {
            "time": "2020-10-23T08:45:30+02:00",
            "place": {
              "type": "place",
              "location": {
                "lat": 53.3382266,
                "lng": 14.5058641
              },
              "originalLocation": {
                "lat": 53.3382264,
                "lng": 14.5058641
              }
            }
          },
          "arrival": {
            "time": "2020-10-23T08:51:30+02:00",
            "place": {
              "type": "place",
              "location": {
                "lat": 53.3354319,
                "lng": 14.5222037
              },
              "originalLocation": {
                "lat": 53.3355419,
                "lng": 14.5222569
              }
            }
          },
          "transport": {
            "mode": "scooter"
          }
        }
      ]
    }
  ]
}

results matching ""

    No results matching ""