<?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: ROTATION not working on IconSymbol3DLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rotation-not-working-on-iconsymbol3dlayer/m-p/1080154#M73926</link>
    <description>&lt;P&gt;Hi Sascha&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could use ObjectSymbol3D objects for displaying 'my triangles' (with the correct rotation). But these 3d objects have a fixed size based on the map. Is it possible to scale those like markers?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jul 2021 08:11:21 GMT</pubDate>
    <dc:creator>MichaelK1</dc:creator>
    <dc:date>2021-07-19T08:11:21Z</dc:date>
    <item>
      <title>ROTATION not working on IconSymbol3DLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rotation-not-working-on-iconsymbol3dlayer/m-p/1079146#M73882</link>
      <description>&lt;P&gt;I want to rotate the icon symbol like (in SceneView):&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;symbol&lt;/SPAN&gt;: {&lt;BR /&gt;    &lt;SPAN&gt;type&lt;/SPAN&gt;: &lt;SPAN&gt;'point-3d'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;// autocasts as new PointSymbol3D()&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;symbolLayers&lt;/SPAN&gt;: [&lt;BR /&gt;        {&lt;BR /&gt;            &lt;SPAN&gt;type&lt;/SPAN&gt;: &lt;SPAN&gt;'icon'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;            &lt;SPAN&gt;size&lt;/SPAN&gt;: &lt;SPAN&gt;8&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;            &lt;SPAN&gt;resource&lt;/SPAN&gt;: {&lt;BR /&gt;                &lt;SPAN&gt;href&lt;/SPAN&gt;: &lt;SPAN&gt;'./assets/images/triangle.png'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;            }&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;        }&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    ]&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;}&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;visualVariables&lt;/SPAN&gt;: [&lt;BR /&gt;    {&lt;BR /&gt;        &lt;SPAN&gt;type&lt;/SPAN&gt;: &lt;SPAN&gt;'rotation'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;field&lt;/SPAN&gt;: &lt;SPAN&gt;'heading'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;rotationType&lt;/SPAN&gt;: &lt;SPAN&gt;'geographic'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    }&lt;SPAN&gt;&lt;BR /&gt;]&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Feature layer&amp;nbsp;&lt;SPAN&gt;elevationInfo&amp;nbsp;mode is :&amp;nbsp;on-the-ground&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;But it's not working, is it possible to rotate an icon based on visual variable?&lt;BR /&gt;&lt;BR /&gt;If not how am I supposed to do this?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 10:11:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rotation-not-working-on-iconsymbol3dlayer/m-p/1079146#M73882</guid>
      <dc:creator>MichaelK1</dc:creator>
      <dc:date>2021-07-15T10:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: ROTATION not working on IconSymbol3DLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rotation-not-working-on-iconsymbol3dlayer/m-p/1079245#M73890</link>
      <description>&lt;P&gt;Hi Michael&lt;BR /&gt;This is a known limitation and mentioned here:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-RotationVariable.html" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-visualVariables-RotationVariable.html:&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;"In a SceneView rotation visual variables are not currently supported with marker symbols, text symbols, 3D icon symbol layers and 3D text symbol layers."&lt;/P&gt;&lt;P&gt;You could use&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-ObjectSymbol3DLayer.html" target="_self"&gt;ObjectSymbol3DLayer&lt;/A&gt;&amp;nbsp;. See also the sample:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-labeling-3d/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-labeling-3d/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Would that work for your use case? Otherwise can you let us know what your use case is.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 15:36:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rotation-not-working-on-iconsymbol3dlayer/m-p/1079245#M73890</guid>
      <dc:creator>SaschaBrunnerCH</dc:creator>
      <dc:date>2021-07-15T15:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: ROTATION not working on IconSymbol3DLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rotation-not-working-on-iconsymbol3dlayer/m-p/1080154#M73926</link>
      <description>&lt;P&gt;Hi Sascha&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could use ObjectSymbol3D objects for displaying 'my triangles' (with the correct rotation). But these 3d objects have a fixed size based on the map. Is it possible to scale those like markers?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 08:11:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/rotation-not-working-on-iconsymbol3dlayer/m-p/1080154#M73926</guid>
      <dc:creator>MichaelK1</dc:creator>
      <dc:date>2021-07-19T08:11:21Z</dc:date>
    </item>
  </channel>
</rss>

