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

2010-07-19 Thread Adrian Popa
Any suggestions on how to move the layer switcher icon to be relative to the bottom of the map? On 07/16/2010 05:41 PM, Adrian Popa wrote: I studied CSS extensively the past two days, and I sort of managed to move it, but I still have two problems: 1. I can't position the

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

2010-07-19 Thread Adrian Popa
Found a fix for the right rounded corners. Here's a patch for LayerSwitcher.js Regards, Adrian --- LayerSwitcher.js 2010-07-19 10:24:26.0 +0300 +++ LayerSwitcherNew.js 2010-07-19 10:24:20.0 +0300 @@ -531,7 +531,7 @@ OpenLayers.Control.LayerSwitcher =

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

2010-07-16 Thread Adrian Popa
No ideas on this one? Is it difficult to implement or nobody has tried it until now? On 07/14/2010 02:20 PM, Adrian Popa wrote: 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

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

2010-07-16 Thread Bart van den Eijnden (OSGIS)
Please read up on css. It is all controlled with css. Best regards, Bart No ideas on this one? Is it difficult to implement or nobody has tried it until now? On 07/14/2010 02:20 PM, Adrian Popa wrote: Hello, I'm trying to move the layer switcher button from the top-right corner of the

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

2010-07-16 Thread Adrian Popa
I studied CSS extensively the past two days, and I sort of managed to move it, but I still have two problems: 1. I can't position the layer-switcher-maximize button if I want to add an offset measured from the bottom (bottom: 40px). I can only display it if I specify an offset from the top -

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

2010-07-14 Thread Adrian Popa
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.