Add initial pass of write support, always write out ol.style.Stroke as LineSymbolizer
This commit is contained in:
committed by
Bart van den Eijnden
parent
5abedf66d9
commit
ee7d46cea1
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user