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

# path

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

```
path: Coordinate[];
```

## Discussion

An array of [`Coordinate`](/documentation/MapKitJS/Coordinate) objects that traces the route segment. To render the route segment on a map, set the [`points`](/documentation/MapKitJS/PolylineOverlay/points) property of [`PolylineOverlay`](/documentation/MapKitJS/PolylineOverlay) to this array.

---

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)