Request format
https://router.api.mappable.world/v2/
? apikey=<string>
& waypoints=<lon1,lat1|lon2,lat2|...>
& [mode=<string>]
& [departure_time=<integer>]
& [avoid_tolls=<boolean>]
& [avoid_zones=<lon1,lat1|lon2,lat2|...>&avoid_zones=<lon1,lat1|lon2,lat2|...>]
& [traffic=<string>]
& [weight=<float>]
& [axle_weight=<float>]
& [max_weight=<float>]
& [height=<float>]
& [width=<float>]
& [length=<float>]
& [payload=<float>]
& [eco_class=<integer>]
& [has_trailer=<boolean>]
All params
apikey |
Required parameter The key issued in the Mappable Account. Note Key activation takes up to 15 minutes. |
waypoints |
Required parameter Route points specified in decimal degrees (WGS84 standard).
|
mode |
Type of travel on the route. Acceptable values:
|
departure_time |
The departure time in UNIX time. Used for calculating the expected traffic congestion. If this parameter is not specified, the traffic forecast is made for time when the request was processed. Alert This parameter is not used when calculating routes:
|
avoid_tolls |
Only for No toll roads. When |
avoid_zones |
Only for Set up a custom polygon on the map to avoid it during routing. You can set up multiple polygons in the request. Each polygon should has at least 3 points. |
traffic |
Only for Change the type of road traffic. When |
weight |
Only for Vehicle weight in tons. |
axle_weight |
Only for Actual vehicle axle load in tons. |
max_weight |
Only for Maximum allowed vehicle weight in tons. |
height |
Only for Vehicle height in meters. |
width |
Only for Vehicle width in meters. |
length |
Only for Vehicle length in meters. |
payload |
Only for Maximum vehicle load capacity in tons. |
eco_class |
Only for Vehicle emission standard. |
has_trailer |
Only for Trailer. Default value: |