Ok, but it works with bbox strategy? So run the request as is (with bbox strategy) and look at url.<div><br></div><div>Toby<br><div class="gmail_quote"><br></div><div class="gmail_quote">On 3 October 2012 10:11, Albert <span dir="ltr"><<a href="mailto:alnooori@hotmail.com" target="_blank">alnooori@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
here is my Layer:<br>
<br>
vessels = new OpenLayers.Layer.Vector("The Vessels", {<br>
strategies: [new OpenLayers.Strategy.BBOX({<br>
ratio: 1 // makes for easier comparison to map bounds<br>
})],<br>
styleMap: new OpenLayers.StyleMap({<br>
"default": style<br>
}),<br>
<br>
maxExtent: new OpenLayers.Bounds(-180, -90, 180,<br>
90).transform(geographic,mercator),<br>
sphericalMercator: true,<br>
protocol: new OpenLayers.Protocol.WFS({<br>
url: '<a href="http://myDomain/geoserver/wfs" target="_blank">http://myDomain/geoserver/wfs</a>',<br>
featureType: "Layer_1",<br>
featureNS: "<a href="http://mapmap.org" target="_blank">http://mapmap.org</a>",<br>
srsName: "EPSG:3857",<br>
version: "1.1.0",<br>
extractAttributes: true,<br>
isBaseLayer: false,<br>
<br>
})<br>
});<br>
<br>
If I remove strategies lines, I got nothing even i firebug there is no<br>
requests.<br>
If I use Fixed strategy, I can see the request in firebug bot nothing<br>
appears on map.<br>
<br>
here is the Request<br>
URL:<a href="http://localhost/cgi-bin/proxy.cgi?url=http%3A%2F%2FmyIP%3A8080%2Fgeoserver%2Fwfs" target="_blank">http://localhost/cgi-bin/proxy.cgi?url=http%3A%2F%2FmyIP%3A8080%2Fgeoserver%2Fwfs</a><br>
<br>
I don't see any bbox parameter<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/I-cannot-remove-BBOX-strategy-tp5005899p5006035.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/I-cannot-remove-BBOX-strategy-tp5005899p5006035.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</div></div></blockquote></div><br></div>