Intro

Get the power of location.

Many apps require a location to work. It’s what enables ride-hailing apps to find their rider or you to see the location of the delivery guy who brings your delicious meal. Location enables a wealth of use cases, and this package is a set of actions and formulas you can use to start using location as part of your app. 
Geolocation API documentation

Demo

Actions

  • getLocation

    Requests the browser's current location

    Arguments

    maximumAgeThe maximum age in milliseconds of a possible cached position
    timeoutMaximum length of time (in milliseconds) the device is allowed to take in order to return a position
    enableHighAccuracyIndicates the application would like to receive the best possible results
  • watchLocation

    Requests to watch the browser's location going forward

    Arguments

    maximumAgeThe maximum age in milliseconds of a possible cached position
    timeoutMaximum length of time (in milliseconds) the device is allowed to take in order to return a position
    enableHighAccuracyIndicates the application would like to receive the best possible results

Formulas

  • googleMapsLocationLink

    Returns a Google Maps link that centers on a given latitude/longitude of the provided location

    Arguments

    locationA location object obtained from getLocation or watchLocation