Enable routing:
If checked the routing is enabled
Routing info container:
The container where show the direction informations about the intermediate points
Points draggable:
Define if the routing points can be dragged
Travel mode:
The travel mode between: Bicycliong, driving, walking, transit
Dynamic travel mode:
You can also define a combo box where the user can choose it's own travel mode, in this case you can choose the combo-box in your page where the user can choose it's travel mode.
This is an example on how must be populate this combo-box:
<select name="travelMode" id="travelMode" >
<option value="DRIVING" selected>Driving</option>
<option value="WALKING">Walking</option>
<option value="BICYCLING">Bicycling</option>
<option value="TRANSIT">Transit</option>
</select>
Unit system:
Preferred unit system to use when displaying distance
Routing button:
The button/image in your form that activate the routing calculation
Template routing:
For the routing
#TotalLength#
The total length of the route in Kilometers/Miles
#TotalTime#
Time to travel the route
#StartLongitude#
Longitude of start coordianate of the Departure point
#DestLongitude#
Longitude of start coordianate of the Destination point
#StartLatitude#
Latitude of start coordianate of the Departure point
#DestLatitude#
Latitude of start coordianate of the Destination point
#StartAddress#
The address of the Departure point
#DestAddress#
The address of the Destination point
#StartPointIcone#
The icone for the start point
#EndPointIcone#
The icone for the destination point
For the items:
#Counter#
The number of the current route segment
#SegmentLongitude#
Longitude of start coordianate of the route segment
#SegmentLatitude#
Latitude of start coordianate of the route segment
#SegmentDescription#
Detailed description of how to proceed on this segment
#SegmentLength#
Length in Kilometers/Miles of the route segment
#SegmentTime#
Time to travel the route segment
#TravelModeIcon#
The icone that define the travel mode for the segment
Links to open info window
create a link with the:
href="javascript:dwzOpenInfoWindowPoint()"
Links to center map on point
create a link with the: href="javascript:dwzCenterMapOnPoint()"
Route line color:
The stroke color for the line indicating the routing.
Route line width:
The stroke width in pixels for the line indicating the routing.
Route line opacity:
The stroke opacity for the line indicating the routing. Must be between 1 and 100
Depart and destination:
In order to use the routing the user must define a start and a destination point
Address:
The form field contain the address of the points. Can be any type of form fields.
Zip:
The form field contain the Zip of the points. Can be any type of form fields.
City:
The form field contain the City of the points. Can be any type of form fields.
This field is required.
Country:
The form field contain the Country of the points. Can be any type of form fields.
This field is required.
Validation msg:
The message show if the minimun address fields are not filled