This component sends the device coordinates.
To get the coordinates, add type @toloka/data.location
to the property of the desired component.
To find out if the transmitted coordinates match the ones that you specified, use the condition.distance component. Add @toloka/data.location
to the to
or from
properties, depending on how you want to compare the coordinates.
Name | Type | Description |
---|---|---|
type * | "@toloka/data.location" | Set component type. |