ArcGIS API for JavaScript: FlexApp/Towns_ForLegend (FeatureServer)

Built using the ArcGIS API for JavaScript