<?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: Issues with FeatureLayer and Polygons in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issues-with-featurelayer-and-polygons/m-p/1629503#M87314</link>
    <description>&lt;P&gt;Noah, I am fairly certain this issue is a result of the angular environment I am working in. I am able to add a poly without the issue, it seems to be an issue when I load data for the poly via apply edits. I will report back once I figure out what is causing the fluctuation in alpha.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jul 2025 16:55:13 GMT</pubDate>
    <dc:creator>jtcrash</dc:creator>
    <dc:date>2025-07-02T16:55:13Z</dc:date>
    <item>
      <title>Issues with FeatureLayer and Polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issues-with-featurelayer-and-polygons/m-p/1628994#M87310</link>
      <description>&lt;P&gt;My issue stems around polygons on a feature layer. I switched to a feature layer from graphic layer because I wanted the baked in labels. I am creating an angular app and the map I am working on displays a circle (polygon) with a line that shows the radius (in miles). I got the line and label showing up decently well, circles over 500 miles the line isn't exactly in the middle, but I assume that is a geodesic vs map projection issue and the distortion of that conversion.&lt;/P&gt;&lt;P&gt;My problem is, my polygon circle is filled with a transparent color 0.2 transparency, with a solid color border around it. When zooming in on the circle, the transparency is all over the place, if I had to guess it ranges from 0.2 to maybe 0.8 or 0.9. Having the circle nearly opaque is a deal breaker and I would prefer that circle remain transparent at the same level all the way through.&lt;/P&gt;&lt;P&gt;I did notice the UID on the poly changes on every zoom, but I assume this is not unusual. I have tried implementing my own color on zoom using renderer color stops, but that doesn't fix the problem at all.&lt;/P&gt;&lt;P&gt;I have also noticed the performance compared to graphic layer isn't great, the line and label doesn't always fully render on zoom&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 18:11:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issues-with-featurelayer-and-polygons/m-p/1628994#M87310</guid>
      <dc:creator>jtcrash</dc:creator>
      <dc:date>2025-07-01T18:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with FeatureLayer and Polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issues-with-featurelayer-and-polygons/m-p/1629068#M87312</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/919727"&gt;@jtcrash&lt;/a&gt;,&amp;nbsp;thanks for posting your question here. Do you have a simplified app that reproduces the issue?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 20:49:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issues-with-featurelayer-and-polygons/m-p/1629068#M87312</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2025-07-01T20:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with FeatureLayer and Polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issues-with-featurelayer-and-polygons/m-p/1629503#M87314</link>
      <description>&lt;P&gt;Noah, I am fairly certain this issue is a result of the angular environment I am working in. I am able to add a poly without the issue, it seems to be an issue when I load data for the poly via apply edits. I will report back once I figure out what is causing the fluctuation in alpha.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 16:55:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issues-with-featurelayer-and-polygons/m-p/1629503#M87314</guid>
      <dc:creator>jtcrash</dc:creator>
      <dc:date>2025-07-02T16:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with FeatureLayer and Polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issues-with-featurelayer-and-polygons/m-p/1629520#M87315</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;it seems that adding a poly to a FeatureLayer from an Angular signal Effect is the cause of my issue. The code is a little complicated to post, but the idea is this:&lt;/P&gt;&lt;P&gt;- Once data changes (within the effect()) and contains lat, lon, radius as a minimum&lt;BR /&gt;- Remove any existing features using applyEdits&lt;BR /&gt;- applyEdit addfeature Circle graphic to the feature layer that has a simple renderer with transparent fill&lt;/P&gt;&lt;P&gt;If I add the circle using the same code directly from ngAfterViewInit, no problem; from the effect() the poly has the fluctuation on zoom.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 17:20:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issues-with-featurelayer-and-polygons/m-p/1629520#M87315</guid>
      <dc:creator>jtcrash</dc:creator>
      <dc:date>2025-07-02T17:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with FeatureLayer and Polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issues-with-featurelayer-and-polygons/m-p/1629598#M87316</link>
      <description>&lt;P&gt;Ok, well, it seems that removing and recreating the FeatureLayer from within the effect() flow seems to do the trick. The circle poly is no longer fluctuating alpha on zoom. I suppose there could be some sort of context issue from Angular signal effects or something but likely that will require a smarter dev than me to figure out. The idea of the design is as follows:&lt;BR /&gt;&lt;BR /&gt;When the effect detects change on the data ([{ lat, lon, radius, radiusUnit }, { ... }])&lt;BR /&gt;1. Delete the FeatureLayer containing any existing circles (areas) and delete the FeatureLayer containing the polylines with the radiusUnit label&lt;BR /&gt;2. Recreate the FeatureLayers&lt;BR /&gt;3. Loop through the area circles and polylines to create the graphics&lt;BR /&gt;4. applyEdits (addFeatures) the array of areas and lines to each layer respectively&lt;BR /&gt;5. Profit&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 19:42:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issues-with-featurelayer-and-polygons/m-p/1629598#M87316</guid>
      <dc:creator>jtcrash</dc:creator>
      <dc:date>2025-07-02T19:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with FeatureLayer and Polygons</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issues-with-featurelayer-and-polygons/m-p/1631252#M87342</link>
      <description>&lt;P&gt;It seems I am still having the issue in Firefox however&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 18:46:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issues-with-featurelayer-and-polygons/m-p/1631252#M87342</guid>
      <dc:creator>jtcrash</dc:creator>
      <dc:date>2025-07-08T18:46:18Z</dc:date>
    </item>
  </channel>
</rss>

