KmlPlacemark Class

  • KmlPlacemark
  • class Esri::ArcGISRuntime::KmlPlacemark

    A KML Placemark object. More...

    Header: #include <KmlPlacemark.h>
    Since: Esri::ArcGISRuntime 100.4
    Inherits: Esri::ArcGISRuntime::KmlNode and Esri::ArcGISRuntime::GeoElement

    Public Functions

    KmlPlacemark(const Esri::ArcGISRuntime::KmlGeometry &kmlGeometry, QObject *parent = nullptr)
    virtual ~KmlPlacemark() override
    Esri::ArcGISRuntime::KmlGraphicType graphicType() const
    Esri::ArcGISRuntime::KmlGeometry kmlGeometry() const
    void setKmlGeometry(const Esri::ArcGISRuntime::KmlGeometry &kmlGeometry)

    Reimplemented Public Functions

    virtual Esri::ArcGISRuntime::AttributeListModel *attributes() const override
    virtual Esri::ArcGISRuntime::Geometry geometry() const override
    virtual void setGeometry(const Esri::ArcGISRuntime::Geometry &geometry) override

    Signals

    Detailed Description

    A KML Placemark is a KML node with associated Geometry.

    Relevant samples:

    Member Function Documentation

    [explicit, since Esri::ArcGISRuntime 100.6] KmlPlacemark::KmlPlacemark(const Esri::ArcGISRuntime::KmlGeometry &kmlGeometry, QObject *parent = nullptr)

    Creates a KML placemark from a specified KML geometry.

    • kmlGeometry - Geometry to use for the new placemark.
    • parent - The optional parent QObject.

    This function was introduced in Esri::ArcGISRuntime 100.6.

    [override virtual] KmlPlacemark::~KmlPlacemark()

    Destructor.

    [override virtual] Esri::ArcGISRuntime::AttributeListModel *KmlPlacemark::attributes() const

    Reimplements: GeoElement::attributes() const.

    Returns the attributes of the GeoElement as a collection of name/value pairs.

    [override virtual] Esri::ArcGISRuntime::Geometry KmlPlacemark::geometry() const

    Reimplements: GeoElement::geometry() const.

    Returns the geometry defines the shape and location of the GeoElement.

    See also setGeometry().

    [signal] void KmlPlacemark::geometryChanged()

    Signal emitted when the geometry is changed.

    See also GeoElement.

    Esri::ArcGISRuntime::KmlGraphicType KmlPlacemark::graphicType() const

    Returns the type of the graphic in the KML placemark.

    [since Esri::ArcGISRuntime 200.6] Esri::ArcGISRuntime::KmlGeometry KmlPlacemark::kmlGeometry() const

    Returns the KML geometry for the KML placemark.

    This function was introduced in Esri::ArcGISRuntime 200.6.

    See also setKmlGeometry().

    [override virtual] void KmlPlacemark::setGeometry(const Esri::ArcGISRuntime::Geometry &geometry)

    Reimplements: GeoElement::setGeometry(const Esri::ArcGISRuntime::Geometry &geometry).

    Sets the geometry to geometry.

    See also geometry().

    [since Esri::ArcGISRuntime 200.6] void KmlPlacemark::setKmlGeometry(const Esri::ArcGISRuntime::KmlGeometry &kmlGeometry)

    Sets the kmlGeometry to kmlGeometry.

    This function was introduced in Esri::ArcGISRuntime 200.6.

    See also kmlGeometry.

    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