Nokia Maps API Reference

Contents

Interface nokia.maps.routing.Maneuver

Interface Summary

This interface defines a maneuver, which describes an action that a person needs to perform when following a route. Specifically, a maneuver applies to a particular route link, which is a part of a route calculated by the back-end server, has a server-assigned identifier, and is defined as a set of instances of nokia.maps.geo.Coordinate.

Field Summary
String direction Optional This property holds a maneuver direction hint.
String instruction This property contains a textual instruction describing the required maneuver, for example, "Turn left onto Minna St.
Number length This property holds the length of the segment following the given maneuver until the next maneuver.
nokia.maps.geo.Coordinate position This property holds an object containing the coordinates of the position, where the maneuver starts.
nokia.maps.geo.Shape shape This property holds a shape object (a polyline) that represents the route segment following the given maneuver until the next maneuver.
Number travelTime This property holds the time needed to travel the route segment following the given maneuver until the next maneuver.
String type This property contains an identifier to differentiate public from private transport maneuvers.
Field Detail
String direction Optional
This property holds a maneuver direction hint. The possible values are:
  • "forward"
  • "bearRight"
  • "lightRight"
  • "right"
  • "hardRight"
  • "uTurnRight"
  • "uTurnLeft"
  • "hardLeft"
  • "left"
  • "lightLeft"
  • "bearLeft"
String instruction
This property contains a textual instruction describing the required maneuver, for example, "Turn left onto Minna St."
Number length
This property holds the length of the segment following the given maneuver until the next maneuver.
This property holds an object containing the coordinates of the position, where the maneuver starts.
This property holds a shape object (a polyline) that represents the route segment following the given maneuver until the next maneuver.
Number travelTime
This property holds the time needed to travel the route segment following the given maneuver until the next maneuver. The routing type determines if the value of the property takes into account traffic information.
String type
This property contains an identifier to differentiate public from private transport maneuvers. Possible values are:
  • "publicTransport"
  • "privateTransport"
Documentation generated on Wed Jun 27 2012 16:54:23 GMT+0200 (CEST).