I want to get tiles with CQL_FILTER on spectrum server. There are many examples on geo server but i cant find spectrum example.
There is code block:
WMSLayer = new ol.layer.Tile({ source: new ol.source.TileWMS(({ url: serverLink + 'http://10.0.0.49:8686/rest/Spatial/WMS', params: { 'LAYERS': 'Iller', 'CQL_FILTER': 'TUIK_IL_KODU = 43' //'CQL_FILTER': "PLAKANO = '43'" }, transitionEffect: null, format: 'image/png' }))});map.addLayer(WMSLayer);
How can i get Spectrum WMSTile with query via Openlayers3?
Thanks...
أكثر...
There is code block:
WMSLayer = new ol.layer.Tile({ source: new ol.source.TileWMS(({ url: serverLink + 'http://10.0.0.49:8686/rest/Spatial/WMS', params: { 'LAYERS': 'Iller', 'CQL_FILTER': 'TUIK_IL_KODU = 43' //'CQL_FILTER': "PLAKANO = '43'" }, transitionEffect: null, format: 'image/png' }))});map.addLayer(WMSLayer);
- PlakaNo --> String Field
- Tuik_Il_Kodu --> Double Field
How can i get Spectrum WMSTile with query via Openlayers3?
Thanks...
أكثر...