Nokia Maps API Reference

Contents

Interface nokia.maps.routing.RouteLeg

Interface Summary

This interface defines a route leg, which represents a section of a route between two consecutive waypoints.

Field Summary
nokia.maps.routing.Waypoint end This property holds an object representing the waypoint at the end of the route leg.
Number length This property holds the length of the given leg of the route.
nokia.maps.routing.Maneuver[] maneuvers This property holds a list of all maneuvers which are included in this section of the route.
nokia.maps.routing.Waypoint start This property holds an object representing the waypoint at the start of the route leg.
Number travelTime This property holds the time needed to travel the length of the given route leg.
Field Detail
This property holds an object representing the waypoint at the end of the route leg. It refers to one of the waypoints in the Route object, an element in Route.waypoints.
Number length
This property holds the length of the given leg of the route.
This property holds a list of all maneuvers which are included in this section of the route.
This property holds an object representing the waypoint at the start of the route leg. It refers to one of the waypoints in the Route object, an element in Route.waypoints.
Number travelTime
This property holds the time needed to travel the length of the given route leg. The routing type determines if this value takes into account traffic information.
Documentation generated on Wed Jun 27 2012 16:54:10 GMT+0200 (CEST).