[Library] mobl::location
Source: location.mobl
Types
Functions
getPosition(highAccuracy : Bool = false) : Coordinates
Sleeps for ms
milliseconds, then continues execution:
Example:
var coords = getPosition(true);
coords.latitude // -> ...
isLocationSupported() : Bool
Returns whether location information is supported by the browser.
Example:
if(!isLocationSupported()) {
alert("You do not support location information");
}
mobl/location.txt · Last modified: 2013/10/01 02:28 (external edit)