<?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 Having Consistency issues creating PictureMarkerSymbols in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/having-consistency-issues-creating/m-p/712245#M8970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working in a WPF client application with the ArcGISRuntime version of 100.1. currently i am experiencing an issue getting my PictureMarkerSymbol to render consistently when there are more than 5 or 6 items on my map vector tile base map. I am combining it with a text marker symbol, to create a composite symbol on the map, and the test symbol portion will always render.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have passed a list of items to this code snippet one at a time to create the symbols. Please let me know if i need to post more code or you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;public static async Task&amp;lt;Symbol&amp;gt; CreateSymbols(string text, SymbolTypes type, SymbolShapes shape)&lt;BR /&gt; {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;var iconPath = string.Empty;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;iconPath = string.Format(@"pack://application:,,,/Images/{0}_{1}.png", type.ToString(), shape.ToString());&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;var icon = new Uri(iconPath, UriKind.RelativeOrAbsolute);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;var pc = new PictureMarkerSymbol(icon);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;pc.Width = 30;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;pc.Height = 30;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;var cm = new CompositeSymbol();&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;var ts = new TextSymbol()&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Color = Colors.Black,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FontStyle = FontStyle.Normal,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FontDecoration = FontDecoration.None,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FontFamily = "Arial",&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FontWeight = FontWeight.Bold,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Size = 14,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;VerticalAlignment = VerticalAlignment.Middle,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;HorizontalAlignment = HorizontalAlignment.Center,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OffsetY = shape == SymbolShapes.Arrow ? 5 : 0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ts.Text = text;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;cm.Symbols.Add(pc);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;cm.Symbols.Add(ts);&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return await Task.Factory.StartNew&amp;lt;Symbol&amp;gt;(() =&amp;gt; { return cm; });&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2019 20:55:10 GMT</pubDate>
    <dc:creator>TerryCoe</dc:creator>
    <dc:date>2019-04-10T20:55:10Z</dc:date>
    <item>
      <title>Having Consistency issues creating PictureMarkerSymbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/having-consistency-issues-creating/m-p/712245#M8970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working in a WPF client application with the ArcGISRuntime version of 100.1. currently i am experiencing an issue getting my PictureMarkerSymbol to render consistently when there are more than 5 or 6 items on my map vector tile base map. I am combining it with a text marker symbol, to create a composite symbol on the map, and the test symbol portion will always render.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have passed a list of items to this code snippet one at a time to create the symbols. Please let me know if i need to post more code or you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;public static async Task&amp;lt;Symbol&amp;gt; CreateSymbols(string text, SymbolTypes type, SymbolShapes shape)&lt;BR /&gt; {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;var iconPath = string.Empty;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;iconPath = string.Format(@"pack://application:,,,/Images/{0}_{1}.png", type.ToString(), shape.ToString());&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;var icon = new Uri(iconPath, UriKind.RelativeOrAbsolute);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;var pc = new PictureMarkerSymbol(icon);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;pc.Width = 30;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;pc.Height = 30;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;var cm = new CompositeSymbol();&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;var ts = new TextSymbol()&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Color = Colors.Black,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FontStyle = FontStyle.Normal,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FontDecoration = FontDecoration.None,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FontFamily = "Arial",&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FontWeight = FontWeight.Bold,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Size = 14,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;VerticalAlignment = VerticalAlignment.Middle,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;HorizontalAlignment = HorizontalAlignment.Center,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OffsetY = shape == SymbolShapes.Arrow ? 5 : 0&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ts.Text = text;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;cm.Symbols.Add(pc);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;cm.Symbols.Add(ts);&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return await Task.Factory.StartNew&amp;lt;Symbol&amp;gt;(() =&amp;gt; { return cm; });&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 20:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/having-consistency-issues-creating/m-p/712245#M8970</guid>
      <dc:creator>TerryCoe</dc:creator>
      <dc:date>2019-04-10T20:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Having Consistency issues creating PictureMarkerSymbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/having-consistency-issues-creating/m-p/712246#M8971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you able to reproduce the issue with v100.5?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a reason&amp;nbsp;for the last line of code and making everything async, rather than just returning the symbol synchronously?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 21:06:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/having-consistency-issues-creating/m-p/712246#M8971</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2019-04-10T21:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Having Consistency issues creating PictureMarkerSymbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/having-consistency-issues-creating/m-p/712247#M8972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot switch to 100.5, out of my hands in that area.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will try to remove the awaiter on the last line to see if that resolves the issue.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 21:12:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/having-consistency-issues-creating/m-p/712247#M8972</guid>
      <dc:creator>TerryCoe</dc:creator>
      <dc:date>2019-04-10T21:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Having Consistency issues creating PictureMarkerSymbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/having-consistency-issues-creating/m-p/712248#M8973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;gt; I cannot switch to 100.5, out of my hands in that area.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not even temporarily just to see if that resolves the issue? If it does perhaps we can at least track down what version it started working, and it would confirm it's a bug we since fixed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 21:15:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/having-consistency-issues-creating/m-p/712248#M8973</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2019-04-10T21:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Having Consistency issues creating PictureMarkerSymbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/having-consistency-issues-creating/m-p/712249#M8974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i briefly upgraded to Runtime 100.5 and ran my application. Had the same results, that it inconsistently renders the PictureMarkerSymbol, especially when there are more that 5 or 6 symbols on the base map&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 21:27:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/having-consistency-issues-creating/m-p/712249#M8974</guid>
      <dc:creator>TerryCoe</dc:creator>
      <dc:date>2019-04-10T21:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Having Consistency issues creating PictureMarkerSymbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/having-consistency-issues-creating/m-p/712250#M8975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also posted on this last year,in &lt;A _jive_internal="true" href="https://community.esri.com/thread/226509-dynamically-creating-compositesymbol-with-picturemarker-and-textmarker-symbols"&gt;this thread&lt;/A&gt;. Upon revisiting, I am still in a place of inconsistency. The map refresh process only works about half the time with over 10 icons on the map. I am hoping to link the threads and helpful individuals to get a resolution to this issue.&amp;nbsp;@JenniferNery&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2019 17:23:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/having-consistency-issues-creating/m-p/712250#M8975</guid>
      <dc:creator>TerryCoe</dc:creator>
      <dc:date>2019-04-12T17:23:31Z</dc:date>
    </item>
  </channel>
</rss>

