Home » HTML » HTML APIs » Question
  1. What does getCurrentPosition() returns?
    1. longitude
    2. coordinates
    3. latitude
    4. direction
    5. None of these
Correct Option: B

Coordinates of object is return by getCurrentPosition() method. getCurrentPosition() function accepts three parameters i.e. success, position and error. When data is fetched successfully success callback will be invoked. Lagitude, longitude, direction etc are the properties to be returned.



Your comments will be displayed only after manual approval.