[OpenLayers-Users] Layer Groups and hierarchy

Eric Lemoine eric.c2c at gmail.com
Mon Jun 23 08:48:29 EDT 2008


On Thu, Jun 19, 2008 at 7:50 AM, Indika Tantrigoda <indika85 at gmail.com> wrote:
> Hello,

Hello Indika

> I'd like to know, if theres anyway that I can group layers into a hierarchy.

OpenLayers' layer switcher does not support layer hierarchy and will
probably never do. I'd recommend checking out the layer tree of
MapFish (http://www.mapfish.org). MapFish layer tree is either
auto-configured based on the layers configured in OpenLayers or
configured through a user-specified model. See
<http://demo.mapfish.org/mapfishsample/trunk/examples/tree/tree_automatic.html>
for a basic example.

Cheers,

--
Eric



More information about the Users mailing list