Nokia Maps API Reference

Contents

Interface nokia.maps.routing.RouteSegment

Interface Summary

This interface represents a route segment, a sub-section of a route between two maneuvers. It may connect multiple waypoints (and therefore it may have a polyline representation).

Field Summary
Number length This property holds the length of the given route segment.
nokia.maps.routing.Maneuver maneuver Optional This property holds an object representing a maneuver associated with the given route segment.
nokia.maps.routing.RouteSegment nextSegment Optional This property holds a reference to the next segment in the route object.
nokia.maps.geo.Shape shape This property holds a shape object (a polyline) that represents the given route segment.
Number travelTime This property holds the time needed to travel the length of the given route segment.
Field Detail
Number length
This property holds the length of the given route segment.
nokia.maps.routing.Maneuver maneuver Optional
This property holds an object representing a maneuver associated with the given route segment.
nokia.maps.routing.RouteSegment nextSegment Optional
This property holds a reference to the next segment in the route object.
This property holds a shape object (a polyline) that represents the given route segment.
Number travelTime
This property holds the time needed to travel the length of the given route segment. The routing type determines if the value takes into account traffic information.
Documentation generated on Wed Jun 27 2012 16:54:10 GMT+0200 (CEST).