Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

W3C Geolocation

1,744 views

Published on

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

Published in: Technology, Sports
  • Be the first to comment

  • Be the first to like this

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

×