<?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: How to program to implement the ArcGIS pro feature &amp;quot;Layer Effects&amp;quot; in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-program-to-implement-the-arcgis-pro-feature/m-p/1224855#M11451</link>
    <description>&lt;P&gt;Are you trying to implement a custom effect beyond the out-of-the-box symbol layer effects?&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/symbol-effects.htm" target="_blank"&gt;Use symbol effects—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2022 20:14:28 GMT</pubDate>
    <dc:creator>MichaelBranscomb</dc:creator>
    <dc:date>2022-10-24T20:14:28Z</dc:date>
    <item>
      <title>How to program to implement the ArcGIS pro feature "Layer Effects"</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-program-to-implement-the-arcgis-pro-feature/m-p/1224548#M11449</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to know how to program to implment a feature same as "Layer Effects" in ArcGIS pro as the picture shown below?&lt;/P&gt;&lt;P&gt;I probably need the Extention effect in my product.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help please?&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EricJing_0-1666573113401.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/54208i8B4D326F1C8337A4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EricJing_0-1666573113401.png" alt="EricJing_0-1666573113401.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 01:12:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-program-to-implement-the-arcgis-pro-feature/m-p/1224548#M11449</guid>
      <dc:creator>EricJing</dc:creator>
      <dc:date>2022-10-24T01:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to program to implement the ArcGIS pro feature "Layer Effects"</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-program-to-implement-the-arcgis-pro-feature/m-p/1224855#M11451</link>
      <description>&lt;P&gt;Are you trying to implement a custom effect beyond the out-of-the-box symbol layer effects?&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/symbol-effects.htm" target="_blank"&gt;Use symbol effects—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 20:14:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-program-to-implement-the-arcgis-pro-feature/m-p/1224855#M11451</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2022-10-24T20:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to program to implement the ArcGIS pro feature "Layer Effects"</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-program-to-implement-the-arcgis-pro-feature/m-p/1224945#M11452</link>
      <description>&lt;P&gt;Thanks for reply..&lt;/P&gt;&lt;P&gt;I want to do it with arcgisruntime.net wpf.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 22:21:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-program-to-implement-the-arcgis-pro-feature/m-p/1224945#M11452</guid>
      <dc:creator>EricJing</dc:creator>
      <dc:date>2022-10-24T22:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to program to implement the ArcGIS pro feature "Layer Effects"</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-program-to-implement-the-arcgis-pro-feature/m-p/1225236#M11453</link>
      <description>&lt;P&gt;There are currently no public API types for working with Symbol Layer Effects (they're on the future roadmap), but it looks like you have ArcGIS Pro therefore in the short-medium term you can...&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add one or more feature layers to a Map in ArcGIS Pro&lt;/LI&gt;&lt;LI&gt;Setup the layer symbology with symbol layer effects&lt;/LI&gt;&lt;LI&gt;Use the Create Mobile Map Package geoprocessing tool to create a .mmpk&lt;/LI&gt;&lt;LI&gt;Unzip the mmpk&lt;/LI&gt;&lt;LI&gt;Browse to the P20 folder and locate the .geodatabase file&lt;/LI&gt;&lt;LI&gt;Open the .geodatabase file in a Sqlite browser and open the GDB_ServiceItems table&lt;/LI&gt;&lt;LI&gt;Locate the row for the layer symbology you want to replicate and JSON copy the content of the AdvancedDrawingInfo column&lt;/LI&gt;&lt;LI&gt;Trim the first and last parts of the JSON:&lt;UL&gt;&lt;LI&gt;e.g. `{"drawingInfo":{"renderer":`&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;e.g. `,"scaleSymbols":true,"transparency":0,"labelingInfo":null}}`&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;This leaves you with just the Renderer JSON which you can use with Renderer.FromJson().&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code example:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;string drawingInfoJson = "{ \"type\":\"simple\",\"symbol\":{ \"type\":\"CIMSymbolReference\",\"symbol\":{ \"type\":\"CIMPointSymbol\",\"haloSize\":1,\"scaleX\":1,\"angleAlignment\":\"Display\",\"symbolLayers\":[{ \"type\":\"CIMVectorMarker\",\"effects\":[{ \"type\":\"CIMGeometricEffectCircularSector\",\"endAngle\":45,\"radius\":30}],\"enable\":true,\"anchorPoint\":{ \"x\":0,\"y\":0,\"z\":-0.5},\"anchorPointUnits\":\"Relative\",\"dominantSizeAxis3D\":\"Z\",\"size\":30,\"billboardMode3D\":\"FaceNearPlane\",\"markerPlacement\":{ \"type\":\"CIMMarkerPlacementInsidePolygon\",\"gridType\":\"Fixed\",\"seed\":13,\"stepX\":15,\"stepY\":15,\"clipping\":\"ClipAtBoundary\",\"stdDeviationX\":7.5,\"stdDeviationY\":7.5},\"frame\":{ \"xmin\":-2.0,\"ymin\":-2.0,\"xmax\":2.0,\"ymax\":2.0},\"markerGraphics\":[{ \"type\":\"CIMMarkerGraphic\",\"geometry\":{ \"rings\":[[[0.0,2.0],[0.35,1.97],[0.68,1.88],[1.0,1.73],[1.29,1.53],[1.53,1.29],[1.73,1.0],[1.88,0.68],[1.97,0.35],[2.0,0.0],[1.97,-0.35],[1.88,-0.68],[1.73,-1.0],[1.53,-1.29],[1.29,-1.53],[1.0,-1.73],[0.68,-1.88],[0.35,-1.97],[0.0,-2.0],[-0.35,-1.97],[-0.68,-1.88],[-1.0,-1.73],[-1.29,-1.53],[-1.53,-1.29],[-1.73,-1.0],[-1.88,-0.68],[-1.97,-0.35],[-2.0,-0.0],[-1.97,0.35],[-1.88,0.68],[-1.73,1.0],[-1.53,1.29],[-1.29,1.53],[-1.0,1.73],[-0.68,1.88],[-0.35,1.97],[0.0,2.0]]]},\"symbol\":{ \"type\":\"CIMPolygonSymbol\",\"symbolLayers\":[{ \"type\":\"CIMSolidStroke\",\"enable\":true,\"capStyle\":\"Round\",\"joinStyle\":\"Round\",\"lineStyle3D\":\"Strip\",\"miterLimit\":10,\"width\":0,\"color\":[0,0,0,0]},{ \"type\":\"CIMSolidFill\",\"enable\":true,\"color\":[138,73,50,255]}]} }],\"scaleSymbolsProportionally\":true,\"respectFrame\":true}]} } }";
GraphicsOverlay graphicsOverlay = new GraphicsOverlay();
graphicsOverlay.Renderer = Renderer.FromJson(drawingInfoJson);
Graphic graphic = new Graphic(new MapPoint(0, 0, 0, SpatialReferences.Wgs84));
graphicsOverlay.Graphics.Add(graphic);
mapView.GraphicsOverlays.Add(graphicsOverlay);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could go further too... and create a C# class for the JSON then export that to JSON and use in conjunction with the Renderer.FromJson method.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 16:10:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-program-to-implement-the-arcgis-pro-feature/m-p/1225236#M11453</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2022-10-25T16:10:33Z</dc:date>
    </item>
  </channel>
</rss>

