Geolocation API Specification

var location = window.navigator.geolocation; var options = { enableHighAccuracy: true, timeout: 60000, maximumAge: 600000 } this.position = location.getCurrentPosition(this.locationSuccess.bind(this),this.locationFail.bind(this),options); http://www.w3.org/TR/2010/CR-geolocation-API-20100907/