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

# requestsAlternateRoutes

A Boolean value that indicates whether the server returns multiple routes when they’re available.

```
requestsAlternateRoutes?: boolean;
```

## Discussion

When this property is `false`, the server returns a single route between the start and end points. When this property is `true`, the server may return additional routes for the user to follow. The server returns additional routes only if they’re available and represent a reasonable path that the user might take.

The default value of this property is `true`.

---

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)