Triangle

Allows you to drag on a map view to define the center point and a corner of a triangle-shaped geometry. The created triangle shape is aligned along the vertical axis, pointing opposite to the direction of the drag. To create triangles pointing in other directions, ensure InteractionConfiguration.allowRotatingSelectedElement and InteractionConfiguration.allowPartSelection are true to allow interactive selection and rotation to the desired direction.

To create an equilateral triangle, use this value in combination with a ShapeTool.configuration value of GeometryEditorScaleMode.Uniform.

Since

200.2.0