<?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: Image CLIPPING | API 4.25 (Next) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/image-clipping-api-4-25-next/m-p/1236419#M79495</link>
    <description>&lt;P&gt;Hi, glad to hear the conversion from SVG is working well for you!! The cut off issue you are running into is a known limit right now unfortunately. It happens when you use a size visual variable based on real world sizes (lines 273-275 in your codepen). At larger scales, the symbol becomes too large to render properly with our current implementation. This is why you only notice cut off when zooming in to large scales, but don't notice it when zooming out.&lt;/P&gt;&lt;P&gt;A workaround for this could be to set a maxScale on your MapView so that users cannot zoom in to scales where the symbols get cut off.&lt;/P&gt;&lt;P&gt;Side note: ScaleX is only a property on CIMPictureMarker symbol layers, so that primitive override has no effect now that you are using a CIMVectorMarker symbol layer.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2022 16:44:36 GMT</pubDate>
    <dc:creator>AnneFitz</dc:creator>
    <dc:date>2022-11-30T16:44:36Z</dc:date>
    <item>
      <title>Image CLIPPING | API 4.25 (Next)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/image-clipping-api-4-25-next/m-p/1236294#M79485</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm using the new SVG to CIMSymbol functionality (&lt;A href="https://codepen.io/michaelk95/pen/zYzrYXK?editors=1000" target="_blank" rel="noopener"&gt;https://codepen.io/michaelk95/pen/zYzrYXK?editors=1000&amp;nbsp;&lt;/A&gt;It works perfectly!)&lt;/P&gt;&lt;P&gt;When using ScaleX primitive override:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;primitiveOverrides: [{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;type: 'CIMPrimitiveOverride',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;primitiveName: 'pictureOver',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;propetryName: 'ScaleX',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;valueExpressionInfo: {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;type: 'CIMExpressionInfo',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;title: 'Custom',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;expression: `$feature.WIDTH`,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;returnType: 'Numeric'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}],&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The image clipping occurs sometimes when zooming in and out.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Codepen:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/michaelk95/pen/zYzrYXK?editors=1000" target="_blank" rel="noopener"&gt;https://codepen.io/michaelk95/pen/zYzrYXK?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Screenshots:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichaelK1_0-1669799320303.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57200i38712B9068EFC2F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MichaelK1_0-1669799320303.png" alt="MichaelK1_0-1669799320303.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichaelK1_1-1669799358440.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57201iCDDD05527DE21E37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MichaelK1_1-1669799358440.png" alt="MichaelK1_1-1669799358440.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 09:10:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/image-clipping-api-4-25-next/m-p/1236294#M79485</guid>
      <dc:creator>MichaelK1</dc:creator>
      <dc:date>2022-11-30T09:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Image CLIPPING | API 4.25 (Next)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/image-clipping-api-4-25-next/m-p/1236419#M79495</link>
      <description>&lt;P&gt;Hi, glad to hear the conversion from SVG is working well for you!! The cut off issue you are running into is a known limit right now unfortunately. It happens when you use a size visual variable based on real world sizes (lines 273-275 in your codepen). At larger scales, the symbol becomes too large to render properly with our current implementation. This is why you only notice cut off when zooming in to large scales, but don't notice it when zooming out.&lt;/P&gt;&lt;P&gt;A workaround for this could be to set a maxScale on your MapView so that users cannot zoom in to scales where the symbols get cut off.&lt;/P&gt;&lt;P&gt;Side note: ScaleX is only a property on CIMPictureMarker symbol layers, so that primitive override has no effect now that you are using a CIMVectorMarker symbol layer.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 16:44:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/image-clipping-api-4-25-next/m-p/1236419#M79495</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2022-11-30T16:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Image CLIPPING | API 4.25 (Next)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/image-clipping-api-4-25-next/m-p/1301916#M81469</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Update with 4.27:&lt;/P&gt;&lt;P&gt;I'm still having issues with the CIM symbol image clipping when using the size override.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I made a codepen with the ArcGIS js api version 4.27 :&amp;nbsp;&lt;A href="https://codepen.io/michaelk95/pen/wvpgzaR?editors=1010" target="_blank" rel="nofollow noopener noreferrer"&gt;https://codepen.io/michaelk95/pen/wvpgzaR?editors=1010&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When zoomed out:&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaelkdev_0-1687432278873.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/73905i24B0B4AE97DF2795/image-size/medium?v=v2&amp;amp;px=400" role="button" title="michaelkdev_0-1687432278873.png" alt="michaelkdev_0-1687432278873.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When zoomed in:&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="michaelkdev_1-1687432278905.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/73906i0EFB6C48B49C5441/image-size/medium?v=v2&amp;amp;px=400" role="button" title="michaelkdev_1-1687432278905.png" alt="michaelkdev_1-1687432278905.png" /&gt;&lt;/span&gt;&lt;P&gt;Any updates on this topic?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Jun 2023 11:12:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/image-clipping-api-4-25-next/m-p/1301916#M81469</guid>
      <dc:creator>michaelpoa</dc:creator>
      <dc:date>2023-06-22T11:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Image CLIPPING | API 4.25 (Next)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/image-clipping-api-4-25-next/m-p/1359684#M83087</link>
      <description>&lt;P&gt;Is it fixed in v4.28?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 15:06:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/image-clipping-api-4-25-next/m-p/1359684#M83087</guid>
      <dc:creator>michaelpoa</dc:creator>
      <dc:date>2023-12-12T15:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Image CLIPPING | API 4.25 (Next)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/image-clipping-api-4-25-next/m-p/1359771#M83088</link>
      <description>&lt;P&gt;No, but you should see some improvement in the next release (4.29), which is planned for February. You can test this out on 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;A href="https://js.arcgis.com/next" rel="nofollow" target="_blank"&gt;&lt;STRONG&gt;https://js.arcgis.com/next&lt;/STRONG&gt;&lt;/A&gt;. I'm still noticing a cut off when very zoomed in and the symbol takes up the entire screen, but it should be an improvement from previous versions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 16:53:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/image-clipping-api-4-25-next/m-p/1359771#M83088</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2023-12-12T16:53:33Z</dc:date>
    </item>
  </channel>
</rss>

