An editor that allows editing and creation of features with a point list (polyline) shape.

Handles

The point list editor defines the following edit handles:
PointListEditor handles for polylines
PointListEditor handles for polylines
PointListEditor handles for polygons
PointListEditor handles for polygons
  • Point list translate handles (A): With these handles, the user can translate (move) the individual points in the point list. The user can do this by dragging the handle.
  • Point list insert handles (B): With these handles, the user can insert new points in the individual points in the point list. The user can do this by dragging the handle.
  • Point list delete handles (A): These handles aren't visible, but they're at the same location as the translate handles. With these handles, the user can remove individual points from the point list. The user can do this by clicking the handle while a modifier key (CTRL, SHIFT, ALT) is pressed. Alternatively, the user can right-click the handle to delete a point via the context menu. For touch, handles can be deleted by long-pressing the handle.
  • Helper handle: A non-interactive handle, it paints a helper line for the point list. This helper line is only visible for 3D polylines on 3D maps. It is the projection of the 3D polyline onto terrain.
  • Shape translate handle: This translates (moves) the entire Polyline shape. The light blue area in the the polygon's image above indicates where the shape translate handle is active. This includes the red stroke. For polylines, the handle is only active on the red stroke.

Creation

The PointListEditor uses the PointListCreateHandle.

Once creation starts, the user clicks (or taps) on the map to add points to the pointlist. Once placed, the points cannot be moved or removed.

If EditSettings.freehand is true, the user can start dragging the mouse near the last created point to start "freehand" drawing. While "freehand" drawing is active, points are inserted automatically under the mouse / finger.

Since

2022.1

Hierarchy

Constructors

Methods

  • 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