Deeplink

From RouteXL
Revision as of 16:12, 6 November 2017 by Routexl (talk | contribs) (URL format)
Jump to: navigation, search

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.nl/?q=<address1>$<address2>$<address3>$<address4>

In other words, using the parameter q and seperating with a dollar sign. Addresses need to be urlencoded.

Optional parameters

To change the language of the website, add the parameter lang:

 www.routexl.nl/?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.

 www.routexl.nl/?q=<address1>$<address2>$<address3>$<address4>&roundtrip=false

Example