Add initial pass of write support, always write out ol.style.Stroke as LineSymbolizer

This commit is contained in:
Bart van den Eijnden
2013-10-08 19:01:42 +02:00
committed by Bart van den Eijnden
parent 5abedf66d9
commit ee7d46cea1
7 changed files with 491 additions and 24 deletions
+16
View File
@@ -207,3 +207,19 @@ ol.style.Style.reduceLiterals_ = function(literals) {
}
return reduced;
};
/**
* @return {Array.<ol.style.Rule>}
*/
ol.style.Style.prototype.getRules = function() {
return this.rules_;
};
/**
* @param {Array.<ol.style.Rule>} rules The rules to set.
*/
ol.style.Style.prototype.setRules = function(rules) {
this.rules_ = rules;
};