[Users] WFSCapabilitiesReader - default layer strategies

Eric Lemoine eric.lemoine at camptocamp.com
Fri Feb 11 22:33:11 CET 2011


On Fri, Feb 11, 2011 at 5:03 PM, Alexandre Dube <adube at mapgears.com> wrote:
> 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,

Hi Alexandre. You're right, this is an issue. I don't see any obvious
way to fix that. Ideas are welcome.

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Users mailing list