CoordinatesSpec
toloka.client.project.field_spec.CoordinatesSpec
| Source code
CoordinatesSpec(
self,
*,
required: Optional[bool] = True,
hidden: Optional[bool] = False,
current_location: Optional[bool] = None
)
Geographical coordinates field specification, such as “53.910236,27.531110
Parameters Description
Parameters | Type | Description |
---|---|---|
required |
Optional[bool] | Whether the object or input field is required |
hidden |
Optional[bool] | Whether or not to hide the input value field from the user |
current_location |
Optional[bool] | put the user's current coordinates in the field (true/false). Used in tasks for the mobile app. |