diff --git a/index.html b/index.html index 2c6ecb6..76a53fa 100644 --- a/index.html +++ b/index.html @@ -46,7 +46,7 @@ }; -
+The implementation of the getCurrentPosition method MUST execute the following set of steps:
The watchPosition() - method takes one, two or three arguments. When called, it MUST immediately - return a long value that uniquely identifies a watch - process and then asynchronously start the watch - operation. This operation MUST first attempt to obtain the current location of the +
The watchPosition() method takes one, two or three arguments. When called, immediately return a long value that uniquely identifies a watch process and continue asynchronously.
++ Otherwise, start the watch operation. This operation MUST first attempt to obtain the current location of the device. If the attempt is successful, the successCallback MUST be invoked (i.e. the {{EventListener/handleEvent()}} operation MUST be called on the callback object) with a new GeolocationPosition object, @@ -444,9 +474,10 @@
The PositionCallBack callback is invoked when a GeolocationPosition object is available, resulting from a cached object or the acquisition operation. The PositionCallBack callback gets set using the successCallback parameter.
@@ -622,7 +653,7 @@- [Exposed=Window] + [Exposed=Window, SecureContext] interface GeolocationPosition { readonly attribute GeolocationCoordinates coords; readonly attribute DOMTimeStamp timestamp; @@ -641,7 +672,7 @@GeolocationPosition interface
GeolocationCoordinates interface
- [Exposed=Window] + [Exposed=Window, SecureContext] interface GeolocationCoordinates { readonly attribute double latitude; readonly attribute double longitude;