<?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: Dynamically creating compositeSymbol with pictureMarker and textMarker symbols in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125955#M1431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for sharing here, in case other people have run into the same issues, they'd be able to chime in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if you had a chance to try these suggestions so I'll post it here as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If icon path was used in an Image control, do you see the image? It may be that icon path is incorrect or build action or copy to output directory need to change (see: msdn &lt;A href="https://docs.microsoft.com/en-us/dotnet/framework/wpf/app-development/pack-uris-in-wpf" rel="nofollow noopener noreferrer" target="_blank"&gt;doc&lt;/A&gt;) If the icon path is good, does the symbol render outside CompositeSymbol (using only PictureMarkerSymbol)? If yes, does it get fixed by updating SDK to 100.4 or maybe updating GraphicsRenderingMode or maybe as you zoom-in/out of the map?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to reproduce with the following code where note.png is added as Content, Copy if newer.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Map &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Map&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SpatialReferences&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Wgs84&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; symbol &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;CompositeSymbol&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
symbol&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Symbols&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Add&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;PictureMarkerSymbol&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Uri&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"pack://application:,,,/note.png"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
symbol&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Symbols&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Add&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;TextSymbol&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"1"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Color&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Black&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Esri&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ArcGISRuntime&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Symbology&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;HorizontalAlignment&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Center&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Esri&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ArcGISRuntime&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Symbology&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;VerticalAlignment&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Middle&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; overlay &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;GraphicsOverlay&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
overlay&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Graphics&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Add&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Graphic&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;MapPoint&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; symbol&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GraphicsOverlays&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Add&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;overlay&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 07:09:51 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2021-12-11T07:09:51Z</dc:date>
    <item>
      <title>Dynamically creating compositeSymbol with pictureMarker and textMarker symbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125954#M1430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create Composite Symbols that contain both a Picture Marker Symbol and a Text Symbol.&amp;nbsp;&lt;/P&gt;&lt;P&gt;for some reason, the picture Marker Symbol is not consistently created in the composite symbol. So I am hoping that someone here can see what has been done wrong and help me out. Using C#, here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private async void SetMapSymbols()&lt;BR /&gt; {&lt;BR /&gt; var previousLayer = GraphicsLayer[SEARCH_LAYER];&lt;BR /&gt; GraphicsLayer.Remove(previousLayer);&lt;/P&gt;&lt;P&gt;var graphicsOverlay = new GraphicsOverlay() { Id = SEARCH_LAYER };&lt;BR /&gt; var graphicList = new List&amp;lt;Graphic&amp;gt;();&lt;/P&gt;&lt;P&gt;int order = 0;&lt;/P&gt;&lt;P&gt;foreach (RequestInfoModel entry in PermitList)&lt;BR /&gt; {&lt;BR /&gt; order++;&lt;/P&gt;&lt;P&gt;if (entry.SiteGeoLat == null || entry.SiteGeoLong == null) continue;&lt;/P&gt;&lt;P&gt;var pointAttribList = ConvertObjectToDictionary(entry);&lt;BR /&gt; DictionaryUtility.AddItemTodictionaryAttribute(pointAttribList, ORDER_ATTRIBUTE, order.ToString());&lt;BR /&gt; var geo = entry.AltSiteGeoLat != null &amp;amp;&amp;amp; entry.AltSiteGeoLong != null ? WebMercatorUtility.ConvertToMercator(entry.AltSiteGeoLong.Value, entry.AltSiteGeoLat.Value) : WebMercatorUtility.ConvertToMercator(entry.SiteGeoLong.Value, entry.SiteGeoLat.Value);&lt;BR /&gt; var graphic = new Graphic(&lt;BR /&gt; new MapPoint(geo.Lon, geo.Lat, new SpatialReference(SPATIAL_REFERENCE)),&lt;BR /&gt; pointAttribList,&lt;BR /&gt; string.IsNullOrEmpty(entry.InspectorArea) ? await SymbolUtility.CreateSymbols(order.ToString(), SymbolTypes.Blue, SymbolShapes.Pin) :&lt;BR /&gt; await SymbolUtility.CreateSymbols(order.ToString(), SymbolTypes.Red, SymbolShapes.Arrow));&lt;BR /&gt; if (entry.SiteGeoTypeCode != MAPPABLE)&lt;BR /&gt; {&lt;BR /&gt; graphic.Symbol = string.IsNullOrEmpty(entry.InspectorArea) ? await SymbolUtility.CreateSymbols(order.ToString(), SymbolTypes.Blue, SymbolShapes.Pin2) :&lt;BR /&gt; await SymbolUtility.CreateSymbols(order.ToString(), SymbolTypes.Red, SymbolShapes.Arrow2);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;graphicList.Add(graphic);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;graphicList.ForEach(x =&amp;gt; graphicsOverlay.Graphics.Add(x));&lt;BR /&gt; GraphicsLayer.Add(graphicsOverlay);&lt;BR /&gt; &lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you can see, i am awaiting the SymbolUtility, so here is that code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;public static async Task&amp;lt;Symbol&amp;gt; CreateSymbols(string text, SymbolTypes type, SymbolShapes shape)&lt;BR /&gt; {&lt;BR /&gt; var iconPath = string.Empty;&lt;BR /&gt; iconPath = string.Format(@"pack://application:,,,/Images/{0}_{1}.png", type.ToString(), shape.ToString());&lt;/P&gt;&lt;P&gt;var pc = new PictureMarkerSymbol(new Uri(iconPath, UriKind.RelativeOrAbsolute));&lt;BR /&gt; pc.Width = 30;&lt;BR /&gt; pc.Height = 30;&lt;/P&gt;&lt;P&gt;var cm = new CompositeSymbol();&lt;BR /&gt; var ts = new TextSymbol()&lt;BR /&gt; {&lt;BR /&gt; Color = Colors.Black,&lt;BR /&gt; FontStyle = FontStyle.Normal,&lt;BR /&gt; FontDecoration = FontDecoration.None,&lt;BR /&gt; FontFamily = "Arial",&lt;BR /&gt; FontWeight = FontWeight.Bold,&lt;BR /&gt; Size = 14,&lt;BR /&gt; VerticalAlignment = VerticalAlignment.Middle,&lt;BR /&gt; HorizontalAlignment = HorizontalAlignment.Center,&lt;BR /&gt; OffsetY = shape == SymbolShapes.Arrow ? 5 : 0&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;ts.Text = text;&lt;BR /&gt; cm.Symbols.Add(pc);&lt;BR /&gt; cm.Symbols.Add(ts);&lt;/P&gt;&lt;P&gt;return await Task.Factory.StartNew&amp;lt;Symbol&amp;gt;(() =&amp;gt; { return pc; });&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;here is a screen grab of 1 symbol that generated properly, and 2 that didn't:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="432243" alt="picture of 1 icon rendering properly and two that do not" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/432243_IconError.PNG" /&gt;&lt;/P&gt;&lt;P&gt;I have created a thread on StackOverflow &lt;A href="https://stackoverflow.com/questions/53934328/issue-with-creating-a-symbol-on-an-esri-map/53936891#53936891"&gt;here&lt;/A&gt;, but a person there directed me here to ask. Thank you for reading this far. any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here is the additional info requested below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="picture symbol for testing" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/432286_green_Arrow2.png" /&gt;&lt;/P&gt;&lt;P&gt;the graphic.Geometry :&lt;/P&gt;&lt;P&gt;{"x":-13703208.904060207,"y":5882055.3633824475,"spatialReference":{"wkid":102100,"latestWkid":3857}}&lt;/P&gt;&lt;P&gt;the Spatial Reference = 3857&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:01:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125954#M1430</guid>
      <dc:creator>TerryCoe</dc:creator>
      <dc:date>2018-12-27T18:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating compositeSymbol with pictureMarker and textMarker symbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125955#M1431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for sharing here, in case other people have run into the same issues, they'd be able to chime in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure if you had a chance to try these suggestions so I'll post it here as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If icon path was used in an Image control, do you see the image? It may be that icon path is incorrect or build action or copy to output directory need to change (see: msdn &lt;A href="https://docs.microsoft.com/en-us/dotnet/framework/wpf/app-development/pack-uris-in-wpf" rel="nofollow noopener noreferrer" target="_blank"&gt;doc&lt;/A&gt;) If the icon path is good, does the symbol render outside CompositeSymbol (using only PictureMarkerSymbol)? If yes, does it get fixed by updating SDK to 100.4 or maybe updating GraphicsRenderingMode or maybe as you zoom-in/out of the map?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to reproduce with the following code where note.png is added as Content, Copy if newer.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Map &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Map&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;SpatialReferences&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Wgs84&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; symbol &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;CompositeSymbol&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
