Difference between revisions of "Deeplink"
m |
m (→URL format) |
||
Line 5: | Line 5: | ||
To load addresses automatically, add addresses to the URL in this format: | To load addresses automatically, add addresses to the URL in this format: | ||
− | www.routexl. | + | www.routexl.com/?q=<address1>$<address2>$<address3>$<address4> |
In other words, using the parameter '''q''' and seperating with a dollar sign. Addresses need to be urlencoded. A minimum of three adresses is required. | In other words, using the parameter '''q''' and seperating with a dollar sign. Addresses need to be urlencoded. A minimum of three adresses is required. | ||
Line 13: | Line 13: | ||
To change the language of the website, add the parameter '''lang''': | To change the language of the website, add the parameter '''lang''': | ||
− | www.routexl. | + | www.routexl.com/?q=<address1>$<address2>$<address3>$<address4>&lang=en |
By default the deeplink will find a roundtrip. The first address is also the endpoint of the route. To have the route end at the last address, add the parameter '''roundtrip''' and set it to ''false''. When ending at the last address, a minimum of four addresses is required. | By default the deeplink will find a roundtrip. The first address is also the endpoint of the route. To have the route end at the last address, add the parameter '''roundtrip''' and set it to ''false''. When ending at the last address, a minimum of four addresses is required. | ||
− | www.routexl. | + | www.routexl.com/?q=<address1>$<address2>$<address3>$<address4>&roundtrip=false |
=== Additional fields === | === Additional fields === |
Revision as of 08:50, 11 February 2020
Deeplinking is opening the website with addresses. This is the most easy way of connecting your system to our route planner. You add addresses to the URL, which are automatically recognized, imported to the map and optimized.
URL format
To load addresses automatically, add addresses to the URL in this format:
www.routexl.com/?q=<address1>$<address2>$<address3>$<address4>
In other words, using the parameter q and seperating with a dollar sign. Addresses need to be urlencoded. A minimum of three adresses is required.
Optional parameters
To change the language of the website, add the parameter lang:
www.routexl.com/?q=<address1>$<address2>$<address3>$<address4>&lang=en
By default the deeplink will find a roundtrip. The first address is also the endpoint of the route. To have the route end at the last address, add the parameter roundtrip and set it to false. When ending at the last address, a minimum of four addresses is required.
www.routexl.com/?q=<address1>$<address2>$<address3>$<address4>&roundtrip=false
Additional fields
This is experimental, but you can add additional fields to each address. E.g. name of the stop, its servicetime, time slot and comments. To add these fields, use the same import formatting. Additional fields must be urlencoded with the address.
Example
Coordinates can also be used, but the route optimization does not launch automatically: