Select to view content in your preferred language

Dynamic map service

795
1
03-09-2011 01:23 PM
JonPedder
Deactivated User
I have cod ethat displays an ESRI tiles map service correct but when I try to display a dynamic map which is published locally it won't display. I've tested that the map does indeed display when I use a simple statement as follows.
<esri:Map>
  <esri:ArcGISDynamicMapServiceLayer url="http://sarserver/MapSAR_Server/rest/services/ANF/MapServer"/>
</esri:Map>

However when I try the following I get a blank screen, might this be as I'm attempting to display multiple dynamic services?

<esri:Map
    id="myMap"
    level="14"
   
    load="myMap_loadHandler(event)"
    width="100%" height="100%">
        
    <esri:ArcGISDynamicMapServiceLayer url="http://sarserver/MapSAR_Server/rest/services/ANF/MapServer"/>
       
    <esri:ArcGISDynamicMapServiceLayer
     id="assignmentsLayer"
     visible="{toggleAssignments.selected}"
     alpha=".7"
     url="http://sarserver/MapSAR_Server/rest/services/MapSAR_Assignments_Server/MapServer"
     />
</esri:Map>

Thanks in advance

Jon
Tags (2)
0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus
Jon,

   You really should avoid posting the same question to both forums... Or at least update that your question have been answered in the other forum. Someone really will get to your question without you posting to both.
0 Kudos