Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What does showPosition() returns?

a) only latitude
b) only longitude
c) both latitude and longitude
d) direction

Answer: c
Explanation: showPosition() method returns both latitude and longitude of user. Syntax is navigator.geolocation.getCurrentPosition(showPosition); The value of latitude and longitude returned will be in decimal.

Join The Discussion