Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam 98-375 Topic 5 Question 12 Discussion

Actual exam question for Microsoft's exam
Question #: 12
Topic #: 5
[All Questions]

When you are using the GeoLocation API, which two arguments does the getCurrentPosition function utilize? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: D, E

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.


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel