[OpenLayers-Users] Openlayers WMS CQL_FILTER example
jim.meyer at concept-solutions.com
jim.meyer at concept-solutions.com
Wed Sep 23 09:45:48 EDT 2009
Hi,
I'd like to use Openlayers to make a new WMS layer using a CQL_FILTER.
This is what I have so far. Could someone help me with the syntax?
var us_states = new OpenLayers.Layer.WMS(
"US States",
"/geoserver/wms?",
{
layers: 'SUA:schedule',
srs: 'EPSG:4326',
format: 'image/png8',
cql_filter: 'airspace_type="A"',
tiled: 'true',
transparent: true
},
{
'isBaseLayer': false, 'wrapDateLine': true
}
);
Thanks,
Jim
Jim Meyer
Java Programmer
ConceptSolutions, LLC
We Make Business Intelligent
703.889.8434 [desk]
703.391.9041[fax]
www.Concept-Solutions.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090923/7ab40ef2/attachment.html
More information about the Users
mailing list