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

# path

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

```
get path(): Coordinate[][];
```

## Discussion

An array of coordinates that reflect the complete path of the route, including all of its steps. To render this route on a map, set the [`points`](/documentation/MapKitJS/PolylineOverlay/points) property of a [`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)