[OpenLayers-Dev] vector behavior ideas
Eric Lemoine
eric.c2c at gmail.com
Mon May 12 15:16:38 EDT 2008
On Wed, May 7, 2008 at 11:22 PM, Tim Schaub <tschaub at openplans.org> wrote:
> Hey-
>
> Eric and other interested in vector behavior: Just a quick note to say
> I agree with your thoughts below. We talked a bit about this on IRC.
> Seems like the simplest thing is to allow for a list of strategies on a
> vector layer.
Indeed, I'll push that idea in the vector-behavior and see how it
goes... Thanks,
>
> var layer = new OpenLayers.Layer.Vector2(name, {
> strategies: [
> new OpenLayers.Strategy.BBOX(),
> new OpenLayers.Strategy.Paging()
> ],
> protocol: new OpenLayers.Protocol.Foo(),
> format: new OpenLayers.Format.Bar()
> });
>
> Will need to see how it works in practice, but it might be the most
> straightforward solution.
>
> Tim
More information about the Dev
mailing list