Contenu connexe Similaire à Standardizing Geolocation APIs for Websites Similaire à Standardizing Geolocation APIs for Websites (20) Standardizing Geolocation APIs for Websites6. LocationAware's goal is to help drive the
standardization of how a user's
geolocation is exposed to a website
through the browser 7. GPS Wi-Fi IP Cell Tower ...
Browser
DOM
Website 8. var geolocator = new navigator.GeolocationRequest();
geolocator.request(function(location) {
alert(location.latitude + ','+ location.longitude);
}); 9. var geolocator = new navigator.GeolocationRequest();
geolocator.request({
success: function(location) { /* success */ },
error: function(err){ /* error */ },
...
}); 10. Prototype extension to explore geolocation in the
browser. Available in June
Hosted by Mozilla Labs, powered by Skyhook Wireless
Privacy management
User experience
Use Cases
Discussion