diff --git a/Examples/UIExplorer/js/GeolocationExample.js b/Examples/UIExplorer/js/GeolocationExample.js index c9f3fbcbc..96a6472b0 100644 --- a/Examples/UIExplorer/js/GeolocationExample.js +++ b/Examples/UIExplorer/js/GeolocationExample.js @@ -59,7 +59,7 @@ class GeolocationExample extends React.Component { var initialPosition = JSON.stringify(position); this.setState({initialPosition}); }, - (error) => alert(error.message), + (error) => alert(error), {enableHighAccuracy: true, timeout: 20000, maximumAge: 1000} ); this.watchID = navigator.geolocation.watchPosition((position) => {