[Users] WFSCapabilitiesReader - default layer strategies

Eric Lemoine eric.lemoine at camptocamp.com
Mon Feb 14 18:11:33 CET 2011


On Mon, Feb 14, 2011 at 2:30 PM, Alexandre Dube <adube at mapgears.com> wrote:
> Hi Eric,
>
> How about an option like this :
>
>  layerStrategyNames: ["BBOX", "Save"]
>
> then the Reader tries to see if the according class exists and creates it on
> each layer creation.  If we wanted to define the strategy options, we could
> have something like this :
>
>  layerStrategies : ["BBOX": {ratio: 1}, "Save": {auto: true}]
>
>  It seemed a bit obvious to me, but I guess that means you already thought
> about it before and might not be a good solution.  How about it ?

I absolutely have given any sort of thinking into that :-) Maybe it'd
be better to implement this into OpenLayers.Layer.Vector, don't you
think?

-- 
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