<?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: REAL SIZE 2D markers in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1097868#M74659</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/496812"&gt;@MichaelK1&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/515388"&gt;@PoaBVG&lt;/a&gt;&amp;nbsp;, this bug has been fixed for version 4.21, which will be released in a couple weeks. If you want to test out the fix before it is officially released, you can use the `/next` version of the API:&amp;nbsp;&lt;A href="https://js.arcgis.com/next/" target="_blank"&gt;https://js.arcgis.com/next/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/496812"&gt;@MichaelK1&lt;/a&gt;&amp;nbsp;- here is the sample you sent with the primitiveOverride for scaleX now working:&amp;nbsp;&lt;A href="https://codepen.io/annefitz/pen/zYzqmyJ" target="_blank"&gt;https://codepen.io/annefitz/pen/zYzqmyJ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any further questions! Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Sep 2021 00:24:29 GMT</pubDate>
    <dc:creator>AnneFitz</dc:creator>
    <dc:date>2021-09-14T00:24:29Z</dc:date>
    <item>
      <title>REAL SIZE 2D markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1086595#M74183</link>
      <description>&lt;P&gt;Want to create a feature layer with a picture renderer but I want to stretch the image based on real size.&amp;nbsp; Adding a height and width for a specific image.&lt;/P&gt;&lt;P&gt;For example this image with the correct width and height (width and height are present in the graphics attributes)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="real size.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/20364iA57D3DE9B47A8FF9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="real size.png" alt="real size.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is it possible to add visual variables like Point3D width and depth, height for 2D pictures ? Maybe with&amp;nbsp;&lt;STRONG&gt;CIMPictureMarker&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Or an alternative?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 08:34:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1086595#M74183</guid>
      <dc:creator>MichaelK1</dc:creator>
      <dc:date>2021-08-30T08:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: REAL SIZE 2D markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1092337#M74409</link>
      <description>&lt;P data-unlink="true"&gt;Hey Michael - yes this is possible with CIM symbols! You can use primitiveOverrides to updates specific properties of a symbol layer, like width and height. See&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/cim-primitive-overrides/" target="_self"&gt; this example&lt;/A&gt;&amp;nbsp;for more information on how to use primitiveOverrides. For &lt;A href="https://github.com/Esri/cim-spec/blob/master/docs/v2/CIMSymbols.md#cimpicturemarker" target="_self"&gt;CIMPictureMarker&lt;/A&gt;&amp;nbsp;, you would want to override the "size" property, which will update the height of the marker. The width will be updated proportionally. Don't hesitate to reach out if you have any questions!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 17:39:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1092337#M74409</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2021-08-25T17:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: REAL SIZE 2D markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1092586#M74414</link>
      <description>&lt;P&gt;Yes Thanks, but is it possible to NOT update width proportionally. And override height and width property separately for CIMPictureMarker or other 2D picture based markers?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 07:06:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1092586#M74414</guid>
      <dc:creator>MichaelK1</dc:creator>
      <dc:date>2021-08-26T07:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: REAL SIZE 2D markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1092720#M74426</link>
      <description>&lt;P&gt;I think this is possible, if I’m correctly understanding what you’re asking. You could use the &lt;A href="https://github.com/Esri/cim-spec/blob/master/docs/v2/CIMSymbols.md#cimmarker-3" target="_self"&gt;size&lt;/A&gt; property to update the height of the picture marker symbol, and then use the &lt;A href="https://github.com/Esri/cim-spec/blob/master/docs/v2/CIMSymbols.md#cimpicturemarker-1" target="_self"&gt;scaleX&lt;/A&gt; property to override the width of the symbol layer. I haven’t tried this out personally, but I think it should work. Let me know how it goes!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 15:16:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1092720#M74426</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2021-08-26T15:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: REAL SIZE 2D markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1093074#M74446</link>
      <description>&lt;P&gt;I'm not able to override the scaleX property. This is no problem with size or rotation. scaleX just wont work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 13:02:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1093074#M74446</guid>
      <dc:creator>PoaBVG</dc:creator>
      <dc:date>2021-08-27T13:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: REAL SIZE 2D markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1093077#M74447</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm not able to override the scaleX property. This is no problem with size or rotation. scaleX just wont work&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 13:03:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1093077#M74447</guid>
      <dc:creator>PoaBVG</dc:creator>
      <dc:date>2021-08-27T13:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: REAL SIZE 2D markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1093120#M74448</link>
      <description>Can you share a codepen or something?&lt;BR /&gt;</description>
      <pubDate>Fri, 27 Aug 2021 14:53:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1093120#M74448</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2021-08-27T14:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: REAL SIZE 2D markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1093495#M74468</link>
      <description>&lt;P&gt;Codepen:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://codepen.io/michaelk95/pen/zYzrYXK?editors=1000" target="_blank"&gt;https://codepen.io/michaelk95/pen/zYzrYXK?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;used the ScaleX prop override for WIDTH and visualVariable for HEIGHT&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 08:27:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1093495#M74468</guid>
      <dc:creator>MichaelK1</dc:creator>
      <dc:date>2021-08-30T08:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: REAL SIZE 2D markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1094678#M74517</link>
      <description>&lt;P&gt;Thanks - it looks like we might have a bug with primitiveOverrides and the CIMPictureMarker symbol layer. We'll look into it and I'll get back to you as soon as we have a fix.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 20:47:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1094678#M74517</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2021-09-01T20:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: REAL SIZE 2D markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1097868#M74659</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/496812"&gt;@MichaelK1&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/515388"&gt;@PoaBVG&lt;/a&gt;&amp;nbsp;, this bug has been fixed for version 4.21, which will be released in a couple weeks. If you want to test out the fix before it is officially released, you can use the `/next` version of the API:&amp;nbsp;&lt;A href="https://js.arcgis.com/next/" target="_blank"&gt;https://js.arcgis.com/next/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/496812"&gt;@MichaelK1&lt;/a&gt;&amp;nbsp;- here is the sample you sent with the primitiveOverride for scaleX now working:&amp;nbsp;&lt;A href="https://codepen.io/annefitz/pen/zYzqmyJ" target="_blank"&gt;https://codepen.io/annefitz/pen/zYzqmyJ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any further questions! Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 00:24:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1097868#M74659</guid>
      <dc:creator>AnneFitz</dc:creator>
      <dc:date>2021-09-14T00:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: REAL SIZE 2D markers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1105185#M74888</link>
      <description>&lt;P&gt;Hi Anne!&lt;/P&gt;&lt;P&gt;I tried the scaleX property and it works! But with &lt;STRONG&gt;useRealWorldSizes on CIMPointSymbol&amp;nbsp;&lt;/STRONG&gt;(e.g. meters) it's not working.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;There's no other way for displaying pictures based on real size or svgs like 3D glb models?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 14:46:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/real-size-2d-markers/m-p/1105185#M74888</guid>
      <dc:creator>MichaelK1</dc:creator>
      <dc:date>2021-10-06T14:46:01Z</dc:date>
    </item>
  </channel>
</rss>

