Template:Zh GoogleMap Description Route: Difference between revisions
Jump to navigation
Jump to search
Line 22: | Line 22: | ||
|- | |- | ||
|class="zhproperty"|Description||class="zhdescription"|Description | |class="zhproperty"|Description||class="zhdescription"|Description | ||
|- | |||
|class="zhproperty"|Addition HTML text||class="zhdescription"|Addition HTML text | |||
|- | |- | ||
|class="zhproperty"|Published||class="zhdescription"|Published | |class="zhproperty"|Published||class="zhdescription"|Published | ||
Line 31: | Line 33: | ||
|class="zhproperty"|Route||class="zhdescription"|Route<br /> | |class="zhproperty"|Route||class="zhdescription"|Route<br /> | ||
for example: "Арбатская";"Кропоткинская"; "Москва, проспект Мира 20";"Москва, Петровка 10" | for example: "Арбатская";"Кропоткинская"; "Москва, проспект Мира 20";"Москва, Петровка 10" | ||
|- | |||
|class="zhproperty"|Route by Placemarks||class="zhdescription"|Route by placemarks IDs<br /> | |||
for example: 1;2;4;6<br /> | |||
You have to use only placemarks defined by lat|lng, not by geocoding (text address) | |||
|- | |- | ||
|class="zhproperty"|Provide Route Alternatives||class="zhdescription"|Provide Route Alternatives specifies that the Directions service may provide more than one route alternative in the response. | |class="zhproperty"|Provide Route Alternatives||class="zhdescription"|Provide Route Alternatives specifies that the Directions service may provide more than one route alternative in the response. | ||
Line 51: | Line 57: | ||
|- | |- | ||
|class="zhproperty"|Show total distance||class="zhdescription"|Show total distance of route | |class="zhproperty"|Show total distance||class="zhdescription"|Show total distance of route | ||
|- | |||
|class="zhproperty"|Show description||class="zhdescription"|Show description and addition HTML text of route below the map | |||
|- | |- | ||
|class="zhproperty"|Category||class="zhdescription"|The category that this route is assigned to | |class="zhproperty"|Category||class="zhdescription"|The category that this route is assigned to | ||
|} | |} |
Revision as of 13:14, 20 December 2011
Creating Route
The route means automatic routing between way points (this functionality is present in the Google Maps API as a Directions API).
We turn to the tab "Routes".
Enter any number of routes with reference to a specific map.
Field Route - the route is entered for each route point in double quotes ("), the separator between two points is a semicolon (;)
Route properties
Title | Route Title |
Description | Description |
Addition HTML text | Addition HTML text |
Published | Published |
Travel Mode | Travel Mode specifies what mode of transport to use when calculating directions |
Unit System | The unit system to use when displaying distance |
Route | Route for example: "Арбатская";"Кропоткинская"; "Москва, проспект Мира 20";"Москва, Петровка 10" |
Route by Placemarks | Route by placemarks IDs for example: 1;2;4;6 |
Provide Route Alternatives | Provide Route Alternatives specifies that the Directions service may provide more than one route alternative in the response. |
Avoid Highways | If true, the routes between origins and destinations will be calculated to avoid highways where possible. |
Avoid Tolls | If true, the directions between points will be calculated using non-toll routes, if possible. |
Optimize Waypoints | Optimize Waypoints to allow the Directions service to optimize the provided route by rearranging the waypoints in a more efficient order. |
Map Title | Title of the map, where route would be displayed |
Show Type | Map bounds for fitting the route
|
Draggable | If true, allows the user to drag and modify the paths of routes |
Show Panel | Allow to show route panel to display the directions steps |
Show total distance | Show total distance of route |
Show description | Show description and addition HTML text of route below the map |
Category | The category that this route is assigned to |