Do you get any console errors? It could be that it's been displayed below
the map or other component. You could also inform where you want it to be
rendered with:
    map.addControl(new OpenLayers.Control.LayerSwitcher({'div':
document.getElementById("myDiv")}));


2013/7/10 dushan <dushan...@gmail.com>

> Thank you for replying. I still cant see the difference of your code and
> mine
> (the wrong bracket). Anyways I replaced your code with mine. but its still
> the same. Please help.
> Regards.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Repost-Geoserver-users-LayerSwitcher-not-working-tp5065279p5065391.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> us...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to