The geolocation APIs work with another property of the global navigator object ie. Geolocation object which can be made as pursues − var geolocation = navigator.geolocation; A geolocation object is a service object that enables widgets to recover data about the geographic area of the device.
1) getCurrentPosition(): getCurrentPosition() technique retrieves current geographic location of the user.
2) watchPosition(): watchPosition() technique retrieves periodic updates about the current geographic location of the device.
3) clearWatch(): clearWatch() technique cancels an ongoing watchPosition call.
Viewing 1 reply thread
You must be logged in to reply to this thread.Please login or register. Registration is 100% free.
GET FREE CONSULTATION
Call Us Now For Free Consultation97370 05566
Our experts listen to you patiently and suggest you the right course after conducting a personality profile test. Register your interest below to schedule personality profile test for you.