Defines the properties for a single polygon shape to render over the Maps, such as coordinates, fill, border, and opacity.
string
Gets or sets the color to be used in the border of the polygon shape.
Defaults to ‘black’
number
Gets or sets the opacity of the border of the polygon shape.
Defaults to 1
number
Gets or sets the width of the border of the polygon shape.
Defaults to 1
string
Gets or sets the color to be filled in the polygon shape.
Defaults to ‘black’
number
Gets or sets the opacity of the polygon shape.
Defaults to 1
Gets or sets the points that define the polygon shape. This property holds a collection of coordinates that define the polygon shape.
Defaults to []
string
| Function
Specifies any HTML content as a tooltip on the polygon shape. If it is not set, the tooltip will not be displayed.
Defaults to ”
string
Specifies the tooltip text to be displayed for the polygon shape. If it is not set, the tooltip will not be displayed.
Defaults to ”