Skip To Content ArcGIS for Developers Sign In Dashboard

KmlContainer Class

class Esri::ArcGISRuntime::KmlContainer

Holds one or more KML nodes and allows the creation of nested hierarchies. More...

Header: #include <KmlContainer>
Since: Esri::ArcGISRuntime 100.4
Inherits: Esri::ArcGISRuntime::KmlNode
Inherited By:

Esri::ArcGISRuntime::KmlDocument and Esri::ArcGISRuntime::KmlFolder

This class was introduced in Esri::ArcGISRuntime 100.4.

Public Functions

virtual ~KmlContainer() override
Esri::ArcGISRuntime::KmlNodeListModel *childNodesListModel() const
bool isOpen() const
bool isPartiallyVisible() const
Esri::ArcGISRuntime::KmlListItemType listItemType() const
void setListItemType(Esri::ArcGISRuntime::KmlListItemType listItemType)
void setOpen(bool open)

Detailed Description

You cannot create an instance of KmlContainer directly. Create a /l KmlFolder or a /l KmlDocument instead.

Member Function Documentation

[override virtual] KmlContainer::~KmlContainer()

Destructor.

Esri::ArcGISRuntime::KmlNodeListModel *KmlContainer::childNodesListModel() const

Returns the KML container's child nodes as a list model

bool KmlContainer::isOpen() const

Returns a flag indicating if the KML container is open.

bool KmlContainer::isPartiallyVisible() const

Returns a flag indicating if the KML container is partially visible.

Esri::ArcGISRuntime::KmlListItemType KmlContainer::listItemType() const

Returns the container's list item type.

Controls how list items are presented (e.g. as a radio button or a checkbox). See 'listItemType' attribute of 'ListStyle' in the KML specification for more information.

See also setListItemType().

void KmlContainer::setListItemType(Esri::ArcGISRuntime::KmlListItemType listItemType)

Sets the container's list item type to listItemType.

This function was introduced in Esri::ArcGISRuntime 100.7.

See also listItemType().

void KmlContainer::setOpen(bool open)

Sets the KML container to open.

See also isOpen().


Feedback on this topic?