Geolocation

Topics 

  • What is and why Geolocation? 
  • How it works 
  • Location data sources 
  • Accuracy 
  • Privacy 
  • Geolocation API 
  • Using maps
  • Geolocation examples

What is and Why Geolocation?

What is Geolocation? 

  • W3C JavaScript API 
  • Built into the browser 
    • All modern browsers support it 
    • http://caniuse.com/#search=geolocation (~90% adoption: 12/2015) 
  • Must give an “opt-out” option to a user 
    • To protect user privacy 
    • “opt-out” option can be configurable in browser setting, however 
  • Provides approximate location 
    • If you need high accuracy location, you might have to use native application

 

Download course content