|
Geolocation API Specification
Example of requesting repeated position updates. function scrollMap(position) { // Scrolls the map so that it is centered at (position.coords.latitude, position.coords.longitude). } // Request repeated updates. var watchId = navigator.geolocation.watchPos
dev.w3.org |
|