An editor that allows editing and creation of features with an arc shape.

Handles

The arc editor defines the following edit handles:
ArcEditor handles
ArcEditor handles

Creation

The ArcEditor uses the "Create-by-template" strategy. After creation is started, the user clicks (or taps) once on the map. The Arc is moved to that location and resized to a size appropriate for the current zoom level. Then, the edit handles become active. When the user is done editing the shape (by double clicking outside the shape, or a single click if finishOnSingleClick), the creation finishes.

Since

2022.1

Hierarchy

Constructors

Methods

  • Returns true if context.shape has a ARC shape type.

    Parameters

    Returns boolean

  • Creates the shape translation handle.

    This is a handle that allows translation (moving) of an entire shape / feature.

    Parameters

    • context: EditContext

      The context to retrieve the shape translate handle for

    Returns null | EditHandle