I was able to look at your check box example and get working with my Map Service....thanksI have one more question....Because I am referencing multiple Features in the Map Service at ONE time how do I define the multiple infoTemplates to be used in an identify?I was using this on single Map Services
var templateBirdingTrailHeads = new InfoTemplate();
templateBirdingTrailHeads.setTitle("Birding Trail Heads");
templateBirdingTrailHeads.setContent("<table><tr><td><b>Loop Name</b></td><td>${LOOP_NAME}</td></tr></table>" +
"<table><tr><td><b>Site Name</b></td><td>${SITE_NAME}</td></tr></table> " +
"<table><tr><td><b>Pahse</b></td><td>${Phase}</td></tr></table> "
);
var flBirdingTrailHeads = new FeatureLayer("https://fwisweb1.gov/arcgis/rest/services/Public/BirdingWildlifeTrail/MapServer/0", {
mode: FeatureLayer.MODE_ONDEMAND,
infoTemplate: templateBirdingTrailHeads,
outFields: ['*']
});
app.map.addLayer(flBirdingTrailHeads);
But now I have all the Features in the one Map Service
var layer1 = new ArcGISDynamicMapServiceLayer("https://fwisweb1.gov/arcgis/rest/services/Public/BirdingWildlifeTrail/MapServer", { id: "layer1" });
app.map.addLayers([layer1]);