This class represents a collection of rules for rendering features.
ALKMaps. | This class represents a collection of rules for rendering features. |
Properties | |
id | {String} A unique id for this session. |
name | {String} Style identifier. |
title | {String} Title of this style. |
description | {String} Description of this style. |
layerName | {String} Name of the layer that this style belongs to, usually according to the NamedLayer attribute of an SLD document. |
isDefault | {Boolean} |
rules | {Array(ALKMaps.Rule)} Collection of rendering rules. |
Constructor | |
ALKMaps. | Creates a style representing a collection of rendering rules. |
Functions | |
destroy | nullify references to prevent circular references and memory leaks |
clone | Clones this style. |
{String} Name of the layer that this style belongs to, usually according to the NamedLayer attribute of an SLD document.
{Array(ALKMaps.Rule)} Collection of rendering rules.
Creates a style representing a collection of rendering rules.
config | {Object} An object containing properties to be set on the style. Any documented properties may be set at construction. |
{ALKMaps.Style2} A new style object.
nullify references to prevent circular references and memory leaks
destroy: function()
Clones this style.
clone: function()