A handle to insert points into a point list (Polyline).

It composes a list of SinglePointInsertHandle. By default, a SinglePointInsertHandle is placed at the center of every segment of the point list.

See

PointListEditor

Since

2022.1

Hierarchy

Constructors

Accessors

  • set activeHandleIndex(index): void
  • The index of the active handle.

    Only relevant when cascading is false.

    -1 if no handle should be active.

    Parameters

    • index: number

    Returns void

  • get handles(): readonly EditHandle[]
  • The list of handles that this CompositeEditHandle delegates to.

    Note that the setter has side effects. Do not modify the list of handles in-place (e.g. push() new handles to the array after the setter has been called).

    Returns readonly EditHandle[]

  • set handles(handles): void
  • Parameters

    Returns void

  • get maximumPointCount(): number
  • Returns number

Methods

Events

"EditShape" event

  • on("EditShape", callback: ((event) => void)) : Handle
  • An event that is emitted whenever this handle changes the shape of a feature.

    EditShape

    Parameters

    • event: "EditShape"
    • callback: ((event) => void)

    Returns Handle