This class represents an OGC Filter.
OpenLayers.
|
This class represents an OGC Filter. |
Constructor | |
OpenLayers.
|
This class represents a generic filter. |
Functions | |
destroy | Remove reference to anything added. |
evaluate | Evaluates this filter in a specific context. |
clone | Clones this filter. |
toString | {String} Include OpenLayers.Format.CQL in your build to get a CQL representation of the filter returned. |
evaluate: function( context )
Evaluates this filter in a specific context. Instances or subclasses are supposed to override this method.
context | {Object} Context to use in evaluating the filter. If a vector feature is provided, the feature.attributes will be used as context. |
{Boolean} The filter applies.
clone: function()
Clones this filter. Should be implemented by subclasses.
{OpenLayers.Filter} Clone of this filter.
toString: function()
{String} Include OpenLayers.Format.CQL in your build to get a CQL representation of the filter returned. Otherwise “[Object object]” will be returned.
Remove reference to anything added.
destroy: function()
Evaluates this filter in a specific context.
evaluate: function( context )
Clones this filter.
clone: function()
{String} Include OpenLayers.Format.CQL in your build to get a CQL representation of the filter returned.
toString: function()