Work with formats that copy filter writers
This commit is contained in:
@@ -425,8 +425,10 @@ OpenLayers.Format.Filter.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
});
|
||||
},
|
||||
"Literal": function(value) {
|
||||
var encode = this.encodeLiteral ||
|
||||
OpenLayers.Format.Filter.v1.prototype.encodeLiteral;
|
||||
return this.createElementNSPlus("ogc:Literal", {
|
||||
value: this.encodeLiteral(value)
|
||||
value: encode(value)
|
||||
});
|
||||
},
|
||||
"LowerBoundary": function(filter) {
|
||||
|
||||
Reference in New Issue
Block a user