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

2017-11-21 Thread GordonL
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:

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

2017-11-20 Thread RenoSun
Hi all, Does anyone facing the issues to turn on/off layers or layer groups by using FusionSF.js? I am using turquoiseyellow template, and I wrote following codes in order to turn on/off the layers or layer groups based on the URL parameters. It was working with Fusion 2.6 build. The check boxes