Geolocation Position Error, Brave does not provide position or location when requested

Description of the issue:
Website using geolocation to get local weather does not work on brave desktop, possibly android browser as well.

Steps to Reproduce (add as many as necessary): 1. 2. 3.

  1. Go to https://redskyready.com/wx/
  2. Allow geolocation if it triggers
  3. If the geolocation works additional data will flow in including hourly weather, weekly forecast etc. The website works fine in Edge and Chrome.
  4. Gelocation does not trigger or does not get the data.
  5. Inspect element Error in fetchandstorelocation

"
wx/:324 Error in fetchAndStoreLocation:

  1. GeolocationPositionError

  2. code: 2

  3. message: “”

  4. [[Prototype]]: GeolocationPositionError

1. PERMISSION_DENIED: 1
2. POSITION_UNAVAILABLE: 2
3. TIMEOUT: 3
4. code: (...)
5. message: (...)
7. constructor: ƒ GeolocationPositionError()
8. Symbol(Symbol.toStringTag): "GeolocationPositionError"
9. get code: ƒ code()
10. get message: ƒ message()
11. [[Prototype]]: Object

fetchAndStoreLocation @ wx/:324
"

Actual Result (gifs and screenshots are welcome!):

Expected result:

Reproduces how often:
Every time Desktop
Often on Android.

Operating System and Brave Version(See the About Brave page in the main menu):

Windows 10
Version 1.74.48

Android 14

Additional Information:

There is likely a better way to write my code to fix this but it works on all the other browsers so if you could fix it that would be awesome!