data.location

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.

View example
Components used in the example

Component properties

NameTypeDescription
type*"@toloka/data.location"Set component type.
Contact support

Last updated: July 6, 2023

Introduction
Getting started
Important tips
Useful recommendations
Working with Toloka
Projects
Pools
Tasks
Results
Project analysis
Toloka settings
Task interface
Template Builder
HTML/CSS/JS editor
Help and support
FAQTroubleshootingSupportGlossary