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

&routing=P:51.27646,11.53243,52.27646,12.53243;C:BL;W:4;T:N (Entry for two positions)

&routing=A:address_1,address_3,address_6;C:BK;W:10;T:P (Entry for three adresses)

URL:

http://maps1.locr.com/?map_config=202&print=1&width=800&height=800&address_1=CO:DEU;CI:Braunschweig%20;PC:38106;SN:Rebenring;NR:33&address_2=CO:DEU;CI:Braunschweig%20;PC:38100;SN:Platz%20am%20Ritterbrunnen;NR:1&routing=A:address_1,address_2;C:BK;W:5;T:F&address_map_size_p=10&icon_1=I:button1;C:BK&obj_pos_1=N:icon_1;A:address_1&obj_pos_2=N:icon_1;A:address_2