WatchPosition method is used to retrieve periodic updates of the current geographic location of the device and the location is expressed as a set of geographic coordinates along with heading and speed. Location information is returned in a Position object and each update returns a new Position object.
Below is the syntax of this method
watchPosition(showLocation, ErrorHandler, options);
Detail of parameters are given below
WatchPosition method returns a unique transaction ID (number) associated with the asynchronous call. This ID can be used to cancel the watchPosition call and to stop receiving location updates.
HTML 5 Related Interview Questions
|XML Interview Questions||HTML 4 Interview Questions|
|HTML Interview Questions||HTML 5 Interview Questions|
|HTML DOM Interview Questions||Java Interview Questions|
|CSS Interview Questions||Java Abstraction Interview Questions|
|Dynamic HTML Interview Questions||XHTML Interview Questions|
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.