A KML Placemark object. More...
| Header | #include <Kml |
| Since | Esri |
| Inherits | Esri |
Public Functions
(since Esri | Kml |
| virtual | ~ |
| Esri | graphic |
(since Esri Esri | kml |
(since Esri void | set |
Reimplemented Public Functions
| virtual Esri | attributes() const override |
| virtual Esri | geometry() const override |
| virtual void | set |
Detailed Description
A KML Placemark is a KML node with associated Geometry.
Relevant samples:
- Create and save KML file: Construct a KML document and save it as a KMZ file.
- Create KML multi-track: Create, save and preview a KML multi-track, captured from a location data source.
- Identify KML features: Show a callout with formatted content for a KML feature.
- List KML contents: List the contents of a KML file.
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 noexcept] 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().
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.