VYS
Truckroutenavigation for coaches and all transport

For app makers

Open Truckroute from your own app

Does your app show a list of navigation apps, such as "Open with" or "Choose app"? Use the link below to add Truckroute. Truckroute then calculates a route for the driver's lorry or vehicle and first shows the route overview; the driver starts it. The link works from the next version of the app for iPhone and Android.

The link

The scheme is truckroute://. With navigate, Truckroute calculates a route; with search it shows the address or place. Values URL-encoded.

truckroute://navigate?ll=52.3731,4.8922&name=Damrak%201
truckroute://navigate?q=Damrak%201%2C%20Amsterdam
truckroute://navigate?ll=52.3731,4.8922&via=52.0907,5.1214|51.4416,5.4697
truckroute://search?q=Europaboulevard%202B%2C%20Amsterdam

iPhone

Add the scheme to LSApplicationQueriesSchemes in your Info.plist; then you can check whether Truckroute is installed on the iPhone and open it.

<key>LSApplicationQueriesSchemes</key>
<array>
  <string>truckroute</string>
</array>

let url = URL(string: "truckroute://navigate?ll=52.3731,4.8922&name=Damrak%201")!
if UIApplication.shared.canOpenURL(url) { UIApplication.shared.open(url) }

Android

The package name is nl.vysscheduling.truckroute. Truckroute also opens the common geo: and navigation links, so a general link already puts it in the system chooser; with its own link you open it directly.

<queries>
  <package android:name="nl.vysscheduling.truckroute" />
</queries>

val i = Intent(Intent.ACTION_VIEW, Uri.parse("truckroute://navigate?ll=52.3731,4.8922&name=Damrak%201"))
i.setPackage("nl.vysscheduling.truckroute")
startActivity(i)

Questions

Do you want to add Truckroute to your app, or is something missing from the link? Please contact us.

Read also

Try it on your own trips

New? Create an account with your e-mail address and try the route planner free for 7 days. A demonstration or a rate for your whole fleet? Contact VYS Scheduling BV: info@truckroute.nl or +31(0)85-4013599.

All amounts exclude VAT. Truckroute results are an indication; exemptions, signs and the official maps prevail, and no rights can be derived from these pages or the route planner. Privacy

All topics

New

Route and restrictions

Navigation and CarPlay

Charges and tolls

LHV

Abnormal loads

Dangerous goods and tunnels

Coach and bus

Cranes

Agriculture and parcels

Driving bans

Zero-emission zones per city