-
Which property is like the GPS in car?
-
- clearWatch()
- showPosition()
- watchPosition()
- getCurrentPosition()
- None of these
Correct Option: C
Current position of the user is returned by watdhPosition(). It update the position os th user as the user moves just like the GPS installed in a car. WatchPosition() method is stopped by clearWatch() method. E.g. if(navigator.geolocation){navigator.watchPosition(showPosition);}