KmlContainer Class

  • KmlContainer
  • class Esri::ArcGISRuntime::KmlContainer

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

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

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

    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 KmlFolder or a KmlDocument instead.

    Member Function Documentation

    [override virtual] KmlContainer::~KmlContainer()

    Destructor.

    [since Esri::ArcGISRuntime 100.6] Esri::ArcGISRuntime::KmlNodeListModel *KmlContainer::childNodesListModel() const

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

    This function was introduced in Esri::ArcGISRuntime 100.6.

    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().

    [since Esri::ArcGISRuntime 100.7] 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().

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.