Geolocation API part 3

HTML Fundamentals
HTML5
Geolocation API
19
3/3
               

Presenting Data



User location can be presented in two ways: Geodetic and Civic.

1. The geodetic way to describe position refers directly to latitude and longitude.
2. The civic representation of location data is presented in a format that is more easily read and understood by the average person.

Each parameter has both a geodetic and a civic representation:
The getCurrentPosition() method returns an object if it is successful. The latitude, longitude, and accuracy properties are always returned.

Comments

Popular posts from this blog

Drag&Drop API