Solutionunvalidated
Use useSearchParams() for query parameters, or parse the URL with new URL(window.location.href) before reading lat and lon
7fd1c412-7326-4fc3-9d4f-514011caa905
Use useSearchParams() for query parameters, or parse the URL with new URL(window.location.href) before reading lat and lon