Skip to content

geo

geo gets the current position of the device. The result can be used in further actions. Result of the action contains the following properties:

  • longitude
  • latitude
  • accuracy
  • position: The complete result of the API call to navigator.geolocation.getCurrentPosition
{
    "label": "Position",
    "icon": "icon-map-marker",
    "action": "geo",
    "then": {
        "action": "save",
        "actionValues": [
            {
                "LONG": "${$payload.longitude}"
            }
        ]
    }
}