A container for KML features and styles. More...
Header: | #include <KmlDocument.h> |
Since: | Esri::ArcGISRuntime 100.4 |
Inherits: | Esri::ArcGISRuntime::KmlContainer |
Public Functions
KmlDocument(QObject *parent = nullptr) | |
virtual | ~KmlDocument() override |
bool | containsNonSchemaDataInHierarchy() const |
bool | containsSchemaDataInHierarchy() const |
QList<Esri::ArcGISRuntime::KmlSchema *> | schemas() const |
Detailed Description
Member Function Documentation
[explicit, since Esri::ArcGISRuntime 100.6]
KmlDocument::KmlDocument (QObject *parent = nullptr)
Constructs a KmlDocument with an optional parent object.
This function was introduced in Esri::ArcGISRuntime 100.6.
[override virtual]
KmlDocument::~KmlDocument ()
Destructor.
[since Esri::ArcGISRuntime 200.5]
bool KmlDocument::containsNonSchemaDataInHierarchy () const
Returns whether the KML document contains typed/untyped non-schema extended data within its hierarchy.
Returns true
if the KML document contains typed/untyped extended data, false
otherwise. Data may be contained at the document level or any of its child nodes. Use this to avoid unnecessarily traversing the node hierarchy and checking each node individually.
This function was introduced in Esri::ArcGISRuntime 200.5.
[since Esri::ArcGISRuntime 200.5]
bool KmlDocument::containsSchemaDataInHierarchy () const
Returns whether the KML document contains schema extended data within its hierarchy.
Returns true
if the KML document contains schema extended data, false
otherwise. Data may be contained at the document level or any of its child nodes. Use this to avoid unnecessarily traversing the node hierarchy and checking each node individually.
This function was introduced in Esri::ArcGISRuntime 200.5.
[since Esri::ArcGISRuntime 200.5]
QList<Esri::ArcGISRuntime::KmlSchema *> KmlDocument::schemas() const
Returns the extended data schema for the KML document.
KML files may contain schemas that define the structure of schema data in a node's extended data. The schema is obtained at the document level for faster feature set creation. If a schema is not available, the array will be empty.
This function was introduced in Esri::ArcGISRuntime 200.5.