[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");
}
 
