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

# hasTolls

A Boolean value that indicates whether a route has tolls.

```
hasTolls: boolean | null;
```

## Discussion

When `true`, this route has tolls. If `false`, this route doesn’t have any tolls. If `null`, the route may or may not have tolls.

---

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)