Just use the
CPTemplateApplicationScene.open(_ url: URL, options: UIScene.OpenExternalURLOptions?)
For Apple maps use something like that:
URL(string: "maps://?ll=-123.123,-321.321
For Waze
URL(string: “waze://?ll=-123.123,-321.321
For Google Maps
URL(string: “comgooglemaps://?daddr=-123.123,-321.321
For Waze and Google maps the user will have to accepted, for apple maps the carPlay will show imediatly