[Users] LayerTree in Drake
Andreas Hocevar
ahocevar at opengeo.org
Mon Feb 16 18:38:36 CET 2009
Andreas Hocevar wrote:
> Alexandre Dube wrote:
>> Hi,
>>
>> Please, correct me if I'm wrong, but it seems that the only current
>> possible way to have an extra level "GROUP" is to have one OL layer
>> object per group, have them in a hard coded tree of filteredLayerNode, I
>> am right ?
>
> Not necessarily hard-coded, because it can be configured using a JSON
> object, one that you may be able to generate as MapServer template. But
> yes, every OpenLayers.Layer.WMS would be represented by a
> filteredLayerNode. See below.
Also worth noting: It would not be hard to write another convenience
(root) node, like LayerContainerNode, that analyzes the layers and
creates a config like that.
Andreas.
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list