RoutePlanner Plugin Get Route id

To get the route id of a newly created route, you can insert a variable %id% in the redirect URL of the Route Planner Plugin (or we do this in the configuration).


routeyou_planner_redirect = '';

Some background how it works

When the RoutePlanner submits a route, the server gives an answer back including

Once the planner "receives" a positive answer from the server and as such knowing the route id, the string %id% is passed in the URL describe in the variable routeyou_planner_redirect, and a redirect happens to that URL.

© 2006-2019 RouteYou -