ALKMaps.Filter.FeatureId

This class represents a ogc:FeatureId Filter, as being used for rule-based SLD styling

Inherits from

Summary
ALKMaps.Filter.FeatureIdThis class represents a ogc:FeatureId Filter, as being used for rule-based SLD styling
Properties
fids{Array(String)} Feature Ids to evaluate this rule against.
type{String} Type to identify this filter.
Constructor
ALKMaps.Filter.FeatureIdCreates an ogc:FeatureId rule.
Functions
evaluateevaluates this rule for a specific feature
cloneClones this filter.

Properties

fids

{Array(String)} Feature Ids to evaluate this rule against.  To be passed inside the params object.

type

{String} Type to identify this filter.

Constructor

ALKMaps.Filter.FeatureId

Creates an ogc:FeatureId rule.

Parameters

options{Object} An optional object with properties to set on the rule

Returns

{ALKMaps.Filter.FeatureId}

Functions

evaluate

evaluate: function(feature)

evaluates this rule for a specific feature

Parameters

feature{ALKMaps.Feature} feature to apply the rule to.  For vector features, the check is run against the fid, for plain features against the id.

Returns

{Boolean} true if the rule applies, false if it does not

clone

clone: function()

Clones this filter.

Returns

{ALKMaps.Filter.FeatureId} Clone of this filter.

evaluate: function(feature)
evaluates this rule for a specific feature
clone: function()
Clones this filter.
This class represents an OGC Filter.
Creates an ogc:FeatureId rule.
Features are combinations of geography and attributes.
Close