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

# name

The name assigned to the route.

```
name: string;
```

## Discussion

Display [`name`](/documentation/MapKitJS/Route/name) to the user so they can distinguish one route from another. MapKit JS localizes this string according to the [`Directions`](/documentation/MapKitJS/Directions) object’s [`language`](/documentation/MapKitJS/DirectionsConstructorOptions/language) value.

---

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)