I am working with ESRI's sample Flex viewer, and am having an issue with displaying our dynamic map service. I found this question on the site, but it hasn't helped me with my issue, so I thought I would try the question in a different form. I have added the url for my service to the operational layers tag in the config file, but the service does not display in the application. The code is below. My dynamic map service is in NAD 83. From what I've read I should be able to display a dynamic map service on top of a tiled map service, as long as the tiled base layer is the first layer loaded in the map. I guess my main question is what am I missing?

<map initialextent="-8936000 4149000 -8751000 4256000" wkid="102113" top="40">
        <layer label="Streets" type="tiled" visible="true"  alpha="1"
        <layer label="Aerial"  type="tiled" visible="false" alpha="1"
        <layer label="Topo"    type="tiled" visible="false" alpha="1"

        <layer label="Moore" type="dynamic" visible="true"  alpha="1"
        <layer label="Boundaries and Places" type="tiled" visible="false"
| improve this question | | | | |
  • What projection is used in your dynamic layer? And are you sure that you're viewing an extent that is appropriate for the dynamic layer? (And, yes, you can mix tiled and dynamic via the Flex, Silverlight, or Javascript API). – Michael Todd Oct 20 '10 at 14:43

I suspect you are missing a cross domain policy file - a requirement if your viewer and maps are hosted on different servers.

See the ESRI documentation for more details on the cross domain policy.

Also, using a web traffic tool like Fiddler or Firebug can help a lot to determine why you don't see your map. It will answer questions such as "is my map really being requested?" and "is the map image returned actually in the right place?" and "is something else being drawn on top by mistake?"

| improve this answer | | | | |
  • 1
    I agree, definitely sounds like a cross-domain issue to me. – user890 Oct 20 '10 at 16:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.