Nokia Maps API Reference

Contents

Class nokia.maps.kml.FeatureStyle

Class Summary

This class represents a style applicable to the class Feature.

new nokia.maps.kml.FeatureStyle (style, [highlighted])
Method Summary
mergeStyle (style, [highlighted, reverse]) This method merges the styles from the received arguments to the current instance.
Constructor Detail

Initialize a new instance of the class with the following parameters.

new nokia.maps.kml.FeatureStyle(style, [highlighted])
Parameters:
{nokia.maps.kml.Style | nokia.maps.kml.FeatureStyle} style This is the set of styles with to initialize the given instance of the class
{Boolean} [highlighted] A value indicating if the style is for highlighted shapes (true) or not (false); if the value is true, the argument style should be an instance of nokia.maps.kml.Style
Method Detail
mergeStyle (style, [highlighted, reverse])
This method merges the styles from the received arguments to the current instance.
Parameters:
{nokia.maps.kml.Style | nokia.maps.kml.FeatureStyle} style An object containing the style to be merged with the given instance of this class.
{Boolean} [highlighted]: A value indicating if the style is for highlighted shapes (true) or not (false); if the value is true, the argument style should be an instance of nokia.maps.kml.Style
{Boolean} reverse Specifies priority of the merging operation.
Documentation generated on Wed Jun 27 2012 16:54:29 GMT+0200 (CEST).