require([ "esri/map", "esri/layers/FeatureLayer", "esri/dijit/Legend", "dojo/_base/array", "dojo/parser", "dojo/dom-construct", "esri/dijit/InfoWindowLite", "esri/InfoTemplate", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dijit/layout/AccordionContainer", "dojo/domReady!" ], function( Map, FeatureLayer, Legend, arrayUtils, parser, domConstruct, InfoWindowLite, InfoTemplate ) { parser.parse();
map.addLayers([SpecialtyFoodProducers]);
var template2 = new InfoTemplate(); template2.setTitle("<b>${ORG_NAME} - ${ADDRESS}</b>"); template2.setContent("${ORG_NAME} is in ${STATE}");
var Distributors = new FeatureLayer("http://ummgis.umm.maine.edu:6080/arcgis/rest/services/testing/ProcessorsGIS428/MapServer/0", { mode: FeatureLayer.MODE_ONDEMAND, infoTemplate:template2, outFields: ["ORG_NAME" , "ADDRESS" , "STATE"] });