16
PRESENTED BY W3C GEOLOCATION API • Swapnil Pawar • Nikhil Khokale • Sachin Patil

W3 c geolocation api

Embed Size (px)

DESCRIPTION

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

Citation preview

Page 1: W3 c geolocation api

PRESENTED BY

W3C GEOLOCATION API

• Swapnil Pawar• Nikhil Khokale• Sachin Patil

Page 2: W3 c geolocation api

OVERVIEW

1. Introduction

2. About Geolocation API

3. Geolocation and Privacy issues

4. Geolocation DEMO( Opera Browser )

5. Applications

6. Conclusion

Page 3: W3 c geolocation api

INTRODUCTION

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.

Page 4: W3 c geolocation api

• Geolocation - Identification of the real-world geographic location .

• Geolocation API - seeks the user information to access the information

WHAT İS GEOLOCATİON API ?

Page 5: W3 c geolocation api

WHICH DEVICES CAN BE USED?

Laptop or desktop

Mobile devices such as PDAs

and smartphones.

All devices with an internet

browser that supports the

Geolocation API

Page 6: W3 c geolocation api

WHICH BROWSERS ARE SUPPORTING THE

GEOLOCATION

• Opera Browser

Page 7: W3 c geolocation api

HOW WE DETECT?

• GPS (Global Positioning System)

• IP Address

• Mobile Devices

• MAC Address

• RFID (Radio-frequency identification)

• WiFi Connection

Page 8: W3 c geolocation api

THE API PROVIDES PRIMARILY 3 CATEGORIES OF LOCATION REQUEST:

“One-shot” request

Repeated requests – The API will automatically call a user-defined function whenever there’s a change in location

Requests for a cached location

Page 9: W3 c geolocation api

HOW TO CHECK WHETHER BROWSER SUPPORTS GEOLOCATION ?

if (navigator.geolocation)

{ navigator.geolocation.getCurrentPosition(successFunction, errorFunction);

}

else

{

alert('It seems like Geolocation, which is required for this page, is not enabled in your browser. Please use a browser which supports it.');

}

Page 10: W3 c geolocation api

HOW YOU GET A LOC- BASED SERVICE

LBS PROVIDER

CLIENT

LOCATION PROVIDER

1

2

3

Page 11: W3 c geolocation api

TRADITIONAL AND NEW PRIVACY ISSUES OF WEB BROWSERS  

Cookies: Web Browser Cookies storing a unique user ID.

Local Shared Objects: These are flash cookies and offer basically the same functionality as regular cookies.

Document Object Model (DOM) Storage: advanced version of regular cookies and was introduced with HTML 5

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

Page 12: W3 c geolocation api

GEOLOCATION EXAMPLE

How will visitors to your site approve or deny sharing of their location information?

Page 13: W3 c geolocation api

Screenshot of the slide, which shows your co-ordinates and a map centered on those co-ordinates.

Page 14: W3 c geolocation api

APPLICATIONS

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.

Page 15: W3 c geolocation api

CONCLUSION

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.

Page 16: W3 c geolocation api

SOME SAMPLES