Changes between Version 10 and Version 11 of Styles

Show
Ignore:
Timestamp:
06/19/08 08:18:15 (5 years ago)
Author:
openlayers
Comment:

typo

Legend:

Unmodified
Added
Removed
Modified
  • Styles

    v10 v11  
    7373In the above example, we did not create rules ourselves, but used the {{{addUniqueValueRules()}}} convenience function. Now how do we work with rules directly? 
    7474 
    75 The {{{addUniqueValueRules()}}} in the example created two Comparison rules, with the EQUAL_TO operator. Let's do another exmaple 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: 
     75The {{{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: 
    7676{{{ 
    7777vectorLayer.features[0].attributes.amount=10;