说明:有关该示例中怎么引用部署在iis上的离线arcgis api请参考我前面的博文
1、运行效果
2、HTML代码
Non graphic info window
其中的代码
map = new esri.Map("map", { basemap: "satellite", center: [-116.96, 33.184], zoom: 7 }); 也可以替换为下面的形式:
map = new esri.Map("map", { center: [-116.96, 33.184], zoom: 4 });
MyTiledMapServiceLayer = new esri.layers.ArcGISTiledMapServiceLayer
("http://localhost/arcgis/rest/services/DZDT2012/MapServer"); map.addLayer(MyTiledMapServiceLayer);