evaluation of else filter in SLD. r=tschaub (closes #1317)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@5978 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2008-02-03 17:48:19 +00:00
parent a664b6b390
commit 1faf641806
5 changed files with 96 additions and 28 deletions
+10
View File
@@ -20,6 +20,16 @@ OpenLayers.Rule = OpenLayers.Class({
*/
name: 'default',
/**
* Property: elseFilter
* {Boolean} Determines whether this rule is only to be applied only if
* no other rules match (ElseFilter according to the SLD specification).
* Default is false. For instances of OpenLayers.Rule, if elseFilter is
* false, the rule will always apply. For subclasses, the else property is
* ignored.
*/
elseFilter: false,
/**
* Property: symbolizer
* {Object} Hash of styles for this rule. Contains hashes of feature