Geolocation using HTML seminar Presentation

Gps satellites location by ip address cell phone

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: an object. How does Geolocation work? ● GPS Satellites ● Location by IP address ● Cell phone triangulation Basics window.navigator.geolocation The geolocation object gives Web content access to the location of the device. This lets a Web site or app offer customized results based on the user's location. window.navigator.geolocation.getCurrentPosition The getCurrentPosition method is used to get the current position of the device. window.navigator.geolocation.watchPosition The watchPosition() method is used to register a handler function that will be called automatically e...
View Full Document

This document was uploaded on 02/14/2014 for the course CSCI 6609 at Dalhousie.

Ask a homework question - tutors are online