<?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: Effect parameter in WMSLayer does not give expected result in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/effect-parameter-in-wmslayer-does-not-give/m-p/1214200#M78761</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/618165"&gt;@jotwe&lt;/a&gt;&amp;nbsp;- there are two things that might be going on here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Effects are not supported in 3D SceneViews, that's documented as a known limitation here:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html#effect" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html#effect&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. For 2D MapViews, we unfortunately have a bug with effects and WMSLayer at version 4.24. It has already been fixed for the upcoming release (planned for November). In the meantime, you can check out the fix by using the &lt;A href="https://github.com/Esri/feedback-js-api-next" target="_self"&gt;development version of the API&lt;/A&gt; at&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&amp;lt;script src="&lt;A href="https://js.arcgis.com/next/" target="_blank"&gt;https://js.arcgis.com/next/&lt;/A&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 14:44:55 GMT</pubDate>
    <dc:creator>AnneFitz</dc:creator>
    <dc:date>2022-09-20T14:44:55Z</dc:date>
    <item>
      <title>Effect parameter in WMSLayer does not give expected result</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/effect-parameter-in-wmslayer-does-not-give/m-p/1214148#M78757</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to change the appearance of a WMSLayer in ArcGIS API for JS v4.24 by setting the effect parameter. But for some reason, I cannot see any change in the rendered output.&lt;/P&gt;&lt;P&gt;To make sure it's not a problem with my code or WMS service, I used the official WMSLayer example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/layers-wms/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/layers-wms/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I modified the constructor in the provided CodePen by adding the effect parameter:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const layer = new WMSLayer({
  url: "https://ows.terrestris.de/osm/service",
  sublayers: [
    {
      name: "OSM-WMS"
    }
  ],
  effect: "invert(100%)"
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried "blur(5px)", "brightness(50%)" and "hue-rotate(270deg)" but never saw any difference after zooming and panning the map.&lt;/P&gt;&lt;P&gt;Am I missing something here? I could not find any hints in the documentation or other community posts.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 11:55:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/effect-parameter-in-wmslayer-does-not-give/m-p/1214148#M78757</guid>
      <dc:creator>jotwe</dc:creator>
      <dc:date>2022-09-20T11:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Effect parameter in WMSLayer does not give expected result</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/effect-parameter-in-wmslayer-does-not-give/m-p/1214200#M78761</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/618165"&gt;@jotwe&lt;/a&gt;&amp;nbsp;- there are two things that might be going on here.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Effects are not supported in 3D SceneViews, that's documented as a known limitation here:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html#effect" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html#effect&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. For 2D MapViews, we unfortunately have a bug with effects and WMSLayer at version 4.24. It has already been fixed for the upcoming release (planned for November). In the meantime, you can check out the fix by using the &lt;A href="https://github.com/Esri/feedback-js-api-next" target="_self"&gt;development version of the API&lt;/A&gt; at&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&amp;lt;script src="&lt;A href="https://js.arcgis.com/next/" target="_blank"&gt;https://js.arcgis.com/next/&lt;/A&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 14:44:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/effect-parameter-in-wmslayer-does-not-give/m-p/1214200#M78761</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2022-09-20T14:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Effect parameter in WMSLayer does not give expected result</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/effect-parameter-in-wmslayer-does-not-give/m-p/1214205#M78762</link>
      <description>&lt;P&gt;Thanks a lot for the quick reply. Then I will wait for the upcoming version...&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 14:51:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/effect-parameter-in-wmslayer-does-not-give/m-p/1214205#M78762</guid>
      <dc:creator>jotwe</dc:creator>
      <dc:date>2022-09-20T14:51:08Z</dc:date>
    </item>
  </channel>
</rss>

