When you are using the GeoLocation API, which two arguments does the getCurrentPosition function utilize? (Choose two.)
The getCurrentPosition() method returns an object if it is successful. The latitude, longitude and accuracy properties are always returned.The second parameter of the getCurrentPosition() method is used to handle errors. It specifies a function to run if it fails to get the user's location.
Note:
* The HTML5 Geolocation API is used to get the geographical position of a user.
* The getCurrentPosition() method returns an object if it is successful. The latitude, longitude and accuracy properties are always returned.
Currently there are no comments in this discussion, be the first to comment!