-
What does getCurrentPosition() returns?
-
- longitude
- coordinates
- latitude
- direction
- 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.