imrpove geolocation with high accuracy
mr-islam opened this issue · comments
Naved Islam commented
use the final snippet from here https://webplatformcourse.com/preview/9-geolocation-api/ :
navigator.geolocation.getCurrentPosition(position => {
console.log(position)
}, error => {
console.error(error)
}, {
timeout: 1000,
maximumAge: 10000,
enableHighAccuracy: true
})
Naved Islam commented
unnecessary