AnsweredAssumed Answered

Make a Click-Popup window only on certain layers

Question asked by dexconor on Jun 24, 2013
Latest reply on Jun 26, 2013 by dexconor

I was using popup window on my map but I would like to make clickable only on certain layers (when I click any places pops up with "no information available")

below is code that I'm using now:
function mapReady(map){  dojo.connect(map,"onClick",executeIdentifyTask);    identifyTask = new esri.tasks.IdentifyTask("http://localhost:6080/arcgis/rest/services/FCR/MapInfo/MapServer");  FCORParams = new esri.tasks.IdentifyParameters();  FCORParams.tolerance = 2;  FCORParams.returnGeometry = true;  visibleLayers = [0,2,3];  FCORParams.layerIds = visibleLayers;  FCORParams.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_SHOW;  FCORParams.width  = map.width;  FCORParams.height = map.height;  dojo.connect(dijit.byId('map'), 'resize', map,map.resize);  }

Please help!