diff --git a/js/examples/location/index.js b/js/examples/location/index.js index 6117642..b69b0e9 100644 --- a/js/examples/location/index.js +++ b/js/examples/location/index.js @@ -53,6 +53,12 @@ ground dataspace G { mapInitialized = true; map.setCenter({lat: pos.coords.latitude, lng: pos.coords.longitude}); } + }, function (err) { + console.error(err); + alert(err); + }, { + enableHighAccuracy: true, + timeout: 15000 })); react {