<?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>idea Hide Map Layer Transparency Buttons At 100% or 0% Transparency in ArcGIS Experience Builder Ideas</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/hide-map-layer-transparency-buttons-at-100-or-0/idi-p/1504453</link>
    <description>&lt;P&gt;It's a small UX thing, but it's pretty annoying. The Increase/Decrease Transparency Buttons in the Map Layers Widget should hide or disable themselves if the layer is at 100% or 0% transparency. It is very easy for a user to get confused an click the wrong one and not know why the layer isn't changing. (Can you guess why I am posting this idea now?)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_0-1720728232416.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/109583i6C7E896E4284EE43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_0-1720728232416.png" alt="JeffreyThompson2_0-1720728232416.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, I was looking through the code of the Map Layers Widget and there doesn't appear to be any validation to prevent negative values or values greater than 1. Is this validation handled in the definition of the Layer Class? If not, validation should be added to the code.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;  execute = (layerItem): void =&amp;gt; {
    if (this.isIncreaseOpacity) {
      if (layerItem.layer.opacity &amp;lt; 1) {
        layerItem.layer.opacity += 0.25
      }
    } else {
      if (layerItem.layer.opacity &amp;gt; 0) {
        layerItem.layer.opacity -= 0.25
      }
    }
  }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2024 20:11:31 GMT</pubDate>
    <dc:creator>JeffreyThompson2</dc:creator>
    <dc:date>2024-07-11T20:11:31Z</dc:date>
    <item>
      <title>Hide Map Layer Transparency Buttons At 100% or 0% Transparency</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/hide-map-layer-transparency-buttons-at-100-or-0/idi-p/1504453</link>
      <description>&lt;P&gt;It's a small UX thing, but it's pretty annoying. The Increase/Decrease Transparency Buttons in the Map Layers Widget should hide or disable themselves if the layer is at 100% or 0% transparency. It is very easy for a user to get confused an click the wrong one and not know why the layer isn't changing. (Can you guess why I am posting this idea now?)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JeffreyThompson2_0-1720728232416.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/109583i6C7E896E4284EE43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JeffreyThompson2_0-1720728232416.png" alt="JeffreyThompson2_0-1720728232416.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also, I was looking through the code of the Map Layers Widget and there doesn't appear to be any validation to prevent negative values or values greater than 1. Is this validation handled in the definition of the Layer Class? If not, validation should be added to the code.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;  execute = (layerItem): void =&amp;gt; {
    if (this.isIncreaseOpacity) {
      if (layerItem.layer.opacity &amp;lt; 1) {
        layerItem.layer.opacity += 0.25
      }
    } else {
      if (layerItem.layer.opacity &amp;gt; 0) {
        layerItem.layer.opacity -= 0.25
      }
    }
  }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 20:11:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/hide-map-layer-transparency-buttons-at-100-or-0/idi-p/1504453</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-07-11T20:11:31Z</dc:date>
    </item>
  </channel>
</rss>

