farmOS / farmOS-map

farmOS-map is an OpenLayers wrapper library designed for agricultural mapping needs. It can be used in any project that has similar requirements.
https://farmOS.github.io/farmOS-map
MIT License
38 stars 22 forks source link

Geolocation not working in Safari #66

Closed mstenta closed 4 years ago

mstenta commented 4 years ago

There was a report that the Geolocate button was not working in Safari on a laptop:

laptop - Safari: Did not work and stayed on the map of the whole world. The webpage asked if it could use my current location and I selected "yes".

mstenta commented 4 years ago

Some quick searching turned up a few things worth investigating:

mstenta commented 4 years ago

Looks like Safari geolocation only works when connected with wifi. When connected with a wired connection Safari calls the error callback from the geolocation functions.

https://stackoverflow.com/a/6852029

mstenta commented 4 years ago

I don't think there's anything we can do about this in farmOS-map.