[OpenLayers-Dev] A kind of MultiLayer container

Eric Lemoine eric.lemoine at camptocamp.com
Tue Aug 4 00:04:52 EDT 2009


On Monday, August 3, 2009, Ivan Grcic <ivan.grcic at geofoto.hr> wrote:
> Hi devs,
>
> I want to ask if anyone has made something like Vector/RootContainer,
> a layer that would contain several layers, and every layer would
> activate/deactivate on different zoomLevels.
>
> Simple case: 3 (or more) layers combined in one ContainerLayer
> small scale: WMS raster layer
> larger scales: other WMS  raster layer
> large scale: WFS vector layer
>
>  Usually I always register zoomend event on map, and manually activate
> or deactivate layers...but it got little bit boring to do that on
> application level every time.
>
> I remember Alexandre did something like that but for Vector layer
>  or http://openlayers.org/pipermail/users/2009-January/009666.html
>
> Anyone did something like that? (does mapfish maybe has soemthing like that)
>  If not, can anyone just give few tips, so I could start developing it...


Hi Ivan

Can't you just set different resolution ranges in the layers?

Cheers,


>
> Tnx&Cheers,
>
>
> --
> Ivan Grcic
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>

-- 
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 Dev mailing list