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
maximumAge The maximum age in milliseconds of a possible cached position timeout Maximum length of time (in milliseconds) the device is allowed to take in order to return a position enableHighAccuracy Indicates the application would like to receive the best possible results -
watchLocation
Requests to watch the browser's location going forward
Arguments
maximumAge The maximum age in milliseconds of a possible cached position timeout Maximum length of time (in milliseconds) the device is allowed to take in order to return a position enableHighAccuracy Indicates 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
location A location object obtained from getLocation or watchLocation