[mapguide-users] Turn Layers On/Off of The Legend - FusionSF.js - AIMS2017/MapGuide3.1

GordonL gordon.luckett at arrowgeomatics.com
Tue Nov 21 09:21:33 PST 2017


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


More information about the mapguide-users mailing list