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

# mapTemplate(_:shouldUpdateNotificationFor:with:)

Asks the delegate whether the system should display the maneuver with updated travel estimates as a notification when the app is in the background.

```
optional func mapTemplate(_ mapTemplate: CPMapTemplate, shouldUpdateNotificationFor maneuver: CPManeuver, with travelEstimates: CPTravelEstimates) -> Bool
```

## Parameters

`mapTemplate`

The current map template.

`maneuver`

The current maneuver.

`travelEstimates`

The updated travel estimates.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the system should display the maneuver as a notification; otherwise, <doc://com.apple.documentation/documentation/Swift/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)