I'm trying to access a link with latitude and longitude in safari using javascript, but when redirected to the link, safari opens a pop up with the message "Safari cannot open the page because the address is invalid". When accessing the same link on an android phone, the link works normally.
window.open(`google.navigation:q=${latitude}, ${longitude}`, '_blank')
I cleaned the cache and released the permissions that the app requests when opening a gps, google maps, waze etc...