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

    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 KmlFolder or a 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

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

    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.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close