timeout
Summary
Denotes the maximum length of time (expressed in milliseconds) that is allowed to pass from the call to getCurrentPosition() or watchPosition() until the corresponding successCallback is invoked.
Property of apis/geolocation/PositionOptionsapis/geolocation/PositionOptions
Syntax
var result = PositionOptions.timeout;
PositionOptions.timeout = value;
Return Value
Returns an object of type unsigned longunsigned long
Examples
//10000ms = 10sec
PositionOptions.timeout = 10000;
Related specifications
- W3C Geolocation Specification
- W3C Editor’s Draft
Attributions
Microsoft Developer Network: Windows Internet Explorer API reference Article