Class nokia.maps.kml.Folder
Class Summary
This class represents the <Folder> tag from the KML specification.
The constructor initializes a new instance of the class, using the arguments provided by the caller.
Extends
nokia.maps.kml.Container.
new nokia.maps.kml.Folder
(node, styleContainer, featureStyle)
Method Summary
addObserver
(key, callback, [context])
: nokia.maps.util.OObject
This method registers an observer for the property named by the caller.
get
(key)
: Variant
This method retrieves the value of the property with the name provided by the caller.
load
(onReadyCallback, parentNode)
This method recursively parses a node and all its child nodes.
remove
(key)
: nokia.maps.util.OObject
This method removes the property with the name provided by the caller.
removeObserver
(key, callback, context)
: nokia.maps.util.OObject
This method removes the observer for the property named by the caller.
set
(nameOrObject, [value, [force]])
: nokia.maps.util.OObject
This method sets property values, using the property names and values supplied by the caller.
Field Summary
Array
features
This property holds an array of nokia.maps.kml.Feature elements
Direct Inheritance
Inherited from nokia.maps.kml.Container:
getAllPlacemarksAsGeometries
getPlacemarksAsGeometries
features
Indirect Inheritance
Inherited from nokia.maps.kml.ObservableNode:
load
Constructor Detail
This class represents the <Folder> tag from the KML specification.
The constructor initializes a new instance of the class, using the arguments provided by the caller.
new nokia.maps.kml.Folder(node, styleContainer, featureStyle)
Parameters:
| {Node} | node | An XML node from KML document, which is currently parsed. |
| {nokia.maps.kml.StyleContainer} | styleContainer |
A list of
StyleSelector objects, contains all global styles that can be referenced by id
|
| {nokia.maps.kml.FeatureStyle} | featureStyle | Contains locally defined styles which can be applied to the given object |
