add matchCase attribute for PropertyIsLike, r=tschaub (closes #3247)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11878 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
* Differences from the v1.0.0 parser:
|
||||
* - uses GML v3 instead of GML v2
|
||||
* - reads matchCase attribute on ogc:PropertyIsEqual and
|
||||
* ogc:PropertyIsNotEqualelements.
|
||||
* - writes matchCase attribute from comparison filters of type EQUAL_TO and
|
||||
* type NOT_EQUAL_TO.
|
||||
* ogc:PropertyIsNotEqual elements.
|
||||
* - writes matchCase attribute from comparison filters of type EQUAL_TO,
|
||||
* NOT_EQUAL_TO and LIKE.
|
||||
*
|
||||
* Inherits from:
|
||||
* - <OpenLayers.Format.Filter.v1>
|
||||
@@ -127,6 +127,7 @@ OpenLayers.Format.Filter.v1_1_0 = OpenLayers.Class(
|
||||
"PropertyIsLike": function(filter) {
|
||||
var node = this.createElementNSPlus("ogc:PropertyIsLike", {
|
||||
attributes: {
|
||||
matchCase: filter.matchCase,
|
||||
wildCard: "*", singleChar: ".", escapeChar: "!"
|
||||
}
|
||||
});
|
||||
@@ -185,4 +186,4 @@ OpenLayers.Format.Filter.v1_1_0 = OpenLayers.Class(
|
||||
|
||||
CLASS_NAME: "OpenLayers.Format.Filter.v1_1_0"
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user