[OpenLayers-Users] Use a select box to switch layers or position layerswitcher outside map?

Ali Khan akhan at unfpa.org
Wed Oct 31 11:33:23 EDT 2007


Hey, I've been trying to get the layer switcher out of the map but if I 
pull it out the switcher always snaps to the top right section of the 
browser screen rather than where I position it in the page, are there 
any fixes to this?

I have 50+ Layers which a person can select from. I was hoping if I 
could not fix the above method I could use a select or radio box system 
where one could click the choice and it would load in the layer using a 
custom javascript function. Has anyone done anything similar to this 
before? Any help would be much appreciated.



More information about the Users mailing list