Hi. Openstreetmap website is indicating my location kilometers away from where I am, if using my phone. (Android 10) Occurs with both Firefox and Opera, didn't check others. Both indicate "Location Allowed". When using my laptop, it's within meters. Google maps on my phone is nearly exact as well. Is this a known problem? Is there a solution? Thanks, Vic
This question is marked "community wiki".
asked 29 Oct '20, 08:23 Vic Martin |
This doesn't really have anything to do with OpenStreetMap. Your browsers are likely using a rough location determined from network connectivity (aka cell towers used), gmaps the GPS position, on your laptop it is likely the location of the WLAN you are connecting to, which can be quite exact too. answered 29 Oct '20, 09:04 SimonPoole ♦ It has something to do with OpenStreetMap, I just haven't figured out what it is yet. Both it and the Google web page start at the same location, but withing a few seconds, the Google page incrementally relocates to where I actually am. OSM doesn't. I'm asking 'cause you guys have written the code, and may have had an idea what the cause is. What's even stranger, is that if I have two tabs open, one GMaps and one OSM, OSM gives the correct position; until I close the Google maps tab. Then it jumps back to the original incorrect position.
(29 Oct '20, 12:41)
Vic Martin
1
My guess is that Google is using Google Play Services and OSM is using HTML geolocation.
Not really - the OSM website is just asking your browser and returning whatever it replies with. "a few km away" does sound like your location based on cell tower location rather than GPS, and why your phone is doing that must be a setting on your phone - something that you can look at but we can't. For completeness, the browser on my Android 10 phone happily returns a GPS location within a few meters to osm.org.
(29 Oct '20, 13:57)
SomeoneElse ♦
|
I'm hitting this too, on Chrome. But for me Firefox works well and gives high accuracy for location. I have created a desktop icon on Android for convenience. answered 01 Jan '23, 14:34 cardboard |