Re: [OpenLayers-Users] Add a new label to the legend in addition to "BaseLayer" and "Overlays"

2010-06-07 Thread BMcBride
You can override the Layer Switcher defaults by inserting the following js snippet before you initiate your map... OpenLayers.Lang.en={'overlays':"My Overlays",'baseLayer':"Base Layers"}; If you want to customize your layer controls further, you'll probably want to write your own control using g

[OpenLayers-Users] Add a new label to the legend in addition to "BaseLayer" and "Overlays"

2010-06-07 Thread Giuseppe Naponiello
Hi all, the title explain everything: I'd like add some thematic group to the legend and/or, possibly, change the name "overlays". I know it's possible and easy to do but I don't know how!!! thanks -- -beppe- ___ Users mailing list Users@openlayers.org