Polygon
Props
baseLinePointsArray<readonly Coordinate>optional
classNamestringoptional
connectNullsbooleanoptional
pointsArray<readonly Coordinate>optional
The coordinates of all the vertexes of the polygon, like an array of objects with x and y coordinates.
onClickReact.MouseEventHandler<T>optional
The customized event handler of click on the polygon
onMouseDownReact.MouseEventHandler<T>optional
The customized event handler of mousedown on the polygon
onMouseEnterReact.MouseEventHandler<T>optional
The customized event handler of mouseenter on the polygon
onMouseLeaveReact.MouseEventHandler<T>optional
The customized event handler of mouseleave on the polygon
onMouseMoveReact.MouseEventHandler<T>optional
The customized event handler of mousemove on the polygon
onMouseOutReact.MouseEventHandler<T>optional
The customized event handler of mouseout on the polygon
onMouseOverReact.MouseEventHandler<T>optional
The customized event handler of mouseover on the polygon
onMouseUpReact.MouseEventHandler<T>optional
The customized event handler of mouseup on the polygon