Class GeometryEditorStyle
GeometryEditor
.
Each GeometryEditorTool
has a GeometryEditorStyle which controls the appearance of the different
elements of the geometry
. You can change the symbology used for vertices,
selections, lines and fills. For example, in a Feature
editing workflow,
you can set the lineSymbolProperty()
to match the symbol of a polyline feature in order to
provide visual consistency.
When a GeometryEditorTool
is created, a consistent set of default symbology appropriate for that tool type
is applied to its GeometryEditorTool.styleProperty()
.
You can change the opacity
of the overall style, or alternatively set
different opacity (alpha) values on the individual symbols of the style, so that the underlying map components are
visible through the geometry being edited.
You can set each symbol to null - consider carefully how this can affect your workflows, as you will not be able
to see, select, or otherwise interact with those GeometryEditorElement
types.
When snapping is enabled (SnapSettings.enabledProperty()
), the visual cues that indicate to a user when snapping
has occurred can be customized using snappedToVertexSymbolProperty()
,
snappedToLineSymbolProperty()
, and multipleSnapCandidatesSymbolProperty()
.
- Since:
- 200.1.0
- See Also:
-
Property Summary
TypePropertyDescriptionThe symbol used to draw control handles for interactive scaling when a scalable element is selected in theGeometryEditor
andInteractionConfiguration.allowScalingSelectedElementProperty()
is true.The symbol used to draw a bounding box when a movable, rotatable, or scalable element is selected in theGeometryEditor
andInteractionConfiguration.allowScalingSelectedElementProperty()
is true.The symbol used to draw the edges currently being changed by an interactive edit, when editing polyline or polygon geometries.The symbol used to draw vertices currently being changed by an interactive edit, when editing any geometry type.The symbol used to fill the current geometry when editing polygon geometries.The symbol used to draw the current geometry when editing polyline geometries, and the outline of the geometry when editing polygon geometries.The symbol used to draw the mid-vertices of the current geometry when editing polygon or polyline geometries.The symbol used to indicate that multiple candidates for snapping exist at the interactive edit position, when theGeometryEditor
has snapped the interaction position to the best candidate.The opacity of theGeometryEditor
display in the view, a value between 0 (fully transparent) and 1 (fully opaque).The symbol used to draw a control handle for interactive rotation of the selected element, when a rotatable element is selected in theGeometryEditor
andInteractionConfiguration.allowRotatingSelectedElementProperty()
is true.The symbol used to draw the currently selected mid-vertex of the current geometry when editing polygon or polyline geometries.The symbol used to draw the currently selected vertex of the current geometry when editing any geometry type.The symbol used to indicate an edge (segment) of a feature geometry during an interactive edit, when theGeometryEditor
has snapped the interaction position to that edge.The symbol used to indicate a vertex of a feature geometry during an interactive edit, when theGeometryEditor
has snapped the interaction position to that vertex.The symbol used to draw the vertices of the current geometry when editing any geometry type.The symbol used to draw vertex numbers for the current geometry. -
Constructor Summary
ConstructorDescriptionCreates a new GeometryEditorStyle with a consistent set of red symbols, and displays white numbers on vertices. -
Method Summary
Modifier and TypeMethodDescriptionThe symbol used to draw control handles for interactive scaling when a scalable element is selected in theGeometryEditor
andInteractionConfiguration.allowScalingSelectedElementProperty()
is true.The symbol used to draw a bounding box when a movable, rotatable, or scalable element is selected in theGeometryEditor
andInteractionConfiguration.allowScalingSelectedElementProperty()
is true.The symbol used to draw the edges currently being changed by an interactive edit, when editing polyline or polygon geometries.The symbol used to draw vertices currently being changed by an interactive edit, when editing any geometry type.The symbol used to fill the current geometry when editing polygon geometries.Gets the value of theboundingBoxHandleSymbol
property.Gets the value of theboundingBoxSymbol
property.Gets the value of thefeedbackLineSymbol
property.Gets the value of thefeedbackVertexSymbol
property.Gets the value of thefillSymbol
property.Gets the value of thelineSymbol
property.Gets the value of themidVertexSymbol
property.Gets the value of themultipleSnapCandidatesSymbol
property.float
Gets the value of theopacity
property.Gets the value of therotateHandleSymbol
property.Gets the value of theselectedMidVertexSymbol
property.Gets the value of theselectedVertexSymbol
property.Gets the value of thesnappedToLineSymbol
property.Gets the value of thesnappedToVertexSymbol
property.Gets the value of thevertexSymbol
property.Gets the value of thevertexTextSymbol
property.The symbol used to draw the current geometry when editing polyline geometries, and the outline of the geometry when editing polygon geometries.The symbol used to draw the mid-vertices of the current geometry when editing polygon or polyline geometries.The symbol used to indicate that multiple candidates for snapping exist at the interactive edit position, when theGeometryEditor
has snapped the interaction position to the best candidate.The opacity of theGeometryEditor
display in the view, a value between 0 (fully transparent) and 1 (fully opaque).The symbol used to draw a control handle for interactive rotation of the selected element, when a rotatable element is selected in theGeometryEditor
andInteractionConfiguration.allowRotatingSelectedElementProperty()
is true.The symbol used to draw the currently selected mid-vertex of the current geometry when editing polygon or polyline geometries.The symbol used to draw the currently selected vertex of the current geometry when editing any geometry type.void
setBoundingBoxHandleSymbol
(Symbol boundingBoxHandleSymbol) Sets the value of theboundingBoxHandleSymbol
property.void
setBoundingBoxSymbol
(Symbol boundingBoxSymbol) Sets the value of theboundingBoxSymbol
property.void
setFeedbackLineSymbol
(Symbol feedbackLineSymbol) Sets the value of thefeedbackLineSymbol
property.void
setFeedbackVertexSymbol
(Symbol feedbackVertexSymbol) Sets the value of thefeedbackVertexSymbol
property.void
setFillSymbol
(Symbol fillSymbol) Sets the value of thefillSymbol
property.void
setLineSymbol
(Symbol lineSymbol) Sets the value of thelineSymbol
property.void
setMidVertexSymbol
(Symbol midVertexSymbol) Sets the value of themidVertexSymbol
property.void
setMultipleSnapCandidatesSymbol
(Symbol multipleSnapCandidatesSymbol) Sets the value of themultipleSnapCandidatesSymbol
property.void
setOpacity
(float opacity) Sets the value of theopacity
property.void
setRotateHandleSymbol
(Symbol rotateHandleSymbol) Sets the value of therotateHandleSymbol
property.void
setSelectedMidVertexSymbol
(Symbol selectedMidVertexSymbol) Sets the value of theselectedMidVertexSymbol
property.void
setSelectedVertexSymbol
(Symbol selectedVertexSymbol) Sets the value of theselectedVertexSymbol
property.void
setSnappedToLineSymbol
(Symbol snappedToLineSymbol) Sets the value of thesnappedToLineSymbol
property.void
setSnappedToVertexSymbol
(Symbol snappedToVertexSymbol) Sets the value of thesnappedToVertexSymbol
property.void
setVertexSymbol
(Symbol vertexSymbol) Sets the value of thevertexSymbol
property.void
setVertexTextSymbol
(Symbol vertexTextSymbol) Sets the value of thevertexTextSymbol
property.The symbol used to indicate an edge (segment) of a feature geometry during an interactive edit, when theGeometryEditor
has snapped the interaction position to that edge.The symbol used to indicate a vertex of a feature geometry during an interactive edit, when theGeometryEditor
has snapped the interaction position to that vertex.The symbol used to draw the vertices of the current geometry when editing any geometry type.The symbol used to draw vertex numbers for the current geometry.
-
Property Details
-
boundingBoxHandleSymbol
The symbol used to draw control handles for interactive scaling when a scalable element is selected in theGeometryEditor
andInteractionConfiguration.allowScalingSelectedElementProperty()
is true.When the
GeometryEditor.selectedElementProperty()
is scalable, this symbol displays control handles to allow interactive scaling (resizing) of the element. The handles are drawn upon the bounding box (seeboundingBoxSymbolProperty()
). If the selected element cannot be scaled (seeGeometryEditorElement.canScaleProperty()
) then this symbol is ignored and no handles are drawn.The default symbol is a white square
SimpleMarkerSymbol
with a black outline. Use either aMarkerSymbol
or an appropriate advanced symbol if setting this property.- Since:
- 200.2.0
- See Also:
-
boundingBoxSymbol
The symbol used to draw a bounding box when a movable, rotatable, or scalable element is selected in theGeometryEditor
andInteractionConfiguration.allowScalingSelectedElementProperty()
is true.When the
GeometryEditor.selectedElementProperty()
is movable, rotatable, or scalable, this symbol displays its minimum bounding box. If the selected element cannot be moved (GeometryEditorElement.canMoveProperty()
), rotated (GeometryEditorElement.canRotateProperty()
), or scaled (GeometryEditorElement.canScaleProperty()
) then this symbol is ignored and no box is drawn.Control handles for interactively scaling the element are drawn upon the bounding box (see
boundingBoxHandleSymbolProperty()
).The default value is a dashed black
SimpleLineSymbol
. Use either aLineSymbol
, aFillSymbol
, or an appropriate advanced symbol if setting this property.- Since:
- 200.2.0
- See Also:
-
feedbackLineSymbol
The symbol used to draw the edges currently being changed by an interactive edit, when editing polyline or polygon geometries.During an interactive edit, this symbol displays the current location of edges (polylines, or boundaries of polygons) that are changed by the interaction in progress. Unchanged lines remain displayed with
lineSymbolProperty()
.The default value is a dotted red
SimpleLineSymbol
.- Since:
- 200.1.0
- See Also:
-
feedbackVertexSymbol
The symbol used to draw vertices currently being changed by an interactive edit, when editing any geometry type.During an interactive edit, this symbol displays the current location of vertices that are changed by the interaction in progress. Unchanged vertices remain displayed with the
vertexSymbolProperty()
.Vertex numbers are not displayed for the changed vertices. The default value is the same as the default
vertex symbol
.- Since:
- 200.1.0
- See Also:
-
fillSymbol
The symbol used to fill the current geometry when editing polygon geometries.The default value is a red semi-transparent
SimpleFillSymbol
with a red outline.- Since:
- 200.1.0
- See Also:
-
lineSymbol
The symbol used to draw the current geometry when editing polyline geometries, and the outline of the geometry when editing polygon geometries.The default value is a solid red
SimpleLineSymbol
.- Since:
- 200.1.0
- See Also:
-
midVertexSymbol
The symbol used to draw the mid-vertices of the current geometry when editing polygon or polyline geometries.Mid-vertices do not exist in the
GeometryEditor.geometryProperty()
, but instead exist only in the display, located between vertices in polygon and polyline geometries as a visual cue for interactive editing. When moved interactively, a new vertex is inserted at that location.If null, no mid-vertex is displayed. In this case, you can still insert vertices between existing vertices by selecting an existing
GeometryEditorVertex
and tapping on the map.- Since:
- 200.1.0
- See Also:
-
multipleSnapCandidatesSymbol
The symbol used to indicate that multiple candidates for snapping exist at the interactive edit position, when theGeometryEditor
has snapped the interaction position to the best candidate.This symbol may indicate, for example, an intersection of two different feature geometries, two very close feature geometries, the presence of multiple vertices, or a self-intersection of a feature geometry. The
snappedToLineSymbolProperty()
and/orsnappedToVertexSymbolProperty()
will also be displayed when this symbol is displayed.The default value is a marker symbol showing an orange ring.
- Since:
- 200.4.0
- See Also:
-
opacity
The opacity of theGeometryEditor
display in the view, a value between 0 (fully transparent) and 1 (fully opaque). Default is 1.It can be useful to change opacity of the entire
GeometryEditor
display to allow features, graphics, or imagery in the underlying map view to show through the geometry editor display, which can help allow precise placement of new vertices relative to those map components.Alternatively, you can set opacity separately on each of the symbols used by this style, allowing you to make specific aspects of the geometry editor semi-transparent.
- Since:
- 200.1.0
- See Also:
-
rotateHandleSymbol
The symbol used to draw a control handle for interactive rotation of the selected element, when a rotatable element is selected in theGeometryEditor
andInteractionConfiguration.allowRotatingSelectedElementProperty()
is true.When the
GeometryEditor.selectedElementProperty()
is rotatable, this symbol displays a control handle to allow interactive rotation of the element. The handle is drawn above the top of the bounding box (seeboundingBoxSymbolProperty()
). If the selected element cannot be rotated (seeGeometryEditorElement.canRotateProperty()
) then this symbol is ignored and no rotation handle is drawn.The default symbol is a black circular arrow advanced marker symbol. Use either a
MarkerSymbol
or an appropriate advanced symbol if setting this property.- Since:
- 200.2.0
- See Also:
-
selectedMidVertexSymbol
The symbol used to draw the currently selected mid-vertex of the current geometry when editing polygon or polyline geometries.When a mid-vertex is selected, it is displayed with this symbol instead of
midVertexSymbolProperty()
.As soon as a mid-vertex is moved interactively, it is replaced by a vertex that is part of the
geometry
, and is displayed with theselectedVertexSymbolProperty()
.- Since:
- 200.1.0
- See Also:
-
selectedVertexSymbol
The symbol used to draw the currently selected vertex of the current geometry when editing any geometry type.This symbol can be used to emphasize the currently selected vertex, which can be useful if you require extra emphasis in addition to the selection halo, or wish to make the selected vertex a larger target for user interactions.
- Since:
- 200.1.0
- See Also:
-
snappedToLineSymbol
The symbol used to indicate an edge (segment) of a feature geometry during an interactive edit, when theGeometryEditor
has snapped the interaction position to that edge.This symbol is shown when an edge (segment) is the best candidate to snap the edit position to. It may be shown in addition to
snappedToVertexSymbolProperty()
, because the end of a segment effectively shares the same position as the vertices that define the start and end of that segment.The default value is a solid orange line.
- Since:
- 200.4.0
- See Also:
-
snappedToVertexSymbol
The symbol used to indicate a vertex of a feature geometry during an interactive edit, when theGeometryEditor
has snapped the interaction position to that vertex.This symbol is shown when a vertex is the best candidate to snap the edit position to. When the vertex being edited has been snapped to a vertex, the
feedbackVertexSymbolProperty()
is also adjusted to this position, which may differ slightly from the (unsnapped) pointer position. This symbol is drawn on top of theGeometryEditorStyle.feedbackVertexSymbolProperty()
.The default value is an orange circle marker symbol.
- Since:
- 200.4.0
- See Also:
-
vertexSymbol
The symbol used to draw the vertices of the current geometry when editing any geometry type.Setting a larger symbol can help users on touch devices select and work with vertices, especially for field apps where users may wear thick gloves that work with touch screens.
If null, the vertices of the geometry are not explicitly displayed. By default when using a
FreehandTool
, this is null, as you work with geometry parts instead of individual vertices. For aVertexTool
, consider your workflow carefully before setting this property to null, as you must be able to see vertices in order to select, move, or otherwise interact with them.- Since:
- 200.1.0
- See Also:
-
vertexTextSymbol
The symbol used to draw vertex numbers for the current geometry. If null, no numbers are displayed.By default when using a
FreehandTool
, this symbol is null.- Since:
- 200.1.0
- See Also:
-
-
Constructor Details
-
GeometryEditorStyle
public GeometryEditorStyle()Creates a new GeometryEditorStyle with a consistent set of red symbols, and displays white numbers on vertices.Using this constructor results in the same default symbology as the
GeometryEditorTool.styleProperty()
.- Since:
- 200.1.0
-
-
Method Details
-
boundingBoxHandleSymbolProperty
The symbol used to draw control handles for interactive scaling when a scalable element is selected in theGeometryEditor
andInteractionConfiguration.allowScalingSelectedElementProperty()
is true.When the
GeometryEditor.selectedElementProperty()
is scalable, this symbol displays control handles to allow interactive scaling (resizing) of the element. The handles are drawn upon the bounding box (seeboundingBoxSymbolProperty()
). If the selected element cannot be scaled (seeGeometryEditorElement.canScaleProperty()
) then this symbol is ignored and no handles are drawn.The default symbol is a white square
SimpleMarkerSymbol
with a black outline. Use either aMarkerSymbol
or an appropriate advanced symbol if setting this property.- Returns:
- the
boundingBoxHandleSymbol
property - Since:
- 200.2.0
- See Also:
-
getBoundingBoxHandleSymbol
Gets the value of theboundingBoxHandleSymbol
property.- Property description:
- The symbol used to draw control handles for interactive scaling when a scalable element is selected
in the
GeometryEditor
andInteractionConfiguration.allowScalingSelectedElementProperty()
is true.When the
GeometryEditor.selectedElementProperty()
is scalable, this symbol displays control handles to allow interactive scaling (resizing) of the element. The handles are drawn upon the bounding box (seeboundingBoxSymbolProperty()
). If the selected element cannot be scaled (seeGeometryEditorElement.canScaleProperty()
) then this symbol is ignored and no handles are drawn.The default symbol is a white square
SimpleMarkerSymbol
with a black outline. Use either aMarkerSymbol
or an appropriate advanced symbol if setting this property. - Returns:
- the value of the
boundingBoxHandleSymbol
property - Since:
- 200.2.0
- See Also:
-
setBoundingBoxHandleSymbol
Sets the value of theboundingBoxHandleSymbol
property.- Property description:
- The symbol used to draw control handles for interactive scaling when a scalable element is selected
in the
GeometryEditor
andInteractionConfiguration.allowScalingSelectedElementProperty()
is true.When the
GeometryEditor.selectedElementProperty()
is scalable, this symbol displays control handles to allow interactive scaling (resizing) of the element. The handles are drawn upon the bounding box (seeboundingBoxSymbolProperty()
). If the selected element cannot be scaled (seeGeometryEditorElement.canScaleProperty()
) then this symbol is ignored and no handles are drawn.The default symbol is a white square
SimpleMarkerSymbol
with a black outline. Use either aMarkerSymbol
or an appropriate advanced symbol if setting this property. - Parameters:
boundingBoxHandleSymbol
- the value for theboundingBoxHandleSymbol
property- Since:
- 200.2.0
- See Also:
-
boundingBoxSymbolProperty
The symbol used to draw a bounding box when a movable, rotatable, or scalable element is selected in theGeometryEditor
andInteractionConfiguration.allowScalingSelectedElementProperty()
is true.When the
GeometryEditor.selectedElementProperty()
is movable, rotatable, or scalable, this symbol displays its minimum bounding box. If the selected element cannot be moved (GeometryEditorElement.canMoveProperty()
), rotated (GeometryEditorElement.canRotateProperty()
), or scaled (GeometryEditorElement.canScaleProperty()
) then this symbol is ignored and no box is drawn.Control handles for interactively scaling the element are drawn upon the bounding box (see
boundingBoxHandleSymbolProperty()
).The default value is a dashed black
SimpleLineSymbol
. Use either aLineSymbol
, aFillSymbol
, or an appropriate advanced symbol if setting this property.- Returns:
- the
boundingBoxSymbol
property - Since:
- 200.2.0
- See Also:
-
getBoundingBoxSymbol
Gets the value of theboundingBoxSymbol
property.- Property description:
- The symbol used to draw a bounding box when a movable, rotatable, or scalable element is selected
in the
GeometryEditor
andInteractionConfiguration.allowScalingSelectedElementProperty()
is true.When the
GeometryEditor.selectedElementProperty()
is movable, rotatable, or scalable, this symbol displays its minimum bounding box. If the selected element cannot be moved (GeometryEditorElement.canMoveProperty()
), rotated (GeometryEditorElement.canRotateProperty()
), or scaled (GeometryEditorElement.canScaleProperty()
) then this symbol is ignored and no box is drawn.Control handles for interactively scaling the element are drawn upon the bounding box (see
boundingBoxHandleSymbolProperty()
).The default value is a dashed black
SimpleLineSymbol
. Use either aLineSymbol
, aFillSymbol
, or an appropriate advanced symbol if setting this property. - Returns:
- the value of the
boundingBoxSymbol
property - Since:
- 200.2.0
- See Also:
-
setBoundingBoxSymbol
Sets the value of theboundingBoxSymbol
property.- Property description:
- The symbol used to draw a bounding box when a movable, rotatable, or scalable element is selected
in the
GeometryEditor
andInteractionConfiguration.allowScalingSelectedElementProperty()
is true.When the
GeometryEditor.selectedElementProperty()
is movable, rotatable, or scalable, this symbol displays its minimum bounding box. If the selected element cannot be moved (GeometryEditorElement.canMoveProperty()
), rotated (GeometryEditorElement.canRotateProperty()
), or scaled (GeometryEditorElement.canScaleProperty()
) then this symbol is ignored and no box is drawn.Control handles for interactively scaling the element are drawn upon the bounding box (see
boundingBoxHandleSymbolProperty()
).The default value is a dashed black
SimpleLineSymbol
. Use either aLineSymbol
, aFillSymbol
, or an appropriate advanced symbol if setting this property. - Parameters:
boundingBoxSymbol
- the value for theboundingBoxSymbol
property- Since:
- 200.2.0
- See Also:
-
feedbackLineSymbolProperty
The symbol used to draw the edges currently being changed by an interactive edit, when editing polyline or polygon geometries.During an interactive edit, this symbol displays the current location of edges (polylines, or boundaries of polygons) that are changed by the interaction in progress. Unchanged lines remain displayed with
lineSymbolProperty()
.The default value is a dotted red
SimpleLineSymbol
.- Returns:
- the
feedbackLineSymbol
property - Since:
- 200.1.0
- See Also:
-
getFeedbackLineSymbol
Gets the value of thefeedbackLineSymbol
property.- Property description:
- The symbol used to draw the edges currently being changed by an interactive edit, when editing polyline or polygon
geometries.
During an interactive edit, this symbol displays the current location of edges (polylines, or boundaries of polygons) that are changed by the interaction in progress. Unchanged lines remain displayed with
lineSymbolProperty()
.The default value is a dotted red
SimpleLineSymbol
. - Returns:
- the value of the
feedbackLineSymbol
property - Since:
- 200.1.0
- See Also:
-
setFeedbackLineSymbol
Sets the value of thefeedbackLineSymbol
property.- Property description:
- The symbol used to draw the edges currently being changed by an interactive edit, when editing polyline or polygon
geometries.
During an interactive edit, this symbol displays the current location of edges (polylines, or boundaries of polygons) that are changed by the interaction in progress. Unchanged lines remain displayed with
lineSymbolProperty()
.The default value is a dotted red
SimpleLineSymbol
. - Parameters:
feedbackLineSymbol
- the value for thefeedbackLineSymbol
property- Since:
- 200.1.0
- See Also:
-
feedbackVertexSymbolProperty
The symbol used to draw vertices currently being changed by an interactive edit, when editing any geometry type.During an interactive edit, this symbol displays the current location of vertices that are changed by the interaction in progress. Unchanged vertices remain displayed with the
vertexSymbolProperty()
.Vertex numbers are not displayed for the changed vertices. The default value is the same as the default
vertex symbol
.- Returns:
- the
feedbackVertexSymbol
property - Since:
- 200.1.0
- See Also:
-
getFeedbackVertexSymbol
Gets the value of thefeedbackVertexSymbol
property.- Property description:
- The symbol used to draw vertices currently being changed by an interactive edit, when editing any geometry type.
During an interactive edit, this symbol displays the current location of vertices that are changed by the interaction in progress. Unchanged vertices remain displayed with the
vertexSymbolProperty()
.Vertex numbers are not displayed for the changed vertices. The default value is the same as the default
vertex symbol
. - Returns:
- the value of the
feedbackVertexSymbol
property - Since:
- 200.1.0
- See Also:
-
setFeedbackVertexSymbol
Sets the value of thefeedbackVertexSymbol
property.- Property description:
- The symbol used to draw vertices currently being changed by an interactive edit, when editing any geometry type.
During an interactive edit, this symbol displays the current location of vertices that are changed by the interaction in progress. Unchanged vertices remain displayed with the
vertexSymbolProperty()
.Vertex numbers are not displayed for the changed vertices. The default value is the same as the default
vertex symbol
. - Parameters:
feedbackVertexSymbol
- the value for thefeedbackVertexSymbol
property- Since:
- 200.1.0
- See Also:
-
fillSymbolProperty
The symbol used to fill the current geometry when editing polygon geometries.The default value is a red semi-transparent
SimpleFillSymbol
with a red outline.- Returns:
- the
fillSymbol
property - Since:
- 200.1.0
- See Also:
-
getFillSymbol
Gets the value of thefillSymbol
property.- Property description:
- The symbol used to fill the current geometry when editing polygon geometries.
The default value is a red semi-transparent
SimpleFillSymbol
with a red outline. - Returns:
- the value of the
fillSymbol
property - Since:
- 200.1.0
- See Also:
-
setFillSymbol
Sets the value of thefillSymbol
property.- Property description:
- The symbol used to fill the current geometry when editing polygon geometries.
The default value is a red semi-transparent
SimpleFillSymbol
with a red outline. - Parameters:
fillSymbol
- the value for thefillSymbol
property- Since:
- 200.1.0
- See Also:
-
lineSymbolProperty
The symbol used to draw the current geometry when editing polyline geometries, and the outline of the geometry when editing polygon geometries.The default value is a solid red
SimpleLineSymbol
.- Returns:
- the
lineSymbol
property - Since:
- 200.1.0
- See Also:
-
getLineSymbol
Gets the value of thelineSymbol
property.- Property description:
- The symbol used to draw the current geometry when editing polyline geometries, and the outline of the geometry when
editing polygon geometries.
The default value is a solid red
SimpleLineSymbol
. - Returns:
- the value of the
lineSymbol
property - Since:
- 200.1.0
- See Also:
-
setLineSymbol
Sets the value of thelineSymbol
property.- Property description:
- The symbol used to draw the current geometry when editing polyline geometries, and the outline of the geometry when
editing polygon geometries.
The default value is a solid red
SimpleLineSymbol
. - Parameters:
lineSymbol
- the value for thelineSymbol
property- Since:
- 200.1.0
- See Also:
-
midVertexSymbolProperty
The symbol used to draw the mid-vertices of the current geometry when editing polygon or polyline geometries.Mid-vertices do not exist in the
GeometryEditor.geometryProperty()
, but instead exist only in the display, located between vertices in polygon and polyline geometries as a visual cue for interactive editing. When moved interactively, a new vertex is inserted at that location.If null, no mid-vertex is displayed. In this case, you can still insert vertices between existing vertices by selecting an existing
GeometryEditorVertex
and tapping on the map.- Returns:
- the
midVertexSymbol
property - Since:
- 200.1.0
- See Also:
-
getMidVertexSymbol
Gets the value of themidVertexSymbol
property.- Property description:
- The symbol used to draw the mid-vertices of the current geometry when editing polygon or polyline geometries.
Mid-vertices do not exist in the
GeometryEditor.geometryProperty()
, but instead exist only in the display, located between vertices in polygon and polyline geometries as a visual cue for interactive editing. When moved interactively, a new vertex is inserted at that location.If null, no mid-vertex is displayed. In this case, you can still insert vertices between existing vertices by selecting an existing
GeometryEditorVertex
and tapping on the map. - Returns:
- the value of the
midVertexSymbol
property - Since:
- 200.1.0
- See Also:
-
setMidVertexSymbol
Sets the value of themidVertexSymbol
property.- Property description:
- The symbol used to draw the mid-vertices of the current geometry when editing polygon or polyline geometries.
Mid-vertices do not exist in the
GeometryEditor.geometryProperty()
, but instead exist only in the display, located between vertices in polygon and polyline geometries as a visual cue for interactive editing. When moved interactively, a new vertex is inserted at that location.If null, no mid-vertex is displayed. In this case, you can still insert vertices between existing vertices by selecting an existing
GeometryEditorVertex
and tapping on the map. - Parameters:
midVertexSymbol
- the value for themidVertexSymbol
property- Since:
- 200.1.0
- See Also:
-
multipleSnapCandidatesSymbolProperty
The symbol used to indicate that multiple candidates for snapping exist at the interactive edit position, when theGeometryEditor
has snapped the interaction position to the best candidate.This symbol may indicate, for example, an intersection of two different feature geometries, two very close feature geometries, the presence of multiple vertices, or a self-intersection of a feature geometry. The
snappedToLineSymbolProperty()
and/orsnappedToVertexSymbolProperty()
will also be displayed when this symbol is displayed.The default value is a marker symbol showing an orange ring.
- Returns:
- the
multipleSnapCandidatesSymbol
property - Since:
- 200.4.0
- See Also:
-
getMultipleSnapCandidatesSymbol
Gets the value of themultipleSnapCandidatesSymbol
property.- Property description:
- The symbol used to indicate that multiple candidates for snapping exist at the interactive edit
position, when the
GeometryEditor
has snapped the interaction position to the best candidate.This symbol may indicate, for example, an intersection of two different feature geometries, two very close feature geometries, the presence of multiple vertices, or a self-intersection of a feature geometry. The
snappedToLineSymbolProperty()
and/orsnappedToVertexSymbolProperty()
will also be displayed when this symbol is displayed.The default value is a marker symbol showing an orange ring.
- Returns:
- the value of the
multipleSnapCandidatesSymbol
property - Since:
- 200.4.0
- See Also:
-
setMultipleSnapCandidatesSymbol
Sets the value of themultipleSnapCandidatesSymbol
property.- Property description:
- The symbol used to indicate that multiple candidates for snapping exist at the interactive edit
position, when the
GeometryEditor
has snapped the interaction position to the best candidate.This symbol may indicate, for example, an intersection of two different feature geometries, two very close feature geometries, the presence of multiple vertices, or a self-intersection of a feature geometry. The
snappedToLineSymbolProperty()
and/orsnappedToVertexSymbolProperty()
will also be displayed when this symbol is displayed.The default value is a marker symbol showing an orange ring.
- Parameters:
multipleSnapCandidatesSymbol
- the value for themultipleSnapCandidatesSymbol
property- Since:
- 200.4.0
- See Also:
-
opacityProperty
The opacity of theGeometryEditor
display in the view, a value between 0 (fully transparent) and 1 (fully opaque). Default is 1.It can be useful to change opacity of the entire
GeometryEditor
display to allow features, graphics, or imagery in the underlying map view to show through the geometry editor display, which can help allow precise placement of new vertices relative to those map components.Alternatively, you can set opacity separately on each of the symbols used by this style, allowing you to make specific aspects of the geometry editor semi-transparent.
- Returns:
- the
opacity
property - Since:
- 200.1.0
- See Also:
-
getOpacity
public float getOpacity()Gets the value of theopacity
property.- Property description:
- The opacity of the
GeometryEditor
display in the view, a value between 0 (fully transparent) and 1 (fully opaque). Default is 1.It can be useful to change opacity of the entire
GeometryEditor
display to allow features, graphics, or imagery in the underlying map view to show through the geometry editor display, which can help allow precise placement of new vertices relative to those map components.Alternatively, you can set opacity separately on each of the symbols used by this style, allowing you to make specific aspects of the geometry editor semi-transparent.
- Returns:
- the value of the
opacity
property - Since:
- 200.1.0
- See Also:
-
setOpacity
public void setOpacity(float opacity) Sets the value of theopacity
property.- Property description:
- The opacity of the
GeometryEditor
display in the view, a value between 0 (fully transparent) and 1 (fully opaque). Default is 1.It can be useful to change opacity of the entire
GeometryEditor
display to allow features, graphics, or imagery in the underlying map view to show through the geometry editor display, which can help allow precise placement of new vertices relative to those map components.Alternatively, you can set opacity separately on each of the symbols used by this style, allowing you to make specific aspects of the geometry editor semi-transparent.
- Parameters:
opacity
- the value for theopacity
property- Since:
- 200.1.0
- See Also:
-
rotateHandleSymbolProperty
The symbol used to draw a control handle for interactive rotation of the selected element, when a rotatable element is selected in theGeometryEditor
andInteractionConfiguration.allowRotatingSelectedElementProperty()
is true.When the
GeometryEditor.selectedElementProperty()
is rotatable, this symbol displays a control handle to allow interactive rotation of the element. The handle is drawn above the top of the bounding box (seeboundingBoxSymbolProperty()
). If the selected element cannot be rotated (seeGeometryEditorElement.canRotateProperty()
) then this symbol is ignored and no rotation handle is drawn.The default symbol is a black circular arrow advanced marker symbol. Use either a
MarkerSymbol
or an appropriate advanced symbol if setting this property.- Returns:
- the
rotateHandleSymbol
property - Since:
- 200.2.0
- See Also:
-
getRotateHandleSymbol
Gets the value of therotateHandleSymbol
property.- Property description:
- The symbol used to draw a control handle for interactive rotation of the selected element, when a rotatable
element is selected in the
GeometryEditor
andInteractionConfiguration.allowRotatingSelectedElementProperty()
is true.When the
GeometryEditor.selectedElementProperty()
is rotatable, this symbol displays a control handle to allow interactive rotation of the element. The handle is drawn above the top of the bounding box (seeboundingBoxSymbolProperty()
). If the selected element cannot be rotated (seeGeometryEditorElement.canRotateProperty()
) then this symbol is ignored and no rotation handle is drawn.The default symbol is a black circular arrow advanced marker symbol. Use either a
MarkerSymbol
or an appropriate advanced symbol if setting this property. - Returns:
- the value of the
rotateHandleSymbol
property - Since:
- 200.2.0
- See Also:
-
setRotateHandleSymbol
Sets the value of therotateHandleSymbol
property.- Property description:
- The symbol used to draw a control handle for interactive rotation of the selected element, when a rotatable
element is selected in the
GeometryEditor
andInteractionConfiguration.allowRotatingSelectedElementProperty()
is true.When the
GeometryEditor.selectedElementProperty()
is rotatable, this symbol displays a control handle to allow interactive rotation of the element. The handle is drawn above the top of the bounding box (seeboundingBoxSymbolProperty()
). If the selected element cannot be rotated (seeGeometryEditorElement.canRotateProperty()
) then this symbol is ignored and no rotation handle is drawn.The default symbol is a black circular arrow advanced marker symbol. Use either a
MarkerSymbol
or an appropriate advanced symbol if setting this property. - Parameters:
rotateHandleSymbol
- the value for therotateHandleSymbol
property- Since:
- 200.2.0
- See Also:
-
selectedMidVertexSymbolProperty
The symbol used to draw the currently selected mid-vertex of the current geometry when editing polygon or polyline geometries.When a mid-vertex is selected, it is displayed with this symbol instead of
midVertexSymbolProperty()
.As soon as a mid-vertex is moved interactively, it is replaced by a vertex that is part of the
geometry
, and is displayed with theselectedVertexSymbolProperty()
.- Returns:
- the
selectedMidVertexSymbol
property - Since:
- 200.1.0
- See Also:
-
getSelectedMidVertexSymbol
Gets the value of theselectedMidVertexSymbol
property.- Property description:
- The symbol used to draw the currently selected mid-vertex of the current geometry when editing polygon or polyline
geometries.
When a mid-vertex is selected, it is displayed with this symbol instead of
midVertexSymbolProperty()
.As soon as a mid-vertex is moved interactively, it is replaced by a vertex that is part of the
geometry
, and is displayed with theselectedVertexSymbolProperty()
. - Returns:
- the value of the
selectedMidVertexSymbol
property - Since:
- 200.1.0
- See Also:
-
setSelectedMidVertexSymbol
Sets the value of theselectedMidVertexSymbol
property.- Property description:
- The symbol used to draw the currently selected mid-vertex of the current geometry when editing polygon or polyline
geometries.
When a mid-vertex is selected, it is displayed with this symbol instead of
midVertexSymbolProperty()
.As soon as a mid-vertex is moved interactively, it is replaced by a vertex that is part of the
geometry
, and is displayed with theselectedVertexSymbolProperty()
. - Parameters:
selectedMidVertexSymbol
- the value for theselectedMidVertexSymbol
property- Since:
- 200.1.0
- See Also:
-
selectedVertexSymbolProperty
The symbol used to draw the currently selected vertex of the current geometry when editing any geometry type.This symbol can be used to emphasize the currently selected vertex, which can be useful if you require extra emphasis in addition to the selection halo, or wish to make the selected vertex a larger target for user interactions.
- Returns:
- the
selectedVertexSymbol
property - Since:
- 200.1.0
- See Also:
-
getSelectedVertexSymbol
Gets the value of theselectedVertexSymbol
property.- Property description:
- The symbol used to draw the currently selected vertex of the current geometry when editing any geometry type.
This symbol can be used to emphasize the currently selected vertex, which can be useful if you require extra emphasis in addition to the selection halo, or wish to make the selected vertex a larger target for user interactions.
- Returns:
- the value of the
selectedVertexSymbol
property - Since:
- 200.1.0
- See Also:
-
setSelectedVertexSymbol
Sets the value of theselectedVertexSymbol
property.- Property description:
- The symbol used to draw the currently selected vertex of the current geometry when editing any geometry type.
This symbol can be used to emphasize the currently selected vertex, which can be useful if you require extra emphasis in addition to the selection halo, or wish to make the selected vertex a larger target for user interactions.
- Parameters:
selectedVertexSymbol
- the value for theselectedVertexSymbol
property- Since:
- 200.1.0
- See Also:
-
snappedToLineSymbolProperty
The symbol used to indicate an edge (segment) of a feature geometry during an interactive edit, when theGeometryEditor
has snapped the interaction position to that edge.This symbol is shown when an edge (segment) is the best candidate to snap the edit position to. It may be shown in addition to
snappedToVertexSymbolProperty()
, because the end of a segment effectively shares the same position as the vertices that define the start and end of that segment.The default value is a solid orange line.
- Returns:
- the
snappedToLineSymbol
property - Since:
- 200.4.0
- See Also:
-
getSnappedToLineSymbol
Gets the value of thesnappedToLineSymbol
property.- Property description:
- The symbol used to indicate an edge (segment) of a feature geometry during an interactive edit, when the
GeometryEditor
has snapped the interaction position to that edge.This symbol is shown when an edge (segment) is the best candidate to snap the edit position to. It may be shown in addition to
snappedToVertexSymbolProperty()
, because the end of a segment effectively shares the same position as the vertices that define the start and end of that segment.The default value is a solid orange line.
- Returns:
- the value of the
snappedToLineSymbol
property - Since:
- 200.4.0
- See Also:
-
setSnappedToLineSymbol
Sets the value of thesnappedToLineSymbol
property.- Property description:
- The symbol used to indicate an edge (segment) of a feature geometry during an interactive edit, when the
GeometryEditor
has snapped the interaction position to that edge.This symbol is shown when an edge (segment) is the best candidate to snap the edit position to. It may be shown in addition to
snappedToVertexSymbolProperty()
, because the end of a segment effectively shares the same position as the vertices that define the start and end of that segment.The default value is a solid orange line.
- Parameters:
snappedToLineSymbol
- the value for thesnappedToLineSymbol
property- Since:
- 200.4.0
- See Also:
-
snappedToVertexSymbolProperty
The symbol used to indicate a vertex of a feature geometry during an interactive edit, when theGeometryEditor
has snapped the interaction position to that vertex.This symbol is shown when a vertex is the best candidate to snap the edit position to. When the vertex being edited has been snapped to a vertex, the
feedbackVertexSymbolProperty()
is also adjusted to this position, which may differ slightly from the (unsnapped) pointer position. This symbol is drawn on top of theGeometryEditorStyle.feedbackVertexSymbolProperty()
.The default value is an orange circle marker symbol.
- Returns:
- the
snappedToVertexSymbol
property - Since:
- 200.4.0
- See Also:
-
getSnappedToVertexSymbol
Gets the value of thesnappedToVertexSymbol
property.- Property description:
- The symbol used to indicate a vertex of a feature geometry during an interactive edit, when the
GeometryEditor
has snapped the interaction position to that vertex.This symbol is shown when a vertex is the best candidate to snap the edit position to. When the vertex being edited has been snapped to a vertex, the
feedbackVertexSymbolProperty()
is also adjusted to this position, which may differ slightly from the (unsnapped) pointer position. This symbol is drawn on top of theGeometryEditorStyle.feedbackVertexSymbolProperty()
.The default value is an orange circle marker symbol.
- Returns:
- the value of the
snappedToVertexSymbol
property - Since:
- 200.4.0
- See Also:
-
setSnappedToVertexSymbol
Sets the value of thesnappedToVertexSymbol
property.- Property description:
- The symbol used to indicate a vertex of a feature geometry during an interactive edit, when the
GeometryEditor
has snapped the interaction position to that vertex.This symbol is shown when a vertex is the best candidate to snap the edit position to. When the vertex being edited has been snapped to a vertex, the
feedbackVertexSymbolProperty()
is also adjusted to this position, which may differ slightly from the (unsnapped) pointer position. This symbol is drawn on top of theGeometryEditorStyle.feedbackVertexSymbolProperty()
.The default value is an orange circle marker symbol.
- Parameters:
snappedToVertexSymbol
- the value for thesnappedToVertexSymbol
property- Since:
- 200.4.0
- See Also:
-
vertexSymbolProperty
The symbol used to draw the vertices of the current geometry when editing any geometry type.Setting a larger symbol can help users on touch devices select and work with vertices, especially for field apps where users may wear thick gloves that work with touch screens.
If null, the vertices of the geometry are not explicitly displayed. By default when using a
FreehandTool
, this is null, as you work with geometry parts instead of individual vertices. For aVertexTool
, consider your workflow carefully before setting this property to null, as you must be able to see vertices in order to select, move, or otherwise interact with them.- Returns:
- the
vertexSymbol
property - Since:
- 200.1.0
- See Also:
-
getVertexSymbol
Gets the value of thevertexSymbol
property.- Property description:
- The symbol used to draw the vertices of the current geometry when editing any geometry type.
Setting a larger symbol can help users on touch devices select and work with vertices, especially for field apps where users may wear thick gloves that work with touch screens.
If null, the vertices of the geometry are not explicitly displayed. By default when using a
FreehandTool
, this is null, as you work with geometry parts instead of individual vertices. For aVertexTool
, consider your workflow carefully before setting this property to null, as you must be able to see vertices in order to select, move, or otherwise interact with them. - Returns:
- the value of the
vertexSymbol
property - Since:
- 200.1.0
- See Also:
-
setVertexSymbol
Sets the value of thevertexSymbol
property.- Property description:
- The symbol used to draw the vertices of the current geometry when editing any geometry type.
Setting a larger symbol can help users on touch devices select and work with vertices, especially for field apps where users may wear thick gloves that work with touch screens.
If null, the vertices of the geometry are not explicitly displayed. By default when using a
FreehandTool
, this is null, as you work with geometry parts instead of individual vertices. For aVertexTool
, consider your workflow carefully before setting this property to null, as you must be able to see vertices in order to select, move, or otherwise interact with them. - Parameters:
vertexSymbol
- the value for thevertexSymbol
property- Since:
- 200.1.0
- See Also:
-
vertexTextSymbolProperty
The symbol used to draw vertex numbers for the current geometry. If null, no numbers are displayed.By default when using a
FreehandTool
, this symbol is null.- Returns:
- the
vertexTextSymbol
property - Since:
- 200.1.0
- See Also:
-
getVertexTextSymbol
Gets the value of thevertexTextSymbol
property.- Property description:
- The symbol used to draw vertex numbers for the current geometry. If null, no numbers are displayed.
By default when using a
FreehandTool
, this symbol is null. - Returns:
- the value of the
vertexTextSymbol
property - Since:
- 200.1.0
- See Also:
-
setVertexTextSymbol
Sets the value of thevertexTextSymbol
property.- Property description:
- The symbol used to draw vertex numbers for the current geometry. If null, no numbers are displayed.
By default when using a
FreehandTool
, this symbol is null. - Parameters:
vertexTextSymbol
- the value for thevertexTextSymbol
property- Since:
- 200.1.0
- See Also:
-