---
title: "mapTemplate(_:didReceiveUpdatedRouteSource:)"
framework: carplay
role: symbol
role_heading: Instance Method
path: "carplay/cpmaptemplatedelegate/maptemplate(_:didreceiveupdatedroutesource:)"
---

# mapTemplate(_:didReceiveUpdatedRouteSource:)

Called when the route source status has been updated by the built-in system.

## Declaration

```swift
optional func mapTemplate(_ mapTemplate: CPMapTemplate, didReceiveUpdatedRouteSource routeSource: CPRouteSource)
```
