For this type of project, you can use the Spatial Crowdsourcing preset.
This preset is used for field tasks in the Toloka mobile app. The Toloker selects a point on the map, goes to the location, takes photos, and writes a comment.
The preset uses HTML/JS/CSS editor by default. This section describes how to use the Template Builder for the same purpose. In the Task interface section of your project, select Template builder and paste the code of the following example to the Config section.
Take a look at the example: the interface includes a text block, a button for sending the coordinates of the Toloker's device, a button for uploading photos, and a comment field. Note that validation and task layout are already configured in this Template Builder sample code.
View exampleIf this template doesn't meet your needs, see other examples in the Field tasks section.
To add a detailed description to the task, use one more view.text component. To start a new line, use \n
.
To enhance Toloker's experience, you can highlight different types of data with colors using view.alert. You can place it in the view.list along with the other components.
In this example, the text is highlighted with a blue border.
Last updated: March 30, 2023