[OpenLayers-Users] Moving LayerSwitcher position from top-right corner to bottom-left corner

Adrian Popa adrian_gh.popa at romtelecom.ro
Wed Jul 14 07:20:19 EDT 2010


Hello,

I'm trying to move the layer switcher button from the top-right corner 
of the map to the bottom-left corner. I have done this before with 2.8, 
but I ended up making changes in the openlayers API, but I can see now 
that 2.9.1 seems to have made changes in the LayerSwitcher's definition.
I'm trying to override just some CSS rules to move the button where I 
want it, and also, make changes to display the minimize button on the 
left side of the expanded div (instead of having it on the right side).

Before I show you my hacked-up code, I'd like to ask: has anyone moved 
it and can I get some sample code?

Thanks,
Adrian




More information about the Users mailing list