[Users] WFSCapabilitiesReader - default layer strategies

Alexandre Dube adube at mapgears.com
Fri Feb 11 17:03:57 CET 2011


Hi,

   In the WFSCapabilitiesReader, layers are created with the following 
strategies :

strategies: [new OpenLayers.Strategy.Fixed()]

   Other than modifying that line in code directly, is there a way to 
define a new default value for the strategies ?  Defining (in 
WFSCapabilitiesStore) the following option doesn't work because the same 
objects would be used for each layers instead of creating new ones :

   layerOptions: {
             strategies: [
                 new OpenLayers.Strategy.BBOX(),
                 new OpenLayers.Strategy.Save()
             ]

Thanks,

-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the Users mailing list