<?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: Detect when map point is not visible on SceneView in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/detect-when-map-point-is-not-visible-on-sceneview/m-p/1513786#M85172</link>
    <description>&lt;P&gt;This worked! Thanks! I will add, that the points are never exactly equal so I just made it so that if their coordinates differ by more than 5 degrees then it doesn't display it.&lt;/P&gt;&lt;P&gt;As for use case, I'm trying to render some html at a location that follows the map at a given coordinate. Is there an easier way to do this?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Aug 2024 17:21:55 GMT</pubDate>
    <dc:creator>avecchi</dc:creator>
    <dc:date>2024-08-01T17:21:55Z</dc:date>
    <item>
      <title>Detect when map point is not visible on SceneView</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/detect-when-map-point-is-not-visible-on-sceneview/m-p/1512723#M85151</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm getting a map point in a SceneView using this function:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const mapPoint = view.toMap(screenPoint)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to know when this point becomes hidden by the globe when rotating. I've attached a gif to show what's happening currently&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.gif" style="width: 720px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/111160i623883486C97510D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.gif" alt="Untitled.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 02:30:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/detect-when-map-point-is-not-visible-on-sceneview/m-p/1512723#M85151</guid>
      <dc:creator>avecchi</dc:creator>
      <dc:date>2024-07-31T02:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Detect when map point is not visible on SceneView</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/detect-when-map-point-is-not-visible-on-sceneview/m-p/1512798#M85152</link>
      <description>&lt;P&gt;This is interesting, can you share a bit more about your use case?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't tried, but I would assume that for a given &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;myPoint&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;on the map, once &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#toScreen" target="_self"&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;view.toScreen()&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;and a subsequent &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#toMap" target="_self"&gt;&lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;view.toMap()&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/A&gt; do not return the same point, it's behind the globe. Can you give it a try?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 07:19:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/detect-when-map-point-is-not-visible-on-sceneview/m-p/1512798#M85152</guid>
      <dc:creator>ArnoFiva</dc:creator>
      <dc:date>2024-07-31T07:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Detect when map point is not visible on SceneView</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/detect-when-map-point-is-not-visible-on-sceneview/m-p/1513786#M85172</link>
      <description>&lt;P&gt;This worked! Thanks! I will add, that the points are never exactly equal so I just made it so that if their coordinates differ by more than 5 degrees then it doesn't display it.&lt;/P&gt;&lt;P&gt;As for use case, I'm trying to render some html at a location that follows the map at a given coordinate. Is there an easier way to do this?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 17:21:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/detect-when-map-point-is-not-visible-on-sceneview/m-p/1513786#M85172</guid>
      <dc:creator>avecchi</dc:creator>
      <dc:date>2024-08-01T17:21:55Z</dc:date>
    </item>
  </channel>
</rss>

