Creates a new EllipseEditor.
This constructor does not initialize any state.
Returns true if context.shape
has a ELLIPSE shape type.
Creates an edit handle that allows the user to translate the given ellipse by translating its center point.
Creates an edit handle that paints helper lines for the Ellipse.
Creates an edit handle that allows the user to change the length of the major axis of the ellipse and the rotation of the ellipse.
Creates an edit handle that allows the user to change the length of the major axis of the ellipse and the rotation of the ellipse.
Creates an edit handle that allows the user to change the length of the minor axis of the ellipse and the rotation of the ellipse.
Creates an edit handle that allows the user to change the length of the minor axis of the ellipse and the rotation of the ellipse.
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 Ellipse creation.
a CreateByTemplateHandle. The length of the major axis of the ellipse of the template is determined by getDefaultSize. The length of the minor axis is half the length of the major axis. The rotationAzimuth is kept as-is, as it was set in CreateController.onCreateNewObject.
Returns a set of handles for editing an Ellipse.
By default, this delegates to the following methods:
An editor that allows editing and creation of features with an ellipse shape.
Handles
The ellipse editor defines the following edit handles:Creation
The EllipseEditor uses the "Create-by-template" strategy. After creation is started, the user clicks (or taps) once on the map. The Ellipse 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