Hi,

Please don't use this list for user related questions, even when you have not received a response yet to your post in the user list.

Regards, Roald

On 12/10/12 04:25, Shadin wrote:
I was asking this question in many places but never get an answer! So I am
wondering if this is a bug or somethings broken..

I would like to load all layer features at once, but if I set strategies to
[new OpenLayers.Strategy.Fixed({preload: true})]

I get the right response in firebug, but nothing is shown on the map.
I am using vector layer with WFS protocol
GeoServer 2.1.2

has anyone tried it ?
Note that the BBOX strategy works fine.

here is my layer :

vLayer = new OpenLayers.Layer.Vector("Test", {

     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,

         })
       });



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Fixed-strategy-is-not-working-Correct-the-previous-subject-tp5008109.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
_______________________________________________
Dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

_______________________________________________
Dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to