ALKMaps.Style2

This class represents a collection of rules for rendering features.

Summary
ALKMaps.Style2This 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.Style2Creates a style representing a collection of rendering rules.
Functions
destroynullify references to prevent circular references and memory leaks
cloneClones this style.

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.Style2

Creates a style representing a collection of rendering rules.

Parameters

config{Object} An object containing properties to be set on the style.  Any documented properties may be set at construction.

Returns

{ALKMaps.Style2} A new style object.

Functions

destroy

destroy: function()

nullify references to prevent circular references and memory leaks

clone

clone: function()

Clones this style.

Returns

{ALKMaps.Style2} Clone of this style.

Contains convenience functions for string manipulation.
This class represents an SLD Rule, as being used for rule-based SLD styling.
destroy: function()
nullify references to prevent circular references and memory leaks
clone: function()
Clones this style.
Creates a style representing a collection of rendering rules.
Close