geolocation.getCurrentPosition() fails in sporadic “spurts”

I’m experiencing an issue in a React application with getCurrentPosition (example code below) where I will experience bouts of timeout failures.

navigator.geolocation.getCurrentPosition(
  p => console.log(p),
  e => console.log(e),
  {
    timeout: 7000,
    enableHighAccuracy: false,
    maximumAge: 1000 * 60 * 60 * 24
  }
)

It’s quite inconsistent, and succeeds a lot, but when it does happen, it will also occur when just pasting the command in the dev tools console in Chrome, Brave, and Firefox (tested only on MacOS so far), regardless of what domain I’m currently navigated to there. Also when it does fail it fails repeatedly, despite page refreshing.