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

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Fri Jul 16 02:45:03 EDT 2010


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 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
>>
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>


-- 
Looking for flexible support on OpenLayers or GeoExt? Please check out
http://www.osgis.nl/support.html

Bart van den Eijnden
OSGIS
bartvde at osgis.nl




More information about the Users mailing list