[OpenLayers-Users] Rounded corner LayerSwitcher

Eric Lemoine eric.lemoine at camptocamp.com
Tue Mar 23 08:10:42 EDT 2010


On Tue, Mar 23, 2010 at 12:23 PM, Jordi Romagos i Figueras
<jordi_romagos at hotmail.com> wrote:
> Hi,
>
> I'm trying to customize Layer Switcher control and I have this problem:
>
> The propierty roundedCorner
> (http://dev.openlayers.org/docs/files/OpenLayers/Control/LayerSwitcher-js.html#OpenLayers.Control.LayerSwitcher.roundedCorner)
> is not working for me.
>
> This is my code (I tried all possibilities):
>
> layerSwitcher = new
> OpenLayers.Control.LayerSwitcher({div:OpenLayers.Util.getElement('layer_switcher_id'),roundedCorner:false});
>
> Can somebody help me, or give me a clue?

Hi. What version of OpenLayers are you using? IIRC this functionality
is available in trunk only, and it will be available in 2.9.

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