<?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: PcitureMarkerSymbol - SetSourceAsync image missing randomly in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/pcituremarkersymbol-setsourceasync-image-missing/m-p/440140#M5324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; Unfortunately I don't think that's the root issue.&amp;nbsp; I'm using the SetSourceAsync(Uri ur) version of the call, and passing in URLs that truly are remote (http) images.&amp;nbsp; All the images are unique.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Apr 2015 21:51:05 GMT</pubDate>
    <dc:creator>RobertKennedy</dc:creator>
    <dc:date>2015-04-30T21:51:05Z</dc:date>
    <item>
      <title>PcitureMarkerSymbol - SetSourceAsync image missing randomly</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/pcituremarkersymbol-setsourceasync-image-missing/m-p/440137#M5321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the .NET SDK 10.2.5, I'm creating PictureMarkerSymbols to display a placemark style graphics.&amp;nbsp; I'm setting the images for these using SetSourceAsync.&amp;nbsp; I'm finding that frequently some of the images are not loading properly/are missing (like in the image on the left).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of say 100 graphics, that have 100 different images, maybe 50% will load correctly.&amp;nbsp; The underlying images are there (you can see from the popup), but it's random how many of the PictureMarkerSymbols fail to load their picture and which particular images they are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="missingPictureMarkerSymbol.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/91416_missingPictureMarkerSymbol.png" style="width: 620px; height: 167px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 13:46:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/pcituremarkersymbol-setsourceasync-image-missing/m-p/440137#M5321</guid>
      <dc:creator>RobertKennedy</dc:creator>
      <dc:date>2015-04-29T13:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: PcitureMarkerSymbol - SetSourceAsync image missing randomly</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/pcituremarkersymbol-setsourceasync-image-missing/m-p/440138#M5322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note that the pictures are from two different runs of the app (not two different graphics during the same run).&amp;nbsp; Sometimes the orange will load fine, sometimes it'll fail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 13:47:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/pcituremarkersymbol-setsourceasync-image-missing/m-p/440138#M5322</guid>
      <dc:creator>RobertKennedy</dc:creator>
      <dc:date>2015-04-29T13:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: PcitureMarkerSymbol - SetSourceAsync image missing randomly</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/pcituremarkersymbol-setsourceasync-image-missing/m-p/440139#M5323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible that you are running into file locking where while the image is being loaded, it prevents another thread from trying to use the same image.&amp;nbsp; How are you setting the image source?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I do for my application...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;try&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; using (FileStream fs = File.Open(imagePath, FileMode.Open, FileAccess.Read, FileShare.Read))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; symbol.SetSourceAsync(fs);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 21:35:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/pcituremarkersymbol-setsourceasync-image-missing/m-p/440139#M5323</guid>
      <dc:creator>HuyHo</dc:creator>
      <dc:date>2015-04-30T21:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: PcitureMarkerSymbol - SetSourceAsync image missing randomly</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/pcituremarkersymbol-setsourceasync-image-missing/m-p/440140#M5324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; Unfortunately I don't think that's the root issue.&amp;nbsp; I'm using the SetSourceAsync(Uri ur) version of the call, and passing in URLs that truly are remote (http) images.&amp;nbsp; All the images are unique.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2015 21:51:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/pcituremarkersymbol-setsourceasync-image-missing/m-p/440140#M5324</guid>
      <dc:creator>RobertKennedy</dc:creator>
      <dc:date>2015-04-30T21:51:05Z</dc:date>
    </item>
  </channel>
</rss>

