<?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: EXTENT not correct when rotating or tilting in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1225545#M79128</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;@Anonymous User&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there an alternative for calculating the area based on camera position/heading/tilt/view's extent? ArcGis has this functionality by default?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Oct 2022 07:19:16 GMT</pubDate>
    <dc:creator>MichaelK1</dc:creator>
    <dc:date>2022-10-26T07:19:16Z</dc:date>
    <item>
      <title>EXTENT not correct when rotating or tilting</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1224614#M79100</link>
      <description>&lt;P&gt;We're using the extent property of a MapView/SceneView for calculating which graphics to apply for a specific area. (Based on which graphics are in bound of extent x - calculated server sided ).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Default extent property (simple fill red opacity 0.4) - working as expected &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="default extent.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/54218i085C9A99D0F48073/image-size/medium?v=v2&amp;amp;px=400" role="button" title="default extent.png" alt="default extent.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When rotating a view the extent does not change (with a watch util on view.extent):&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="extent when rotating.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/54217i805EBFB64F7A2C9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="extent when rotating.png" alt="extent when rotating.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When tilting or rotating in a SceneView.. Same results&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sceneview-extent.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/54219i7AE3FA27105FCE7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sceneview-extent.png" alt="sceneview-extent.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does ArcGis provide a way to get the actual extent (view area).&lt;/P&gt;&lt;P&gt;codepen:&amp;nbsp;&lt;A href="https://codepen.io/michaelk95/pen/BaVBrxo" target="_blank"&gt;https://codepen.io/michaelk95/pen/BaVBrxo&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 08:50:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1224614#M79100</guid>
      <dc:creator>MichaelK1</dc:creator>
      <dc:date>2022-10-24T08:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: EXTENT not correct when rotating or tilting</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1224625#M79102</link>
      <description>&lt;P&gt;It is actually giving the actual extent only.&lt;/P&gt;&lt;P&gt;inside the map, what ever the graphic3(based on extent) you are rendering,&lt;/P&gt;&lt;P&gt;it is giving the actual extent only.&lt;/P&gt;&lt;P&gt;Are you expecting the map's extent? I think it is infinite in all direction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;View is dynamic, as and when user moves on, it will change. as per the function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 10:58:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1224625#M79102</guid>
      <dc:creator>JayakumarPD</dc:creator>
      <dc:date>2022-10-24T10:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: EXTENT not correct when rotating or tilting</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1224651#M79103</link>
      <description>&lt;P&gt;As you can see in the last image (SceneView), the actual view area is larger than the view's extent. (visible extent and yes it changes when a user is navigating or zooming). But is there any way of getting the actual viewing area? (Given a rotated sceneview or mapview).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you zoom a bit and rotate? You'll get the same result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="extent.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/54225iA2D0CE3AF0C2DE36/image-size/medium?v=v2&amp;amp;px=400" role="button" title="extent.png" alt="extent.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 15:15:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1224651#M79103</guid>
      <dc:creator>MichaelK1</dc:creator>
      <dc:date>2022-10-24T15:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: EXTENT not correct when rotating or tilting</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1225045#M79109</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/496812"&gt;@MichaelK1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for reaching out! So this extent actually works as expected, it is defined as the&amp;nbsp;&lt;SPAN&gt;minimum and maximum X and Y coordinates of a bounding box (see documentation of &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html" target="_self"&gt;extent&lt;/A&gt;). So this is a bounding box which cannot be rotated.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is a very simple implementation of the extent and does not represent the view area correctly as you mentioned. Unfortunately it is currently not possible to easily extract this information. As&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/452568"&gt;@JayakumarPD&lt;/a&gt;&amp;nbsp;mentioned, this area can have quite complex geometry since it stretches to infinity as soon as you look to the horizon.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe you could provide us with some description of the use case of why you need this functionality and we can try to find a solution.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best, Daniel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 05:25:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1225045#M79109</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-10-25T05:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: EXTENT not correct when rotating or tilting</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1225545#M79128</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;@Anonymous User&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there an alternative for calculating the area based on camera position/heading/tilt/view's extent? ArcGis has this functionality by default?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 07:19:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1225545#M79128</guid>
      <dc:creator>MichaelK1</dc:creator>
      <dc:date>2022-10-26T07:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: EXTENT not correct when rotating or tilting</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1226463#M79156</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/496812"&gt;@MichaelK1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunatly we currently offer no&amp;nbsp;out-of-the-box alternative to this rectangular extent. However we are considering this feature for future releases.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We will give an update in this thread when we know more.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 16:44:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1226463#M79156</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2022-10-31T16:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: EXTENT not correct when rotating or tilting</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1523774#M85401</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/496812"&gt;@MichaelK1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am happy to share with you that we're adding support for a new &lt;/SPAN&gt;&lt;STRONG&gt;visibleArea&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;property (on both&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;SceneView&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;and&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;MapView&lt;/EM&gt;&lt;SPAN&gt;) in the upcoming release of the Maps SDK v4.31 . This will provide a more accurate calculation of the area seen in the view.&lt;BR /&gt;&lt;BR /&gt;Meanwhile, if you want to test this before it heads to production, check out the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/Esri/feedback-js-api-next" target="_blank" rel="noopener"&gt;development version&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;of the API:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://js.arcgis.com/next" target="_blank" rel="nofollow noopener"&gt;https://js.arcgis.com/next&lt;/A&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let us know if you have any feedback - thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 14:19:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extent-not-correct-when-rotating-or-tilting/m-p/1523774#M85401</guid>
      <dc:creator>MatteoRizzi1</dc:creator>
      <dc:date>2024-08-19T14:19:11Z</dc:date>
    </item>
  </channel>
</rss>

