[OpenLayers-Trac] [OpenLayers] #1113: wfs filter: generated URL should not have a bbox if a filter is enabled
OpenLayers
trac at openlayers.org
Tue Feb 19 23:05:12 EST 2008
#1113: wfs filter: generated URL should not have a bbox if a filter is enabled
-------------------------+--------------------------------------------------
Reporter: ominiverdi | Owner: tschaub
Type: feature | Status: new
Priority: minor | Milestone:
Component: Layer.WFS | Version: 2.5
Resolution: | Keywords:
State: |
-------------------------+--------------------------------------------------
Comment (by openlayers):
so i see that this patch was never applied because the way the bbox is
applied has changed.. however this bug is still present.
a fix needs to be made in Layers/WFS.js to disable the BBOX on the url if
a filter is active:
here is what i did to fix this:
cheers ! -ivan
{{{
//ivan: only append the bbox to the url is there is no filter supplied
// url += "&" + OpenLayers.Util.getParameterString(params);
if (url.indexOf("&filter=") == -1) {
url += "&" +
OpenLayers.Util.getParameterString(params);
}
// end ivan
}}}
--
Ticket URL: <http://trac.openlayers.org/ticket/1113#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list