<span style="color:#ff0000;"><?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:esri="http://www.esri.com/2008/ags"> </s:Application></span>
<?xml version="1.0" encoding="utf-8"?>
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo"
xmlns:esri="http://www.esri.com/2008/ags">
<span style="color:#ff0000;"><esri:Map level="3" wrapAround180="true">
<esri:center>
<esri:WebMercatorMapPoint lon="0" lat="0"/>
</esri:center>
</esri:Map></span>
</s:Application><esri:Map level="3" wrapAround180="true">
<esri:center>
<esri:WebMercatorMapPoint lon="0" lat="0"/>
</esri:center>
<span style="color:#ff0000;"><esri:ArcGISTiledMapServiceLayer
url="http://server.arcgisonline.com/ArcGIS/rest/services/
World_Street_Map/MapServer"/>
<esri:ArcGISDynamicMapServiceLayer
url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/
Demographics/ESRI_Population_World/MapServer"
alpha=".70"/></span>
</esri:Map>
arcgis for flex api version3.7 教程:1.添加地图和图层
原文:http://blog.csdn.net/xiliangxiaoke/article/details/44652039