Hello Bails_07.
Thanks for reaching out to Apple Support Communities. We understand that you are having some trouble with CarPlay while using apps that require GPS. We will be glad to assist.
Let's turn GPS off then back on, and restart the iPhone to see if that helps:
Turn Location Services and GPS on or off on your iPhone, iPad, or iPod touch
Restart your iPhone
If you need help with CarPlay
"Make sure that your CarPlay stereo is using the latest firmware from the car manufacturer. Check your car's manual for more information.
Go to Settings > General > CarPlay, tap your car, then tap Forget This Car. Then set up CarPlay again.
If you still have issues connecting to CarPlay, contact Apple Support."
Cheers.