W3C Geolocation API: Difference between revisions

Content deleted Content added
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 27:
}}
 
The '''W3C Geolocation API''' is an effort by the [[World Wide Web Consortium]] (W3C) to standardize an interface to retrieve the [[geographical ___location information]] for a client-side device.<ref name="geolocation-spec">{{cite web |url=https://www.w3.org/TR/2008/WD-geolocation-API-20081222/ |title=Geolocation API Specification 2nd Edition |firstfirst1=Andrei (editor, Google Inc.) Marcos|lastlast1=Popescu Cáceres|first2=Reilly|last2=Grant|website=W3C |publisher=Geolocation Working Group |date=20162022-1109-08 01|access-date=20212024-0402-21 08}}</ref> It defines a set of objects, [[ECMAScript]] standard compliant, that executing in the client application give the client's device ___location through the consulting of [[Location Information Server]]s, which are transparent for the [[application programming interface]] (API). The most common sources of ___location information are [[IP address]], [[Wi-Fi]] and [[Bluetooth]] [[MAC address]], [[radio-frequency identification]] (RFID), Wi-Fi connection ___location, or device [[Global Positioning System]] (GPS) and [[GSM]]/[[CDMA2000|CDMA]] cell IDs. The ___location is returned with a given accuracy depending on the best ___location information source available.
 
The result of W3C Geolocation API will usually give 4 ___location properties, including [[latitude]] and [[longitude]] (coordinates), altitude (height), and accuracy [of the position gathered], which all depend on the ___location sources.{{Citation needed|date=February 2023}}