Map with a route

A further possibility of an exposure is to connect positions or address points on the map by a route. In order to do this you have to determine the positions which you wish to connect.

routing

The routing can consist of different positions or addresses. The first position is determined as the beginning, the last as the end of the route. Further positions in between are waypoints of the route.

Note:
Only one route per map possible!

Positioning

P :
Declaration of the position by coordinates in the sequence latitude, longitude.

A:
Declaration of the position by using the address name.

Routing style

C :
Values: see Color list for colors.
Default: Purple

W :
The width of the line is in pixels. Possible range is 1-100.
Default: 5px

Routing character

T :
Declaration of the mode in which the route is to be generated, possible values are:
F = Fastest: Route with the shortest driving time. (Default)
N = NoFreeways: A Route without freeways is chosen.
S = Shortest: The shortest route to the destination is chosen.

P = Pedestrian: Chooses a route for pedestrians.

Accuracy of the route

Calculating a route, even if the access to the starting or destination point is closed to traffic (pedestrian area).

ST :
Define the radius in meter around the start, where the route can begin.
Default: 0

ET :
Define the radius in meter around the destination, where the route can end.
Default: 0

Designing a character request

&routing=([P;C;W]+)
&routing=([A;C;W]+)

Request examples

Comments