Hi joegpsm,
There's a built-in compass available in the Apple Maps app. As options and features can vary based on your location, check out the information below found in the article here: View maps on iPhone - Apple Support
"View maps on iPhone
In the Maps app, you can find your location on a map and zoom in and out to see the detail you need.
On supported models and in select cities, Maps provides enhanced detail for elevation, roads, trees, buildings, landmarks, and more. (For availability, see Detailed City Experience on the iOS and iPadOS Feature Availability website.)
"
Regarding options in third-party apps, reach out to the app developer for more information on what is available. The article here has steps to help get you connected: How to contact an app developer - Apple Support
You should also check with your cars manufacturer to see if there's a way to turn the compass in the rear view mirror back on, or get it fixed.
Cheers.