Class

MKRouteStep

One portion of an overall route.

Declaration

@interface MKRouteStep : NSObject

Overview

Each MKRouteStep object corresponds to a single instruction that would need to be followed by the user when navigating between two points. For example, a step might involve following a single road until a turn is required.

You do not create instances of this class directly. An MKRoute object contains the MKRouteStep objects associated with a route. For more information about requesting directions, see MKDirections.

Topics

Getting the Step Geometry

polyline

The detailed step geometry.

Getting Additional Step Details

instructions

The written instructions for following the path represented by this step.

notice

Additional notices that apply to the step.

distance

The step distance in meters.

transportType

The transport type of the step.

Relationships

Inherits From

See Also

Directions

MKMapItem

A point of interest on the map.

MKDirections

A utility object that computes directions and travel-time information based on the route information you provide.

MKDirectionsRequest

The start and end points of a route, along with the planned mode of transportation.

MKDirectionsResponse

The route information returned by Apple servers in response to one of your requests for directions.

MKETAResponse

The travel-time information returned by Apple servers.

MKRoute

A single route between a requested start and end point.