Nokia Maps API Reference

Contents

Class nokia.maps.kml.StyleMap

Class Summary

The class StyleMap maps between two different styles. Typically a <StyleMap> element provides separate normal and highlighted styles for a placemark, so that the highlighted version appears when the user's mouse pointer moves over an icon.

The constructor initializes a new instance of the class, using the arguments provided by the caller.

new nokia.maps.kml.StyleMap (node, A)
Method Summary
getStyle ([highlighted]) : nokia.maps.kml.Style This method retrieves the style for the given object.
Direct Inheritance
Indirect Inheritance
Constructor Detail

The class StyleMap maps between two different styles. Typically a <StyleMap> element provides separate normal and highlighted styles for a placemark, so that the highlighted version appears when the user's mouse pointer moves over an icon.

The constructor initializes a new instance of the class, using the arguments provided by the caller.

new nokia.maps.kml.StyleMap(node, A)
Parameters:
{Node} node An XML node from the KML document that is being parsed
{nokia.maps.kml.StyleContainer} A container with an array of global styles on which the attribute id is set to be used by the given StyleMap
Method Detail
getStyle ([highlighted]) : nokia.maps.kml.Style
This method retrieves the style for the given object.
Parameters:
{Boolean} [highlighted]: A Boolean value that indicates if the method is to return the style for a highlighted case (true)
Returns:
{nokia.maps.kml.Style} An object encapsulating the style for the given class instance
Documentation generated on Tue May 08 2012 10:23:36 GMT+0200 (CEST).