toloka.client.project.template_builder.view.MapViewV1.Polygon
| Source code
Polygon( self, points: Optional[Union[BaseComponent, List[Union[BaseComponent, str]]]] = None, *, color: Optional[Union[BaseComponent, str]] = None)
A map polygon.
Parameters | Type | Description |
---|---|---|
points | Optional[Union[BaseComponent, List[Union[BaseComponent, str]]]] | A list of polygon coordinates. Specify the coordinates in the string format, for example |
color | Optional[Union[BaseComponent, str]] | The color of the polygon. Use the hexadecimal values preceded by the |
Last updated: August 28, 2023