Hide Table of Contents
esri/dijit/util
esri/layer/pixelFilters
esri/process
esri/workers
Class: KMLFolder

require(["esri/layers/KMLFolder"], function(KMLFolder) { /* code goes here */ });

Description

(Added at v2.4)
Defines information about a KML folder. The KML folder is a hierarchical structure used to arrange features (Folders, Placemarks, Overlays or Network Links).KMLFolder has no constructor.

Samples

Search for samples that use this class.

Properties

NameTypeSummary
descriptionStringThe KML folder description.
featureInfosObject[]An array of objects that describe top-level KML features ids and their types.
idNumberThe KML folder id.
nameStringThe KML folder name.
parentFolderIdNumberThe id of the parent folder.
snippetStringThe KML folder snippet.
subFolderIdsNumber[]An array of ids for the KML folder's subfolders.
visibilityNumberThe visibility of the KML folder.
Property Details

<String> description

The KML folder description.

<Object[]> featureInfos

An array of objects that describe top-level KML features ids and their types. Objects in the array have the following properties:


  {

    "type":<Number>,

    "id": <Number>

  }

The type can be one of the following:Folder, GroundOverlay, Line, NetworkLink,Point, Polygon, ScreenOverlay.

<Number> id

The KML folder id.

<String> name

The KML folder name.

<Number> parentFolderId

The id of the parent folder.

<String> snippet

The KML folder snippet.

<Number[]> subFolderIds

An array of ids for the KML folder's subfolders.

<Number> visibility

The visibility of the KML folder. When 0 the folder is not visible.