<?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: Can We rotate the extent of polygon? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-we-rotate-the-extent-of-polygon/m-p/1473320#M84615</link>
    <description>&lt;P&gt;Are you trying to rotate the grid to match the polygon, or are you trying to rotate the polygon to match the grid?&amp;nbsp; Either way, I think the key would be to use &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#rotate" target="_self"&gt;geometryEngine.rotate&lt;/A&gt;.&amp;nbsp; The first parameter would be the geometry you want to rotate, and the second parameter would be the angle.&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2024 23:22:30 GMT</pubDate>
    <dc:creator>JoelBennett</dc:creator>
    <dc:date>2024-05-15T23:22:30Z</dc:date>
    <item>
      <title>Can We rotate the extent of polygon?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-we-rotate-the-extent-of-polygon/m-p/1473151#M84613</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to rotate the extent of the polygon based on the angle? I'm able to create a grid on the top of polygon but it's not coming properly with the grid boundaries. I can rotate the map view but the extent is always pick the north direction. So, it looks odd on the map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here the Codepen example:&amp;nbsp;&lt;A href="https://codepen.io/Andy0206/pen/yLrpXjp" target="_blank"&gt;https://codepen.io/Andy0206/pen/yLrpXjp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SaiPeketi_0-1715803056175.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/104210i87EB816376454658/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SaiPeketi_0-1715803056175.png" alt="SaiPeketi_0-1715803056175.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks for help in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 19:58:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-we-rotate-the-extent-of-polygon/m-p/1473151#M84613</guid>
      <dc:creator>SaiPeketi</dc:creator>
      <dc:date>2024-05-15T19:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can We rotate the extent of polygon?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-we-rotate-the-extent-of-polygon/m-p/1473320#M84615</link>
      <description>&lt;P&gt;Are you trying to rotate the grid to match the polygon, or are you trying to rotate the polygon to match the grid?&amp;nbsp; Either way, I think the key would be to use &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#rotate" target="_self"&gt;geometryEngine.rotate&lt;/A&gt;.&amp;nbsp; The first parameter would be the geometry you want to rotate, and the second parameter would be the angle.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 23:22:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-we-rotate-the-extent-of-polygon/m-p/1473320#M84615</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2024-05-15T23:22:30Z</dc:date>
    </item>
  </channel>
</rss>

