Hierarchy

  • IPolygonEditorProps

Properties

allowScaling?: boolean

Can polygon be scaled? This will add a scaling box around the polygon.

onCancel: (() => void)

Type declaration

    • (): void
    • Fired when drawing mode is canceled.

      Returns void

onChange: ((points: PointCollection) => void)

Type declaration

onDelete: (() => void)

Type declaration

    • (): void
    • Fired when polygon is deleted.

      Returns void

Points of polygon being drawn. The first point must not be duplicated as the last point.

Generated using TypeDoc