W3 c geolocation api


Published on

This explains the overview of Geolocation and newly introduced technology W3C Geolocation API, and also had Opera Browser demo example of Geolocation API

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

W3 c geolocation api

  1. 1. W3C GEOLOCATION API<br />PRESENTED BY <br /><ul><li> Swapnil Pawar
  2. 2. Nikhil Khokale
  3. 3. Sachin Patil</li></li></ul><li>OVERVIEW<br />Introduction<br />About Geolocation API <br />Geolocation and Privacy issues<br />Geolocation DEMO( Opera Browser )<br />Applications<br />Conclusion<br />
  4. 4. INTRODUCTION<br />The World Wide Web Consortium (W3C) introduced the W3C Geolocation API as an interface to retrieve the geographical location information for a client-side device.<br />
  5. 5. <ul><li>Geolocation - Identification of the real-world geographic location .
  6. 6. Geolocation API - seeks the user information to access the information </li></ul>What is GeolocationAPI ?<br />
  7. 7. which devices can be used?<br />Laptop or desktop<br />Mobile devices such as PDAs and smartphones. <br />All devices with an internet browser that supports the Geolocation API<br />
  8. 8. WHICH BROWSERS ARE SUPPORTING THE GEOLOCATION<br /><ul><li> Opera Browser </li></li></ul><li>How We Detect?<br /><ul><li>GPS (Global Positioning System)
  9. 9. IP Address
  10. 10. Mobile Devices
  11. 11. MAC Address
  12. 12. RFID (Radio-frequency identification)
  13. 13. WiFi Connection</li></li></ul><li>The API provides primarily 3 categories of location request:<br />“One-shot” request<br />Repeated requests – The API will automatically call a user-defined function whenever there’s a change in location<br />Requests for a cached location<br />
  14. 14. HOW TO CHECK WHETHER BROWSER SUPPORTS GEOLOCATION ? <br />if (navigator.geolocation)<br /> { navigator.geolocation.getCurrentPosition(successFunction, errorFunction);<br /> } <br /> else <br /> { <br /> alert('It seems like Geolocation, which is required for this page, is not enabled in your browser. Please use a browser which supports it.'); <br /> }<br />
  15. 15. HOW YOU GET A LOC- BASED SERVICE<br />2<br />1<br />3<br />
  16. 16. Traditional and new Privacy Issues of Web Browsers <br />Cookies: Web Browser Cookies storing a unique user ID.<br />Local Shared Objects: These are flash cookies and offer basically the same functionality as regular cookies.<br />Document Object Model (DOM) Storage: advanced version of regular cookies and was introduced with HTML 5<br />Web Browser Footprint: consists of user agent information (browser ver., language), installed plug-in, fonts, etc to get accurate tracking of mobile user across multiple visited websites <br />
  17. 17. Geolocation Example<br />How will visitors to your site approve or deny sharing of their location information?<br />
  18. 18. Screenshot of the slide, which shows your co-ordinates and a map centered on those co-ordinates.<br />
  19. 19. APPLICATIONS<br />The technology is already widely used in multiple industries, including e-retail, banking, media, education, travel, hospitality, entertainment, health care, online gaming and law enforcement, for preventing online fraud, complying with regulations, managing digital rights and serving targeted marketing content and pricing.<br />
  20. 20. CONCLUSION<br />The W3C Geolocation API provides an exciting and convenient way for Web developers to allow their applications to make use of the user's location. The capability to do it is more accurate now than past methods and provides a greater level of privacy to users than ever before. Now it's up to developers to make exciting applications that build upon this capability.<br />
  21. 21. Some Samples<br />