Hi,
I am changing the map extent and I want at a particular map scale the layer visibility should be turned off.
if (level > 0) {
topic.subscribe("LayerInfos/ExtentChange", lang.hitch(this, function (cur, evt, vs) {
var scale = evt.lod.scale;
if (layerInfo.initVisibaleAtScale == true) {
console.log(layerInfo.title);
As of now I am just able to check if its visible at a scale. Instead I want to set the visibility off.(3.x)
Thanks
Kumar