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