field.map

Adds a map to your task and allows Tolokers to set markers on it.

Use this component to set the targets for the tasks with the markers, select the areas with polygons. Specify the position and colors for the elements on the map.

A Toloker can set markers on the map, so you can use this component to create tasks to find a specific places on maps or for Tolokers to check other Tolokers (for example, to check field tasks).

You can set the following map properties: scale, position of the map center, label, and hint for the Tolokers.

View example

Component properties

NameTypeDescription
type*"field.map"Set component type.
data*writable

Data with values that will be processed or changed. Learn more about working with data.

labelstringLabel above the component.
center*stringDetermines the position of the map center. Specify the coordinates in the string format, for example, "29.748713,-95.404287", or use the data.location component to set the center of the map to the Toloker's current position.
editableMarkerLabelstringThe label for the marker that Toloker places or edits
hintstringHint text.
markersarraySpecifies the markers present on the map.
markers[]objectThe list of the markers set on the map.
markers[].colorstringDetermines the marker color. Use the hexadecimal values preceded by the # sign to specify the color.
markers[].labelstringThe label for the marker that tells Tolokers what this marker is for and helps distinguish it from other markers.
markers[].position*stringDetermines the marker position. Specify the coordinates in the string format, for example, "29.748713,-95.404287", or use the data.location component to set the marker to the Toloker's current position.
polygonsarraySpecifies the polygonal objects that you can use to select areas on the map.
polygons[]objectThe list of the polygonal selection areas on the map.
polygons[].colorstringDetermines the polygonal selection area color. Use the hexadecimal values preceded by the # sign to specify the color.
polygons[].pointsarrayThe list of the polygonal selection area points.
polygons[].points[]stringDetermines the position and shape of the polygonal selection areas. Specify the coordinates in the string format, for example, "29.748713,-95.404287".
validationconditionValidation based on condition.
zoomintegerThe map initial scale. Use the values from 0 to 19. Bigger values give a more detailed map view.
Contact support

Last updated: May 26, 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