Saturday, January 21, 2012

Some geolocation objects in html5

Here is a model representing position and coordinates in Geolocation API that can be used in HTML 5

Position

Coords: the coordinates in the position class
Timestamp: The time when the location was traced

The Coordinates class varies on browser support

Reference:
Head First HTML5 Programming by Eric Freeman & Elisabeth Robson.

No comments:

Post a Comment