Creates a new PointListEditor.
This constructor does not initialize any state.
Returns true if context.shape
has a POLYLINE shape type.
Creates an edit handle that paints helper lines for the point list.
Creates an edit handle that allows the user to delete points from the point list.
By default, this creates a PointListDeleteHandle with a null
handleIconStyle.
Creates an edit handle that allows the user to insert points in the point list.
Creates an edit handle that allows the user to translate the points in the point list.
Creates the shape translation handle.
This is a handle that allows translation (moving) of an entire shape / feature.
The context to retrieve the shape translate handle for
Returns an edit handle that's used for point list (Polyline) creation.
Returns a set of handles for editing an Polyline.
By default, this delegates to the following methods:
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: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