<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Event for when map service image is returned? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/event-for-when-map-service-image-is-returned/m-p/412776#M10701</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So if I handle the Map.Progress event, will the last event that fires always be when the Progress property of the ProgressEventArgs object is 100 (indicating the progress is complete)? So I just check when the progress is 100?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Nov 2010 19:05:49 GMT</pubDate>
    <dc:creator>BrentStevener</dc:creator>
    <dc:date>2010-11-11T19:05:49Z</dc:date>
    <item>
      <title>Event for when map service image is returned?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/event-for-when-map-service-image-is-returned/m-p/412774#M10699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have noticed that sometimes it takes a while for my silverlight app to display the first map image of our dynamic map service. Other controls on the app will display, but the image is blank until it is retrieved, which sometimes leaves a good 5 seconds or so of people wondering why there is a blank map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To help resolve this, I am wanting to display a Silverlight ChildWindow as a sort of "loading screen", and would like to have it show until a particular map service's image is returned for the first time. I can show it in the MainPage.Loaded event, but I don't see any events that occur when the map image is actually displayed in the control in order to close the window. I tried the Layer.Initialized event, but that still fires before the image is returned to the client (but it is as close as I have come to where I want it). Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 18:13:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/event-for-when-map-service-image-is-returned/m-p/412774#M10699</guid>
      <dc:creator>BrentStevener</dc:creator>
      <dc:date>2010-11-11T18:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Event for when map service image is returned?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/event-for-when-map-service-image-is-returned/m-p/412775#M10700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can make use of MapProgressBar from the Toolkit (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/2.1/samples/start.htm#MapProgressBar"&gt;http://help.arcgis.com/en/webapi/silverlight/2.1/samples/start.htm#MapProgressBar&lt;/A&gt;&lt;SPAN&gt; or simply subscribe to Map's Progress&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 18:47:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/event-for-when-map-service-image-is-returned/m-p/412775#M10700</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-11-11T18:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Event for when map service image is returned?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/event-for-when-map-service-image-is-returned/m-p/412776#M10701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So if I handle the Map.Progress event, will the last event that fires always be when the Progress property of the ProgressEventArgs object is 100 (indicating the progress is complete)? So I just check when the progress is 100?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 19:05:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/event-for-when-map-service-image-is-returned/m-p/412776#M10701</guid>
      <dc:creator>BrentStevener</dc:creator>
      <dc:date>2010-11-11T19:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Event for when map service image is returned?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/event-for-when-map-service-image-is-returned/m-p/412777#M10702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It works beautifully, using the below code. Am I correct in assuming that it will return 100 every time when it is finished?&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Private Sub MyMap_Progress(ByVal sender As Object, ByVal e As ESRI.ArcGIS.Client.ProgressEventArgs) Handles MyMap.Progress
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If e.Progress = 100 Then
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _LoadingWindow.Close()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If
End Sub
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:43:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/event-for-when-map-service-image-is-returned/m-p/412777#M10702</guid>
      <dc:creator>BrentStevener</dc:creator>
      <dc:date>2021-12-11T18:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Event for when map service image is returned?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/event-for-when-map-service-image-is-returned/m-p/412778#M10703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes that is correct, the dynamic layer will return Progress of 100 when the image is returned.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 19:30:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/event-for-when-map-service-image-is-returned/m-p/412778#M10703</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2010-11-11T19:30:29Z</dc:date>
    </item>
  </channel>
</rss>