symbol&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Symbols&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Add&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;PictureMarkerSymbol&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Uri&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"pack://application:,,,/note.png"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
symbol&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Symbols&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Add&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;TextSymbol&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"1"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Color&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Black&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;10&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Esri&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ArcGISRuntime&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Symbology&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;HorizontalAlignment&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Center&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; Esri&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ArcGISRuntime&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Symbology&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;VerticalAlignment&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Middle&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; overlay &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;GraphicsOverlay&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
overlay&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Graphics&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Add&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Graphic&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;MapPoint&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; symbol&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GraphicsOverlays&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Add&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;overlay&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:09:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125955#M1431</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-11T07:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating compositeSymbol with pictureMarker and textMarker symbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125956#M1432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried to create the PictureMarkerSymbol without the text or composite symbols, and it behaved similarly, where sometimes all of the picture markers are there, and then sometimes when the map is refreshed, some of them don't show up. I also tried creating them like you did in your example, but the same issue occurred.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could not find in my solution where i am setting the Rendering Mode, but by reading the description, it is set to Dynamic, since the icons stay the same regardless of zooming in and out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been working to move to ArcGIS Runtime version 100.4, but since i have both 100.1 and 10.2.7.1234 in my solution, its a pretty intense change.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:24:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125956#M1432</guid>
      <dc:creator>TerryCoe</dc:creator>
      <dc:date>2018-12-27T18:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating compositeSymbol with pictureMarker and textMarker symbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125957#M1433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just read your response in StackOverflow and I'm curious about this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;The only thing that fixes it is reloading the map&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you're able to share 1 graphic geometry and symbol, Map's SpatialReference/extent, I can try to reproduce. You can get geometry/symbol JSON using ToJson() and you can do MyMapView.GetCurrentViewpoint(ViewpointType.BoundingGeometry) to get more info. When you update to new SDK version, does it work?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:25:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125957#M1433</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2018-12-27T18:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating compositeSymbol with pictureMarker and textMarker symbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125958#M1434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am going to edit the original question with the Geometry, extent, and the png file for the symbol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:34:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125958#M1434</guid>
      <dc:creator>TerryCoe</dc:creator>
      <dc:date>2018-12-27T18:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating compositeSymbol with pictureMarker and textMarker symbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125959#M1435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not yet completed moving to 100.4, but will let you know as soon as i do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 18:40:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125959#M1435</guid>
      <dc:creator>TerryCoe</dc:creator>
      <dc:date>2018-12-27T18:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating compositeSymbol with pictureMarker and textMarker symbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125960#M1436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tried the code with Composite Symbol that I shared earlier against 100.1 and it still works for me.&amp;nbsp;RenderingMode is a property of GraphicsOverlay. I think you're right Dynamic is default for points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing that caught my attention in your code is GraphicsLayer (this is v10.2.x class). Maybe the mix of SDK version is not working well. You can start a smaller application to maybe narrow down the issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, can you return composite symbol directly? There seems to be no need for this to be async process.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;return await Task.Factory.StartNew&amp;lt;Symbol&amp;gt;(() =&amp;gt; { return pc; });&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for sharing symbol image and geometry. Another thought was maybe it detects collision and hide the picture symbol but they both show here:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="432235" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/432235_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing you can do is identify graphic that has impartial symbol rendered and get its symbol ToJson(). CompositeSymbol might throw NotSupportedException, but its Symbols picture and text can be deserialized, you can check then if these seem correct. MapView.GeoViewTapped with MapView.IdentifyGraphicsOverlaysAsync will get you the graphic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 19:13:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125960#M1436</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2018-12-27T19:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating compositeSymbol with pictureMarker and textMarker symbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125961#M1437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was noticing the mixture of 100.1 and 10.2, while trying to get everything to 100.4, but thought it was by design. I can totally see that being an issue if the two versions aren't compatible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have taken the asynchronous calls out previously without changing how it is behaving.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the screen shot that I provided above, there weren't any collisions with other icons on there and it doesn't seem to follow any pattern for which ones show the picture and which ones don't.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am going to take some time to implement 100.1 completely, just to ensure that i am all on 1 version before i try anything else.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help. I will update this thread once I have finished that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 20:20:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125961#M1437</guid>
      <dc:creator>TerryCoe</dc:creator>
      <dc:date>2018-12-27T20:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating compositeSymbol with pictureMarker and textMarker symbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125962#M1438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sorry for the misleading names. GraphicsLayer is a GraphicsOverlayCollection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having an issue installing 100.4 to my solution, even after upgrading to .NET Framework v4.6.1.&amp;nbsp; It says that my app supports 'Unsupported Version 0.0' and I should contact the author if the SDK to get it..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 21:31:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125962#M1438</guid>
      <dc:creator>TerryCoe</dc:creator>
      <dc:date>2018-12-27T21:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating compositeSymbol with pictureMarker and textMarker symbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125963#M1439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, .Net Framework 4.6.1 is&lt;A href="https://developers.arcgis.com/net/latest/wpf/guide/system-requirements.htm"&gt; minimum requirement&lt;/A&gt;. I have not seen "Unsupported Version 0.0".. can you try uninstall nuget references first and then install v100.4?&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will install these two&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="432298" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/432298_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When asked to resolve namespaces, there's a few of those between these two releases.. you can just define using statement, for example. Hopefully, you've got sample simplified just to see if render issue on picture symbol in composite symbol is resolved.&lt;/P&gt;&lt;P&gt;using Colors = System.Drawing.Color;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 22:23:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125963#M1439</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2018-12-27T22:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating compositeSymbol with pictureMarker and textMarker symbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125964#M1440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will try that first thing tomorrow, since I reverted back to 4.6.0 today already.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2018 22:27:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125964#M1440</guid>
      <dc:creator>TerryCoe</dc:creator>
      <dc:date>2018-12-27T22:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically creating compositeSymbol with pictureMarker and textMarker symbols</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125965#M1441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Completing this is not an option for me, due to time constraints and the regression testing needed to ensure it was done properly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Quick Question though:&lt;/P&gt;&lt;P&gt;What type of files could be used as a &lt;A href="https://developers.arcgis.com/net/latest/wpf/api-reference/html/T_Esri_ArcGISRuntime_Symbology_PictureMarkerSymbol.htm"&gt;PictureMarkerSymbol&lt;/A&gt;? I am thinking that the .PNG files might not scale well to a vector tile base map, and the visible extent, so I was going to try converting to a .SVG file. But thats a lot of work, so I want to be sure the object can render it properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2018 17:59:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamically-creating-compositesymbol-with/m-p/125965#M1441</guid>
      <dc:creator>TerryCoe</dc:creator>
      <dc:date>2018-12-28T17:59:47Z</dc:date>
    </item>
  </channel>
</rss>

