Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
HTML 5 Geolocation   Wait, I mean W3C Geolocation                        Andy Pemberton,
navigator.geolocationgetCurrentPosition(successCallback, errorCallback, options);watchPosition(successCallback, errorCallb...
The Specification•    A JavaScript API that provides “scripted access to     geographical location information”    • http:/...
www.andypemberton.com/geo
The “Old Way”
A few other thoughts...• How does this work?• What about IE...• Reverse geolocation  • www.andypemberton.com/geo/reverse.h...
Where’s this headed?
References• http://dev.w3.org/geo/api/spec-source.html• http://www.andypemberton.com/geo/• http://isithackday.com/hacks/ge...
W3C Geolocation
W3C Geolocation
W3C Geolocation
Prochain SlideShare
Chargement dans…5
×

W3C Geolocation

1 744 vues

Publié le

Delivered at Standards>Next Philadelphia, April 29, 2011.

Publié dans : Technologie, Sports
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

W3C Geolocation

  1. 1. HTML 5 Geolocation Wait, I mean W3C Geolocation Andy Pemberton,
  2. 2. navigator.geolocationgetCurrentPosition(successCallback, errorCallback, options);watchPosition(successCallback, errorCallback, options);clearWatch(in long watchId);
  3. 3. The Specification• A JavaScript API that provides “scripted access to geographical location information” • http://dev.w3.org/geo/api/spec-source.html• Features
  4. 4. www.andypemberton.com/geo
  5. 5. The “Old Way”
  6. 6. A few other thoughts...• How does this work?• What about IE...• Reverse geolocation • www.andypemberton.com/geo/reverse.html
  7. 7. Where’s this headed?
  8. 8. References• http://dev.w3.org/geo/api/spec-source.html• http://www.andypemberton.com/geo/• http://isithackday.com/hacks/geo/distance.php twitter.com/apemberton

×