Creates a new CircleBy3PointsEditor.
This constructor does not initialize any state.
Returns true if context.shape
has a CIRCLE_BY_3_POINTS shape type.
Creates an edit handle that allows the user to move the circle by dragging its center point.
Creates an edit handle that allows the user to move the circle's first point.
As a side effect, this also changes the CircleBy3Points.radius of the circle.
Creates an edit handle that allows the user to move the circle's second point.
As a side effect, this also changes the CircleBy3Points.radius of the circle.
Creates an edit handle that allows the user to move the circle's third point.
As a side effect, this also changes the CircleBy3Points.radius of the circle.
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 CircleBy3Points creation.
a CreateByTemplateHandle. The second point and third point are determined by getDefaultPoint.
Returns a set of handles for editing a CircleBy3Points.
By default, this delegates to the following methods:
An editor that allows editing and creation of features with a "circle-by-3-points" shape.
Handles
The editor defines the following edit handles:Creation
The CircleBy3PointsEditor uses the "Create-by-template" strategy. After creation is started, the user clicks (or taps) once on the map. The CircleBy3Points 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