Geolocation HTML5 enableHighAccuracy True, False or What?

Google mapsJavascriptSAP Web DynproFront End Scripts

For Geolocation enableHighAccuracy, you need to set it to true −

enableHighAccuracy: true

If you still fail in getting the result i.e. handling the timeout error, then again try it with

enableHighAccuracy: false

The above would work on Android, Chrome, and Firefox as well.

raja
Updated on 25-Jun-2020 07:35:34

Advertisements