<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/RouteStep",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "cl/mapkit.RouteStep"
  },
  "title" : "RouteStep"
}
-->

# RouteStep

A single step of the route between the requested start and end points.

```
class RouteStep
```

## Overview

A [`RouteStep`](/documentation/MapKitJS/RouteStep) encapsulates information for an individual segment of a route. A [`Route`](/documentation/MapKitJS/Route) object’s [`steps`](/documentation/MapKitJS/Route/steps) property is an array of [`RouteStep`](/documentation/MapKitJS/RouteStep) objects. You don’t instantiate [`RouteStep`](/documentation/MapKitJS/RouteStep) objects directly; MapKit JS returns them as part of the [`DirectionsResponse`](/documentation/MapKitJS/DirectionsResponse).

## Topics

### Route step geometry

[`path: Coordinate[];`](/documentation/MapKitJS/RouteStep/path)

An array of coordinate objects representing the path of the route segment.

### Route step details

[`instructions: string;`](/documentation/MapKitJS/RouteStep/instructions)

The written instructions for following the path that the step represents.

[`distance: number;`](/documentation/MapKitJS/RouteStep/distance)

The step distance, in meters.

[`transportType: TransportType | null;`](/documentation/MapKitJS/RouteStep/transportType)

The transport type of the step.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)