HTML and CSS Reference
In-Depth Information
Table B.19.
Position
object
Attribute/method
Description
A Coordinates object including the geographic coordinates of the user's location and the
estimated accuracy. Further details are shown in
table B.20
.
timestamp The time when the user's position was acquired.
Table B.20.
Coordinates
object
coords
Attribute/method
Description
latitude
Geographic latitude coordinate, in degrees
longitude
Geographic longitude coordinate, in degrees
altitude
The height, in meters, above (approximately) sea level
accuracy
The accuracy of the latitude and longitude values, in meters
altitudeAccuracy
The accuracy of the altitude value, in meters
heading
The direction the device is traveling in, specified in degrees
speed
The device's current velocity in meters per second
coords
, an attribute of the
position
object, lists the device's coordinates, the estimated
accuracy of those coordinates, the device's direction of travel, and its speed.
B.2.2. IndexedDB specification
IndexedDB is a very large specification, approximately 105 printed pages, so there's not
room in this appendix to discuss every single attribute, method, and the like. Instead, this
section lists only the most important components used in this topic. These components
have been grouped under their respective IndexedDB interfaces, and presented in a table
format. Summaries for each component have been prepared by Joe Lennon and Greg Wan-
ish and are derived from IndexedDB content (
http://mng.bz/1M6o
) by Mozilla contributors
at the Mozilla Developer Network (MDN) and used under Creative Commons CC-BY-SA
(
http://creativecommons.org/licenses/by-sa/2.5/
). These tables of IndexedDB interfaces are
licensed under Creative Commons CC-BY-SA (
http://creativecommons.org/licenses/by-sa/
2.5/
) by Joe Lennon and Greg Wanish. See
http://mng.bz/1M6o
for a more complete ex-
planation of the IndexedDB specification.
The object
window.indexedDB
implements the
IDBFactory
interface and enables
applications to create, access, and delete an indexed database.
Table B.21
lists the methods
and attributes for the asynchronous version of the
IDBFactory
interface. The asynchron-