[OpenLayers-Users] Repost: [Geoserver-users] LayerSwitcher() not working

Claudio V. claudio.carvalho at lemaf.ufla.br
Wed Jul 10 07:36:32 PDT 2013


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 <dushan888 at 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
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130710/e6fc886d/attachment.html>


More information about the Users mailing list