With MGOS 3.1, I can use the following to toggle layers in Fusion off and on:

Fusion.getMapById('Map').aMaps[0].getLayerByName('mylayername').show();


Fusion.getMapById('Map').aMaps[0].getLayerByName('mylayername').hide();





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to