This class represents a collection of rules for rendering features.
OpenLayers.
|
This class represents a collection of rules for rendering features. |
Properties | |
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(OpenLayers.Rule)} Collection of rendering rules. |
Constructor | |
OpenLayers.
|
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(OpenLayers.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. |
{OpenLayers.Style2} A new style object.
nullify references to prevent circular references and memory leaks
destroy: function()
Clones this style.
clone: function()