<?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: MapLoadComplete event not being triggered in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/maploadcomplete-event-not-being-triggered/m-p/89018#M2167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Try using the Initialized and InitializationFailed event for every layer you add to the map. &lt;BR /&gt;&lt;BR /&gt;Something like:&lt;BR /&gt;&lt;BR /&gt;layer.Initialized += LayerInitializedHandler;&lt;BR /&gt;layer.InitializationFailed += LayerInitializationFailedHandler;&lt;BR /&gt;map.Layers.Add(layer);&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That, as far as I can tell is part of the template code already.&amp;nbsp; It seems like a service idol issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2012 13:15:08 GMT</pubDate>
    <dc:creator>GaryBushek</dc:creator>
    <dc:date>2012-10-26T13:15:08Z</dc:date>
    <item>
      <title>MapLoadComplete event not being triggered</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/maploadcomplete-event-not-being-triggered/m-p/89014#M2163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone have any ideas why MapLoadComplete would not be triggered occasionally?&amp;nbsp; Does it have to do with the services being idle too long?&amp;nbsp; This only happens every 10 times or so and its hard to code a message that the layers didn't load when its basically asynchronous.&amp;nbsp; Is there a known fix or work-around?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks, gary&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 18:44:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/maploadcomplete-event-not-being-triggered/m-p/89014#M2163</guid>
      <dc:creator>GaryBushek</dc:creator>
      <dc:date>2012-10-18T18:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: MapLoadComplete event not being triggered</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/maploadcomplete-event-not-being-triggered/m-p/89015#M2164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What do you mean by 'MapLoadComplete' event?If you are talking about the Map.Progress event, this event may not be fired when the data (tiles and graphics) are already loaded locally.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 06:07:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/maploadcomplete-event-not-being-triggered/m-p/89015#M2164</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-10-22T06:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: MapLoadComplete event not being triggered</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/maploadcomplete-event-not-being-triggered/m-p/89016#M2165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try using the Initialized and InitializationFailed event for every layer you add to the map. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;layer.Initialized += LayerInitializedHandler;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;layer.InitializationFailed += LayerInitializationFailedHandler;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.Layers.Add(layer);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 09:45:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/maploadcomplete-event-not-being-triggered/m-p/89016#M2165</guid>
      <dc:creator>MarnikBlomme</dc:creator>
      <dc:date>2012-10-26T09:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: MapLoadComplete event not being triggered</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/maploadcomplete-event-not-being-triggered/m-p/89017#M2166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What do you mean by 'MapLoadComplete' event?If you are talking about the Map.Progress event, this event may not be fired when the data (tiles and graphics) are already loaded locally.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No, there is a MapLoadComplete event handler and dispatch function in the EventCenter class from the Silverlight templates.&amp;nbsp; It seems when the services have been idol for a certain amount of time the MapLoadComplete event doesnt get fired.&amp;nbsp; If I hit refresh on the browser it loads fine.&amp;nbsp; This is very consistent when idol for a certain amount of time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 13:12:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/maploadcomplete-event-not-being-triggered/m-p/89017#M2166</guid>
      <dc:creator>GaryBushek</dc:creator>
      <dc:date>2012-10-26T13:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: MapLoadComplete event not being triggered</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/maploadcomplete-event-not-being-triggered/m-p/89018#M2167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Try using the Initialized and InitializationFailed event for every layer you add to the map. &lt;BR /&gt;&lt;BR /&gt;Something like:&lt;BR /&gt;&lt;BR /&gt;layer.Initialized += LayerInitializedHandler;&lt;BR /&gt;layer.InitializationFailed += LayerInitializationFailedHandler;&lt;BR /&gt;map.Layers.Add(layer);&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That, as far as I can tell is part of the template code already.&amp;nbsp; It seems like a service idol issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2012 13:15:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/maploadcomplete-event-not-being-triggered/m-p/89018#M2167</guid>
      <dc:creator>GaryBushek</dc:creator>
      <dc:date>2012-10-26T13:15:08Z</dc:date>
    </item>
  </channel>
</rss>

