[OpenLayers-Users] Fixed strategy is not working

Shadin shadin__a at hotmail.com
Thu Oct 11 15:11:48 PDT 2012


sure

here is my layer:

vLayer = new OpenLayers.Layer.Vector("Test", { 
    strategies: [new OpenLayers.Strategy.Fixed({preload: true})], 
    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, 

        }) 
      }); 

Note that the BBOX strategy works fine. My issue is just with Fixed
strategy. 

Many Thanks



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Fixed-strategy-is-not-working-tp5007029p5008167.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list