var map; function init() { var initExtent = new esri.geometry.Extent({"xmin":-11727455,"ymin":4861652,"xmax":-11706340,"ymax":4871512,"spatialReference":{"wkid":102100}}); map = new esri.Map("map", { basemap: "topo", center: [-105.255, 40.022], zoom: 13 });
I'm not an expert at this at all but just from looking at your code and looking at the sample you might want to try an add the first layer to your applicationvar map; function init() { var initExtent = new esri.geometry.Extent({"xmin":-11727455,"ymin":4861652,"xmax":-11706340,"ymax":4871512,"spatialReference":{"wkid":102100}}); map = new esri.Map("map", { basemap: "topo", center: [-105.255, 40.022], zoom: 13 });