Following is a sample code to use for which of these methods?
function getLocation() {
var geolocation = navigator.geolocation;
geolocation.getCurrentPosition(showLocation,
errorHandler);
}
A) getCurrentPosition()
B) watchPosition()
C) clearWatch()
D) All the mentioned above