<?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: MultilayerSymbol Samples? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762967#M9543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If in case, you use ArcGIS Pro symbol style to create your own symbol and prefer to use in Runtime, please look at this sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/nagmayasmin/DotNetRuntimeSamples/tree/master/DicSymbolStyle" title="https://github.com/nagmayasmin/DotNetRuntimeSamples/tree/master/DicSymbolStyle"&gt;DotNetRuntimeSamples/DicSymbolStyle at master · nagmayasmin/DotNetRuntimeSamples · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ShapefileFeatureTable myShapefile = await ShapefileFeatureTable.OpenAsync(file_shapefile_location);&lt;BR /&gt; &lt;BR /&gt; // Create a feature layer to display the shapefile&lt;BR /&gt; FeatureLayer newFeatureLayer = new FeatureLayer(myShapefile);&lt;/P&gt;&lt;P&gt;string file_to_stylx = parent.FullName + "\\Data\\style.stylx";&lt;BR /&gt; symbolStyle = await SymbolStyle.OpenAsync(file_to_stylx);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; IList&amp;lt;String&amp;gt; stringList = new List&amp;lt;string&amp;gt;();&lt;BR /&gt; stringList.Add("shoppingcenter01");&lt;BR /&gt; stringList.Add("marker01");&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; SimpleRenderer simpleRenderer = new SimpleRenderer(await symbolStyle.GetSymbolAsync(stringList));&lt;BR /&gt; newFeatureLayer.Renderer = simpleRenderer;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; // Add the feature layer to the map&lt;BR /&gt; myMap.OperationalLayers.Add(newFeatureLayer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Kris mentioned, this is .sqlite geodatabase and you need to get the "key" file to identify what symbol layer you wnat to add in Runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2019 22:44:43 GMT</pubDate>
    <dc:creator>NagmaYasmin</dc:creator>
    <dc:date>2019-02-25T22:44:43Z</dc:date>
    <item>
      <title>MultilayerSymbol Samples?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762964#M9540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are there any samples of&amp;nbsp;MultilayerSymbol json files.&amp;nbsp; All help really seems to indicate is that you can only load these from json, but not seeing any sample of what this json would like like and how to compose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 18:33:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762964#M9540</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2018-10-19T18:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: MultilayerSymbol Samples?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762965#M9541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/6566"&gt;Joe Hershman&lt;/A&gt;‌ were you able to figure this out this one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually I would&amp;nbsp;use CompositeSymbol to combine multiple symbols, such as a vehicle symbol with a fixed rotation, and an arrow or similar indicator for direction. Using CompositeSymbol, the whole symbol is rotated. What I was hoping for, was that MultilayerPointSymbol could handle this situation where one symbol is rotated, and the other is not. However, the documentation has no real documentation on what the json would look like, or what the symbol type is used for, or if it applies for my needs.&amp;nbsp; I know I can&amp;nbsp;use two layers with different symbology, but that&amp;nbsp;eats&amp;nbsp;an extra bit of extra unmanaged memory for the renderers (and it adds up), and added hassle of updating them both.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 20:46:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762965#M9541</guid>
      <dc:creator>BjørnarSundsbø1</dc:creator>
      <dc:date>2019-02-25T20:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: MultilayerSymbol Samples?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762966#M9542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I recently had this issue and my approach was&amp;nbsp;to use ArcGIS Pro to author the symbol save the symbol style. The style files seem to be Sq-lite database files, using a Sq-Lite browser you can find in one of the tables the JSON. The symbols seem to be built from the CIM classes (e.g.&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic4098.html" title="https://pro.arcgis.com/en/pro-app/sdk/api-reference/#topic4098.html"&gt;ArcGIS Pro 2.3 API Reference Guide&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example of a layered symbol for a pointMarker consisting of triangle and picture (I removed the actual base64 picture)&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt; "type": "CIMPointSymbol",&lt;BR /&gt; "symbolLayers": [{&lt;BR /&gt; "type": "CIMVectorMarker",&lt;BR /&gt; "enable": true,&lt;BR /&gt; "anchorPoint": {"x": 0,"y": 0,"z": 0&lt;BR /&gt; },&lt;BR /&gt; "anchorPointUnits": "Relative",&lt;BR /&gt; "dominantSizeAxis3D": "Y",&lt;BR /&gt; "offsetY": 14,&lt;BR /&gt; "rotation": 180,&lt;BR /&gt; "size": 17,&lt;BR /&gt; "billboardMode3D": "FaceNearPlane",&lt;BR /&gt; "frame": {"xmin": -5.0,"ymin": -5.0,"xmax": 5.0,"ymax": 3.74},&lt;BR /&gt; "markerGraphics": [{&lt;BR /&gt; "type": "CIMMarkerGraphic",&lt;BR /&gt; "geometry": {"x": 0,"y": 0},&lt;BR /&gt; "symbol": {&lt;BR /&gt; "type": "CIMPointSymbol",&lt;BR /&gt; "symbolLayers": [{&lt;BR /&gt; "type": "CIMVectorMarker",&lt;BR /&gt; "enable": true,&lt;BR /&gt; "anchorPoint": {"x": 0,"y": 0,"z": 0},&lt;BR /&gt; "anchorPointUnits": "Relative",&lt;BR /&gt; "dominantSizeAxis3D": "Y",&lt;BR /&gt; "size": 5,&lt;BR /&gt; "billboardMode3D": "FaceNearPlane",&lt;BR /&gt; "frame": {"xmin": 0.0,"ymin": 0.0,"xmax": 17.0,"ymax": 17.0},&lt;BR /&gt; "markerGraphics": [{&lt;BR /&gt; "type": "CIMMarkerGraphic",&lt;BR /&gt; "geometry": {&lt;BR /&gt; "rings": [[[0.0,0.0],[8.61,14.85],[17.0,0.0],[0.0,0.0]]]},&lt;BR /&gt; "symbol": {&lt;BR /&gt; "type": "CIMPolygonSymbol",&lt;BR /&gt; "symbolLayers": [{&lt;BR /&gt; "type": "CIMSolidStroke",&lt;BR /&gt; "enable": true,&lt;BR /&gt; "capStyle": "Round",&lt;BR /&gt; "joinStyle": "Round",&lt;BR /&gt; "lineStyle3D": "Strip",&lt;BR /&gt; "miterLimit": 10,&lt;BR /&gt; "width": 0,&lt;BR /&gt; "color": {"type": "CIMRGBColor","values": [0,0,0,100]}&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; "type": "CIMSolidFill",&lt;BR /&gt; "enable": true,&lt;BR /&gt; "color": {&lt;BR /&gt; "type": "CIMRGBColor",&lt;BR /&gt; "values": [0,0,0,100]&lt;BR /&gt; }&lt;BR /&gt; }]&lt;BR /&gt; }&lt;BR /&gt; }],&lt;BR /&gt; "scaleSymbolsProportionally": true,&lt;BR /&gt; "respectFrame": true&lt;BR /&gt; }],&lt;BR /&gt; "haloSize": 0,&lt;BR /&gt; "scaleX": 1,&lt;BR /&gt; "angleAlignment": "Display"&lt;BR /&gt; }&lt;BR /&gt; }],&lt;BR /&gt; "scaleSymbolsProportionally": true,&lt;BR /&gt; "respectFrame": true&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; "type": "CIMPictureMarker",&lt;BR /&gt; "enable": true,&lt;BR /&gt; "anchorPoint": {"x": 0,"y": -6,"z": 0},&lt;BR /&gt; "anchorPointUnits": "Absolute",&lt;BR /&gt; "dominantSizeAxis3D": "Y",&lt;BR /&gt; "offsetY": 17,&lt;BR /&gt; "size": 32,&lt;BR /&gt; "billboardMode3D": "FaceNearPlane",&lt;BR /&gt; "invertBackfaceTexture": true,&lt;BR /&gt; "scaleX": 1,&lt;BR /&gt; "textureFilter": "Picture",&lt;BR /&gt; "tintColor": {"type": "CIMRGBColor","values": [255, 255,255,100]},&lt;BR /&gt; "url": "data:image/png;base64, &amp;lt;REMOVED&amp;gt;"&lt;BR /&gt; }],&lt;BR /&gt; "haloSize": 1,&lt;BR /&gt; "scaleX": 1,&lt;BR /&gt; "angleAlignment": "Display"&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 22:28:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762966#M9542</guid>
      <dc:creator>KrisDesmet</dc:creator>
      <dc:date>2019-02-25T22:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: MultilayerSymbol Samples?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762967#M9543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If in case, you use ArcGIS Pro symbol style to create your own symbol and prefer to use in Runtime, please look at this sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/nagmayasmin/DotNetRuntimeSamples/tree/master/DicSymbolStyle" title="https://github.com/nagmayasmin/DotNetRuntimeSamples/tree/master/DicSymbolStyle"&gt;DotNetRuntimeSamples/DicSymbolStyle at master · nagmayasmin/DotNetRuntimeSamples · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ShapefileFeatureTable myShapefile = await ShapefileFeatureTable.OpenAsync(file_shapefile_location);&lt;BR /&gt; &lt;BR /&gt; // Create a feature layer to display the shapefile&lt;BR /&gt; FeatureLayer newFeatureLayer = new FeatureLayer(myShapefile);&lt;/P&gt;&lt;P&gt;string file_to_stylx = parent.FullName + "\\Data\\style.stylx";&lt;BR /&gt; symbolStyle = await SymbolStyle.OpenAsync(file_to_stylx);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; IList&amp;lt;String&amp;gt; stringList = new List&amp;lt;string&amp;gt;();&lt;BR /&gt; stringList.Add("shoppingcenter01");&lt;BR /&gt; stringList.Add("marker01");&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; SimpleRenderer simpleRenderer = new SimpleRenderer(await symbolStyle.GetSymbolAsync(stringList));&lt;BR /&gt; newFeatureLayer.Renderer = simpleRenderer;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; // Add the feature layer to the map&lt;BR /&gt; myMap.OperationalLayers.Add(newFeatureLayer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Kris mentioned, this is .sqlite geodatabase and you need to get the "key" file to identify what symbol layer you wnat to add in Runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 22:44:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762967#M9543</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2019-02-25T22:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: MultilayerSymbol Samples?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762968#M9544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good news: Update 5 will also ship with&amp;nbsp;many more APIs available for you to do a lot of this programmatically, so you don't have to do it all via JSON.&lt;/P&gt;&lt;P&gt;I do still recommend using&amp;nbsp;Pro to author symbols in though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 01:00:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762968#M9544</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2019-02-26T01:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: MultilayerSymbol Samples?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762969#M9545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Where do you see what &lt;SPAN style="background-color: #ffffff;"&gt;update 5 will have and when it will be available?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 01:10:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762969#M9545</guid>
      <dc:creator>KrisDesmet</dc:creator>
      <dc:date>2019-02-26T01:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: MultilayerSymbol Samples?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762970#M9546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see what Update 5 has, because I work on the product &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As it hasn't shipped yet, I&amp;nbsp;don't have exact release dates to share. We're getting close though...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 21:47:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762970#M9546</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2019-02-26T21:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: MultilayerSymbol Samples?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762971#M9547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using MultilayerPointSymbol, am I able to do what I want to in regard to one symbol being rotating based on an attribute,&amp;nbsp;and the other part of the symbol having a fix orientation? I.e the&amp;nbsp;car being fixed, while arrow&amp;nbsp;rotates depending on the direction?&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="438182" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/438182_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"We're getting close though..." is good to hear &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;(PS: I'm guessing&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/354686"&gt;Kris Desmet&lt;/A&gt;&amp;nbsp;is curious, at least&amp;nbsp; I am, if it is possible to see somewhere what you are currently working on while we excitedly wait for new releases &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/wink.png" /&gt;).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 22:00:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762971#M9547</guid>
      <dc:creator>BjørnarSundsbø1</dc:creator>
      <dc:date>2019-02-26T22:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: MultilayerSymbol Samples?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762972#M9548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Per-layer rotation isn't something that's supported yet (but in the works). The only way I can think of right now is 360 Unique Values in a Unique Value Renderer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note regarding the Symbol Layer API coming: This doesn't give you any new super-powers. It just means you don't have to use JSON as much to&amp;nbsp;use your existing super powers &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 23:02:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762972#M9548</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2019-02-26T23:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: MultilayerSymbol Samples?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762973#M9549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But I want super powers..... but at least they&amp;nbsp;are in&amp;nbsp;the works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried Unique Value Renderer with 12 segments, but the loading/creation of the renderers was very slow and the added unmanaged memory footprint was surprisingly high (there&amp;nbsp;are&amp;nbsp;multiple maps). We are fairly pressed on memory as it is, and&amp;nbsp;you are currently investigating some of those issues/leaks.&amp;nbsp;There were quite a few layers due to being able to show/hide based on categories, but still. Much more cost effective in terms of (load) performance and memory consumption using one layer for directional symbol, and another for fixed. That also causes some added unmanaged memory, but it performs. And we were able to trim down the categories &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2019 23:36:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/multilayersymbol-samples/m-p/762973#M9549</guid>
      <dc:creator>BjørnarSundsbø1</dc:creator>
      <dc:date>2019-02-26T23:36:31Z</dc:date>
    </item>
  </channel>
</rss>

