<?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 JS 4.16 and SceneView's toScreen in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-16-and-sceneview-s-toscreen/m-p/533394#M49742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using JS 4.16 and&amp;nbsp;would like to calculate screen points for&amp;nbsp;two sets of LatLng coordinates, topleft(northwest) and bottomright(southeast).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use MapView's toScreen(), I get two screen points and can draw a rectangle as below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/508946_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;But if I try the same in ScenView, it will return the center point for both coordinates.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/508948_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can test this by switching MapView and SceneView in line 51 in the attached example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if this is a bug.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your attention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Min&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Sep 2020 13:36:37 GMT</pubDate>
    <dc:creator>MinShin</dc:creator>
    <dc:date>2020-09-30T13:36:37Z</dc:date>
    <item>
      <title>JS 4.16 and SceneView's toScreen</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-16-and-sceneview-s-toscreen/m-p/533394#M49742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using JS 4.16 and&amp;nbsp;would like to calculate screen points for&amp;nbsp;two sets of LatLng coordinates, topleft(northwest) and bottomright(southeast).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use MapView's toScreen(), I get two screen points and can draw a rectangle as below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/508946_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;But if I try the same in ScenView, it will return the center point for both coordinates.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/508948_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can test this by switching MapView and SceneView in line 51 in the attached example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if this is a bug.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your attention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Min&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2020 13:36:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-4-16-and-sceneview-s-toscreen/m-p/533394#M49742</guid>
      <dc:creator>MinShin</dc:creator>
      <dc:date>2020-09-30T13:36:37Z</dc:date>
    </item>
  </channel>
</rss>

