<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPMapTemplateDelegate/mapTemplateShouldProvideNavigationMetadata(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(pl)CPMapTemplateDelegate(im)mapTemplateShouldProvideNavigationMetadata:"
  },
  "title" : "mapTemplateShouldProvideNavigationMetadata(_:)"
}
-->

# mapTemplateShouldProvideNavigationMetadata(_:)

Asks the delegate whether the template should provide navigation metadata

```
optional func mapTemplateShouldProvideNavigationMetadata(_ mapTemplate: CPMapTemplate) -> Bool
```

## Parameters

`mapTemplate`

The current map template.

## Discussion

- Returns `true` if the template needs to provide navigation metadata, otherwise `false`.

---

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)