Hi,
what you are trying to accomplish cannot be done with WMS alone. You
would have to apply the same filter to a WFS query, and then at least
parse the bounding box of the query result to set the extent.
Regards,
Andreas.
Arturo Juárez Lima wrote:
> Hi,
>
> I was find to process to make a filter, this is
>
> function FiltraFeature(wms,query){
>
> var filtro_temp = query;
> var filterParams = {
> cql_filter: null
> };
> if (OpenLayers.String.trim(filtro_temp) != "") {
> filterParams["cql_filter"] = filtro_temp;
> }
> wms.mergeNewParams(filterParams);
> }
>
> then, I want that my map will zoom over the result. I'm work with
> layers WMS.
>
> Could you help me?.
>
> Thanks
> --
> Arturo Juárez Lima <[email protected]
> <mailto:[email protected]>>
> GEQ
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users