Nokia Maps API Reference

Contents

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.

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.
getAllPlacemarksAsGeometries (type) : Object This method retrieves all placemarks that belong to the given container or any of the child containers.
getPlacemarksAsGeometries () : Object This method gets placemarks which belong directly to the given container.
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
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
Documentation generated on Tue May 08 2012 10:23:52 GMT+0200 (CEST).