[OpenLayers-Users] Like query with "singleChar" does not work correctly in OpenLayers.StyleMap
joaorodr84
joaorodr84 at gmail.com
Mon Apr 27 11:30:19 PDT 2015
Hello Ruff Thomas.
As you can see in the example, I use only one rule:
/* Filter */
var filter = new OpenLayers.Filter.Comparison({
property: 'STATE_NAME',
type: OpenLayers.Filter.Comparison.LIKE,
value: '.....'
});
var wmsFilter = filter.clone();
filter.value = filter.value.replace(/\*/g, '!*');
/* Rule */
var rule = new OpenLayers.Rule({
filter: filter,
symbolizer: {}
});
I don't think this would be the problem, but please explain your point a
little better.
Thanks a lot
João
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Like-query-with-singleChar-does-not-work-correctly-in-OpenLayers-StyleMap-tp5203061p5203165.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list