Hi,
I have added hideLayers: "Layer ObjectId", into my parameters but the layer
is still visible... here is what i have:
var params = {
mapdefinition: 'Library://Map/View/TestMap.MapDefinition',
hideLayers: objectId,
}
var options = {
singleTile: true,
isBaseLayer: false,
}
var layer = new OpenLayers.Layer.MapGuide("Test layer", url, params,
options);
--
View this message in context:
http://n2.nabble.com/Using-Mapguide-OS-with-OpenLayers-Setting-Layer-Visibility-tp4638383p4655553.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