A KML node with associated Geometry. More...
|  Header |  #include <Kml | 
|  Since |  Esri | 
|  Inherits |  Esri | 
This class was introduced in Esri::ArcGISRuntime 100.4.
Public Functions
| Kml | |
| virtual | ~ | 
|  Esri | geometries | 
|  Esri | graphic | 
Reimplemented Public Functions
|  virtual Esri | attributes() const override | 
|  virtual Esri | geometry() const override | 
| virtual void | set | 
Signals
| void | geometry | 
Detailed Description
Member Function Documentation
KmlPlacemark::KmlPlacemark (const Esri::ArcGISRuntime::KmlGeometry     &kmlGeometry , QObject *parent = nullptr)  
Construct a KmlPlacemark from a kmlGeometry with an optional parent object.
- kmlGeometry - Geometry to use for the new placemark.
 
This function was introduced in Esri::ArcGISRuntime 100.6.
[signal] void KmlPlacemark::geometryChanged ()  
Signal emitted when the geometry is changed.
See also GeoElement.
[override virtual] KmlPlacemark::~KmlPlacemark  ()  
Destructor.
[override virtual] Esri::ArcGISRuntime::AttributeListModel      *KmlPlacemark::attributes() const   
Reimplements: GeoElement::attributes() const.
Returns a list model of all the KmlPlacemark attributes as key-value pairs.
Warning: the attrributes list should be considered constant and immutable. You are not restricted from making changes, but the changes will not be persisted or updated.
Returns the following attributes only.
- name - KML node's name.
 - html - KML node's popup content as a fully formatted HTML string.
 - is_popup_location_absolute - A Boolean that indicates whether or not the KML node's popup tail location is absolute.
 
Esri::ArcGISRuntime::KmlGeometryListModel       *KmlPlacemark::geometriesListModel  () const   
Returns the KML geometries for the KML placemark.
The collection will contain one KmlGeometry for non multi-geometry.
[override virtual] Esri::ArcGISRuntime::Geometry    KmlPlacemark::geometry() const  
Reimplements: GeoElement::geometry() const.
Returns the geometry for this KmlPlacemark.
Returns the GeoElement's popup tail location. This needs to be used in combination with the return value of attributes which contains the attribute - is_popup_location_absolute.
See also setGeometry() and attributes.
Esri::ArcGISRuntime::KmlGraphicType      KmlPlacemark::graphicType () const  
Returns the type of the graphic in the KML placemark.
[override virtual] void KmlPlacemark::setGeometry (const Esri::ArcGISRuntime::Geometry    &geometry)  
Reimplements: GeoElement::setGeometry(const Esri::ArcGISRuntime::Geometry &geometry).
Sets the geometry for the KmlPlacemark.
This is the GeoElement's popup tail location.
See also geometry.