W3C Geolocation

  • 1,294 views
Uploaded on

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

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

More in: Technology , Sports
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,294
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
5
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \n
  • Who had heard of w3c geolocation before today?\nWritten code? Using it on a production site?\n
  • Get end users’ lat / long\nRequest push updates\nAccuracy\nSecurity baked into spec\n
  • Anybody seen this site? What about the little circle?\nAlso in use on Flickr, Google home page (for mobile), Travelocity\n
  • \n
  • \n
  • maxmind - http://www.maxmind.com/app/ip-location\n
  • rssi = Received signal strength indication\nBssId = Basically the Mac address of your WAP (notably not the SSID)\n
  • Pretty cool; interesting impacts...\neCommerce : sell better\nCMS products: generally target better content\nCMS, WCM, web engagement vendors\n example: Omniture test & target\n example: Drupal\n http://drupal.org/project/html5_user_geolocation\n http://drupal.org/project/geolocation\n http://drupal.org/project/context_geoip\n\n
  • \n

Transcript

  • 1. HTML 5 Geolocation Wait, I mean W3C Geolocation Andy Pemberton,
  • 2. navigator.geolocationgetCurrentPosition(successCallback, errorCallback, options);watchPosition(successCallback, errorCallback, options);clearWatch(in long watchId);
  • 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. www.andypemberton.com/geo
  • 5. The “Old Way”
  • 6. A few other thoughts...• How does this work?• What about IE...• Reverse geolocation • www.andypemberton.com/geo/reverse.html
  • 7. Where’s this headed?
  • 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