DavidSpriggs/ConfigurableViewerJSAPI — pull request #61 by tmcgee (2014-05-10 23:55:45+00:00)
Title: Enhanced the identify functionality to include Feature Layers

Enhanced the identify functionality to include Feature Layers from a Map Service. Feature Layers from Feature Services are not supported. Configuration of the identify is handled in the same way as Dynamic Layers. Note that previous functionality of using an InfoTemplate/PopupTemplate within the layer definition in config.js is still supported.

This works well for Dynamic Layers that have only a single sub layer. "Damage Assessment" in the example config.js was converted to a Feature Layer to demonstrate this enhancement.

Additional benefit: the duplicate check box in the TOC is removed. This second check box is unnecessary when there is only a single sub layer in a Dynamic Layer.