Changes between Version 10 and Version 11 of Styles
- Timestamp:
- 06/19/08 08:18:15 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles
v10 v11 73 73 In the above example, we did not create rules ourselves, but used the {{{addUniqueValueRules()}}} convenience function. Now how do we work with rules directly? 74 74 75 The {{{addUniqueValueRules()}}} in the example created two Comparison rules, with the EQUAL_TO operator. Let's do another ex maple and style features according to a range of a feature attribute. For this we use the LESS_THAN and GREATER_THAN_OR_EQUAL_TO operators of the Comparison rule:75 The {{{addUniqueValueRules()}}} in the example created two Comparison rules, with the EQUAL_TO operator. Let's do another example and style features according to a range of a feature attribute. For this we use the LESS_THAN and GREATER_THAN_OR_EQUAL_TO operators of the Comparison rule: 76 76 {{{ 77 77 vectorLayer.features[0].attributes.amount=10;
