Hi, I am using OpenLayers as my front end to a MapGuide OS map. I have created a map using maestro which consists of 5 different layers and this map is rendered in OpenLayers as 1 image (The Base Layer). I have queried the MGOS API and have brought back a list of all of the layers that make up the base layer, and now i want to be able to switch individual layers off. I have tried this using the SetVisible() method but this doesnt seem to work. In the firebug console it says the layer is visible:false but it still shows on the map... I am using php to query the api and javascript\ajax on the layerswitcher and to refresh the map. If anyone has any suggestions i would appreciate there help.
Thank You -- View this message in context: http://n2.nabble.com/Using-Mapguide-OS-with-OpenLayers-Setting-Layer-Visibility-tp4638383p4638383.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
