<esri:Map >
<esri:extent>
<esri:Extent xmin="313983.806152495" ymin="243957.685897649" xmax="703990.033700897" ymax="441506.532227649">
</esri:Extent>
</esri:extent>
<esri:ArcGISDynamicMapServiceLayer url="http://dengjie/ArcGIS/rest/services/ed/BJSEDXZQFW/MapServer"/>
<esri:ArcGISDynamicMapServiceLayer url="http://dengjie/ArcGIS/rest/services/dzsp/TDCZRGZSPT2004_D/MapServer"/>
</esri:Map>
发布的图形服务包含的信息:
空间参考,初始的extent,全图的extent
myMap.extent.xmin.toFixed(0)
scaleBarVisible:比例工具栏是否可见
zoomSliderVisible:放缩工具栏是否可见
LODS数组可以指定放缩工具栏.
<esri:Map>
<esri:lods>
<esri:LOD resolution="0.0439453125" scale="18468599.9106772"/>
<esri:LOD resolution="0.02197265625" scale="9234299.95533859"/>
<esri:LOD resolution="0.010986328125" scale="4617149.97766929"/>
<esri:LOD resolution="0.0054931640625" scale="2308574.98883465"/>
<esri:LOD resolution="0.00274658203125" scale="1154287.49441732"/>
</esri:lods>
<esri:extent>
<esri:Extent xmin="-124.629" ymin="18.826" xmax="-68.027" ymax="56.311">
<esri:SpatialReference wkid="4269"/>
</esri:Extent>
</esri:extent>
<esri:ArcGISDynamicMapServiceLayer url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer"/>
</esri:Map>
?:Map_Extent_and_Mouse_Coordinates,坐标转换
多图层的智能使用