ArcGISTiledMapServiceLayer Problem!

1665
0
06-22-2010 10:28 AM
weeyeo
by
New Contributor II
I used sample code to test my own tiled map service (Cached) but nothing is showing up.  Can someone tell me why?  See the code below:
--------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<mx:Application    xmlns:mx="http://www.adobe.com/2006/mxml"   
xmlns:esri="http://www.esri.com/2008/ags"   
pageTitle="Example - ArcGIS API for Flex connecting to a tiled AGS service"   
styleName="plain">   

<mx:Text text="This is a tiled Map Service." width="100%"/>   
<esri:Map>       
<esri:extent>
<esri:Extent xmin="2745552.29099627" ymin="1066104.20883429" xmax="2883422.79815826" ymax="1203974.71599628">
  <esri:SpatialReference wkid="102698"/>
</esri:Extent>
</esri:extent>
        <esri:ArcGISTiledMapServiceLayer     
url="http://gis:8399/arcgis/rest/services/2008orthophoto/Mapserver"/> 
</esri:Map>

</mx:Application>

Thank you.
Tags (2)
0 Kudos
0 Replies