Spatial Reference: 102005
<?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:esri="http://www.esri.com/2008/ags" pageTitle="A tiled map service"> <esri:Map> <esri:ArcGISDynamicMapServiceLayer url="http://local/ArcGIS/rest/services/socioeco/cz_blocks2000/MapServer"/> <!--<esri:ArcGISTiledMapServiceLayer url="http://local/ArcGIS/rest/services/socioeco/cz_blocks2000/MapServer"/>--> </esri:Map> </s:Application>
What is the SpatialReference of your map?Since tiles are not projected on the fly, you will need to make sure your Map is in the same spatial reference as your tiled service. I'm guessing that you are using a Map (or basemap) that's in a WebMercator or geographic, while your tiled service is in a different spatial reference...
Here's a few things that might help your debugging.If you're testing the service using the same service name, are you clearing the REST cache after making changes to the service?Are the changes reflected in the Services Directory? For example, for the dynamic layer does http://local/ArcGIS/rest/services/socioeco/cz_blocks2000/MapServer show "Single Fused Map Cache: false" when it is being used as "dynamic"?Does it work when viewed in ArcGIS JavaScript, tryhttp://local/ArcGIS/rest/services/socioeco/cz_blocks2000/MapServer?f=jsapiWhen it fails, does httpfox (or charles/fiddler) show any errors?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.