The URL Launcher Schema lets third-party applications open the Trucker Path app and initiate truck-safe navigation. You can build a route by passing one or more stops, defined by latitude and longitude, into the app.
Once launched, the driver simply taps Confirm and Navigate to begin the route.
📍 Supported Inputs
You can pass the following types of stops via URL:
-
Starting Point (optional)
saddr(iOS) ors_addr(Android):latitude,longitude -
Destination (required)
daddr(iOS) ord_addr(Android):latitude,longitude -
Waypoints (optional)
paddr(iOS) orp_addr(Android): one or morelatitude,longitudevalues, separated by|
Note: All coordinates must be in decimal format. Only lat/long values are supported (no addresses or place names).
📱 iOS Schema Format
Examples:
-
Only destination:
-
Start and end points:
-
Route with 2 waypoints:
🤖 Android Schema Format
Key Differences:
-
Use underscores (
s_addr,d_addr,p_addr) instead of (saddr,daddr,paddr) -
d_addris required,s_addrandp_addrare optional -
If no
s_addris provided, Trucker Path uses the driver’s current location
Examples:
-
Only destination:
-
Start and end points:
-
Route with 2 waypoints:
Comments
Please sign in to leave a comment.