[OpenLayers-Dev] change map overlays color

ramy.sehar ramy.sehar at yahoo.com
Tue Nov 22 09:31:33 EST 2011


Hi,

I am upgrading OpenLayers code from version 2.8 to 2.11, I am unable to
figure out how I can change BG color of expanded overlays (legends- which
opens top right of the map) window.

Here how I did it in 2.8 which doesn't work under Map.js
map.addControl(new OpenLayers.Control.LayerSwitcher({ activeColor: "red",
'fontColor': "white" }));

changing color in LayerSwitcher.js only effect on the corners. PLZ HELP.

ramy


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/change-map-overlays-color-tp7020610p7020610.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.


More information about the Dev mailing list