В чем ошибка?
Спасибо заранее
function findAndHilight(){
_layer = new OpenLayers.Layer.WMS(
"States WMS/WFS",
"http://localhost:8080/geoserver/wms",
{layers: "is_reg", format: 'image/gif'}
);
_protocol = OpenLayers.Protocol.WFS.fromWMSLayer(_layer);
_filter = new OpenLayers.Filter.Comparison({type: "==", property: "ID", value: "30092436"});
filterStrategy = new OpenLayers.Strategy.Filter({filter: _filter});
subregions = new OpenLayers.Layer.Vector("Subregions", {
strategies: [new OpenLayers.Strategy.Fixed(), filterStrategy],
protocol: _protocol,
styleMap: new OpenLayers.Style(OpenLayers.Feature.Vector.style["select"])
});
map.addLayer(subregions);
}