<?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: Are there any best practices for representing symbols with real world orientations in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/are-there-any-best-practices-for-representing/m-p/1605015#M86900</link>
    <description>&lt;P&gt;&lt;BR /&gt;Just to add to this... What I've discovered is that if you use a picture marker then it will maintain its rotation with respect to the underlying basemap as the view is rotated. Where as if you use a vector marker it rotates its frame of reference with the map as it rotates.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a bug? Its really counter intuitive and doesn't seem to be documented anywhere?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Apr 2025 23:14:36 GMT</pubDate>
    <dc:creator>JonathanDawe_BAS</dc:creator>
    <dc:date>2025-04-10T23:14:36Z</dc:date>
    <item>
      <title>Are there any best practices for representing symbols with real world orientations</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/are-there-any-best-practices-for-representing/m-p/1602839#M86827</link>
      <description>&lt;P class=""&gt;I'm tracking a vessel's location in my application, and the symbol on the map is rotated based on its heading.&lt;/P&gt;&lt;P class=""&gt;The problem is that this rotation is applied relative to the screen's Cartesian coordinates, rather than the map's actual spatial reference system.&lt;/P&gt;&lt;P class=""&gt;I understand that adjusting for this isn’t straightforward—especially in projections where a straight line doesn’t follow a constant compass bearing (like polar projections).&lt;/P&gt;&lt;P class=""&gt;Right now, I manually calculate the correct angle based on the projection, position, and bearing, while also accounting for map rotation. This is quite complex and requires map rotation watchers, and projection specific logic.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6371038559112w600h392r529" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6371038559112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6371038559112w600h392r529');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6371038559112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P class=""&gt;Is there any built-in way to handle this automatically?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 15:58:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/are-there-any-best-practices-for-representing/m-p/1602839#M86827</guid>
      <dc:creator>JonathanDawe_BAS</dc:creator>
      <dc:date>2025-04-04T15:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Are there any best practices for representing symbols with real world orientations</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/are-there-any-best-practices-for-representing/m-p/1605004#M86899</link>
      <description>&lt;P&gt;Alternatively if this is not possible I can raise this as a separate idea?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 22:34:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/are-there-any-best-practices-for-representing/m-p/1605004#M86899</guid>
      <dc:creator>JonathanDawe_BAS</dc:creator>
      <dc:date>2025-04-10T22:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Are there any best practices for representing symbols with real world orientations</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/are-there-any-best-practices-for-representing/m-p/1605015#M86900</link>
      <description>&lt;P&gt;&lt;BR /&gt;Just to add to this... What I've discovered is that if you use a picture marker then it will maintain its rotation with respect to the underlying basemap as the view is rotated. Where as if you use a vector marker it rotates its frame of reference with the map as it rotates.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this a bug? Its really counter intuitive and doesn't seem to be documented anywhere?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2025 23:14:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/are-there-any-best-practices-for-representing/m-p/1605015#M86900</guid>
      <dc:creator>JonathanDawe_BAS</dc:creator>
      <dc:date>2025-04-10T23:14:36Z</dc:date>
    </item>
  </channel>
</rss>

