GeometryEditorMidVertex QML Type

GeometryEditor."> GeometryEditorMidVertex QML Type | ArcGISQtQml
  • Esri.ArcGISRuntime
  • GeometryEditorMidVertex
  • A mid-vertex element in a GeometryEditor. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 200.1
    Inherits:

    GeometryEditorElement

    Properties

    Detailed Description

    Mid-vertices do not exist in the GeometryEditor::geometry, but instead exist only in the display. They are displayed between vertices in polygon and polyline geometries and are used in interactive workflows as a visual cue to indicate new vertices can be inserted between existing vertices. They may be most helpful for users with less editing experience. Tap on a mid-vertex to select it, and drag to change the mid-vertex into a vertex (GeometryEditorVertex) in the GeometryEditor::geometry and move it to the required location.

    When a mid-vertex is selected (displayed with a selection halo), a GeometryEditorMidVertex is returned from GeometryEditor::selectedElement. Select a mid-vertex programmatically using GeometryEditor::selectMidVertex(int, int).

    Use GeometryEditorStyle::midVertexSymbol and GeometryEditorStyle::selectedMidVertexSymbol to change the appearance of the mid-vertex when unselected and selected, or set to null to prevent mid-vertices from being displayed entirely. If mid-vertices are not displayed, you can still insert vertices between existing vertices by selecting an existing GeometryEditorVertex and tapping on the map at the location to insert the new vertex.

    To prevent mid-vertices from being selected interactively while still allowing programmatic selection, set InteractionConfiguration::allowMidVertexSelection to false. If InteractionConfiguration::allowVertexCreation is false then new vertices cannot be inserted into the geometry, including by the use of mid-vertices.

    Note: You cannot declare or create a component of this type in QML code.

    See also GeometryEditorVertex, GeometryEditor, and InteractionConfiguration.

    Property Documentation

    [read-only] partIndex : int

    The index position of the part within the part collection of a multipart geometry that contains this GeometryEditorMidVertex (read-only).


    [read-only] point : Point

    The location of the point represented by this GeometryEditorMidVertex in the SpatialReference of the associated GeometryEditor (read-only).


    [read-only] segmentIndex : int

    The index position of the segment on which the selected mid-vertex lies (read-only).


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.