<?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 Any chance to move the initialization on a background thread? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/any-chance-to-move-the-initialization-on-a/m-p/740511#M18913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've noticed that, if the network connection isn't really fast, the initialization of the Map control is quite slow. It takes from one to three seconds to init (maybe more through GPRS), where the UI is totally locked (due the main thread busy).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There's no way to perform any progression bar, nor animation during this delay.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you think would be possible to move part/whole the init process on a separate thread, thus having the ability to free the UI thread?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mario&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Sep 2010 06:35:27 GMT</pubDate>
    <dc:creator>MarioVernari</dc:creator>
    <dc:date>2010-09-05T06:35:27Z</dc:date>
    <item>
      <title>Any chance to move the initialization on a background thread?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/any-chance-to-move-the-initialization-on-a/m-p/740511#M18913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've noticed that, if the network connection isn't really fast, the initialization of the Map control is quite slow. It takes from one to three seconds to init (maybe more through GPRS), where the UI is totally locked (due the main thread busy).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There's no way to perform any progression bar, nor animation during this delay.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you think would be possible to move part/whole the init process on a separate thread, thus having the ability to free the UI thread?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mario&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Sep 2010 06:35:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/any-chance-to-move-the-initialization-on-a/m-p/740511#M18913</guid>
      <dc:creator>MarioVernari</dc:creator>
      <dc:date>2010-09-05T06:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Any chance to move the initialization on a background thread?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/any-chance-to-move-the-initialization-on-a/m-p/740512#M18914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is this possible?&amp;nbsp; I also would like this feature.&amp;nbsp;&amp;nbsp; I'm loading a KML file from a stream and it takes close to 5 seconds and locks the UI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
KmlLayer layer = (KmlLayer)Resources["RangesLayer"];
using (var stream = App.GetResourceStream(new Uri("/MyProject.Map;component/Locations.kmz", UriKind.Relative)).Stream)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.SetSource(stream);
}
MyMap.Layers.Add(layer);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:31:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/any-chance-to-move-the-initialization-on-a/m-p/740512#M18914</guid>
      <dc:creator>TylerRothermund</dc:creator>
      <dc:date>2021-12-12T07:31:15Z</dc:date>
    </item>
  </channel>
</rss>

