Re: [Geoserver-users] CQL Filters with LEaflet

2019-02-09 Thread Tõnis Kärdi
No problem at all :) Tõnis Saatja Cliff Patterson Hi Tõnis, > > The minute after I sent this request, I tried it again with quotation > marks and all caps on the CQL_FILTER and it worked. Problem solved. Here is > the working code for anyone who stumbles across this: > > var cities =

Re: [Geoserver-users] CQL Filters with LEaflet

2019-02-09 Thread Tõnis Kärdi
A stab in the dark but maybe enclose the value in quotation marks like cql_filter:"city='London'"? All the best, Tõnis Saatja Cliff Patterson Does anyone know if we can use CQL filters with Leaflet with a WMS from > Geoserver (2.14.1)? If so, what is wrong with my Leraflet code below? > >

[Geoserver-users] CQL Filters with LEaflet

2019-02-09 Thread Cliff Patterson
Does anyone know if we can use CQL filters with Leaflet with a WMS from Geoserver (2.14.1)? If so, what is wrong with my Leraflet code below? var cities = L.tileLayer.wms('http://localhost:8080/geoserver/ows?', { layers: 'workspace:cities', format: 'image/png', transparent: