Obsolete Members for SketchVertex

  • SketchVertex
  • The following members of class SketchVertex are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

    Public Functions

    (deprecated) int insertionIndex() const
    (deprecated) int partIndex() const
    (deprecated) Esri::ArcGISRuntime::Point point() const
    (deprecated) int pointIndex() const

    Static Public Members

    (deprecated) Esri::ArcGISRuntime::SketchVertex *createMidVertex(int partIndex, int insertionIndex, QObject *parent)
    (deprecated) Esri::ArcGISRuntime::SketchVertex *createVertex(int partIndex, int pointIndex, QObject *parent)

    Member Function Documentation

    [static] Esri::ArcGISRuntime::SketchVertex *SketchVertex::createMidVertex(int partIndex, int insertionIndex, QObject *parent)

    This function is deprecated. We strongly advise against using it in new code.

    Creates a SketchVertex with partIndex, insertionIndex and optional parent, which will represent a mid-vertex.

    since Esri::ArcGISRuntime 200.2

    SketchEditor and associated types are deprecated. Use GeometryEditor instead.

    [static] Esri::ArcGISRuntime::SketchVertex *SketchVertex::createVertex(int partIndex, int pointIndex, QObject *parent)

    This function is deprecated. We strongly advise against using it in new code.

    Creates a SketchVertex with partIndex, pointIndex and optional parent

    since Esri::ArcGISRuntime 200.2

    SketchEditor and associated types are deprecated. Use GeometryEditor instead.

    int SketchVertex::insertionIndex() const

    This function is deprecated. We strongly advise against using it in new code.

    Returns the index position of the sketch vertex in the insertion collection for the multipart geometry (e.g. multiple points, polyline, polygon).

    A pointIndex value of -1 with an insertionIndex value >= 0, indicates that the vertex has not yet been committed to the multipart geometry (i.e. mid-vertex). A pointIndex value >=0 with an insertionIndex value of -1, indicates that vertex has been committed to the multipart geometry (i.e. actual vertex).

    since Esri::ArcGISRuntime 200.2

    SketchEditor and associated types are deprecated. Use GeometryEditor instead.

    int SketchVertex::partIndex() const

    This function is deprecated. We strongly advise against using it in new code.

    Returns the index of the part in the sketch editor's geometry at which this vertex can be found.

    since Esri::ArcGISRuntime 200.2

    SketchEditor and associated types are deprecated. Use GeometryEditor instead.

    Esri::ArcGISRuntime::Point SketchVertex::point() const

    This function is deprecated. We strongly advise against using it in new code.

    Returns the location of the sketch vertex in map coordinates.

    since Esri::ArcGISRuntime 200.2

    SketchEditor and associated types are deprecated. Use GeometryEditor instead.

    int SketchVertex::pointIndex() const

    This function is deprecated. We strongly advise against using it in new code.

    Returns the index position of the sketch vertex in the point collection for the multipart geometry (e.g. multiple points, polyline, polygon).

    A pointIndex value of -1 with an insertionIndex value >= 0, indicates that the vertex has not yet been committed to the multipart geometry (i.e. mid-vertex). A pointIndex value >=0 with an insertionIndex value of -1, indicates that vertex has been committed to the multipart geometry (i.e. actual vertex).

    since Esri::ArcGISRuntime 200.2

    SketchEditor and associated types are deprecated. Use GeometryEditor instead.

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

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close