<?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: BUG: Line of Sight widget in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-line-of-sight-widget/m-p/1236677#M79512</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/503459"&gt;@GreteSoosalu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is related to the observer point, when I add a watch on the observer:-&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;ObserverWatchHandle = lineOfSightVM.watch("observer", (value) =&amp;gt; {
  console.log(value.z)
}&lt;/LI-CODE&gt;&lt;P&gt;the value of value.z is always returned as 0 when used over the ground, I believe this should be the z-value at the ground point&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 02:31:18 GMT</pubDate>
    <dc:creator>JethroLeevers</dc:creator>
    <dc:date>2022-12-01T02:31:18Z</dc:date>
    <item>
      <title>BUG: Line of Sight widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-line-of-sight-widget/m-p/1233646#M79397</link>
      <description>&lt;P&gt;I have been using the method outlined in the following example to add an observer offset:-&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/offset-to-observer-height-with-line-of-sight/m-p/27319/highlight/true#M2359" target="_blank"&gt;https://community.esri.com/t5/arcgis-api-for-javascript-questions/offset-to-observer-height-with-line-of-sight/m-p/27319/highlight/true#M2359&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the latest 4.25 release, the observer property no longer contains a valid value for &lt;STRONG&gt;z&lt;/STRONG&gt; when used over terrain, it only returns the value &lt;STRONG&gt;0&lt;/STRONG&gt;. Thus, when creating an updated observer point based on an offset and the observer value, the new observer point is underground (or 0 + offset)&lt;/P&gt;&lt;P&gt;The z-value is correct when over a model or mesh.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 06:36:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-line-of-sight-widget/m-p/1233646#M79397</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2022-11-21T06:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: BUG: Line of Sight widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-line-of-sight-widget/m-p/1236303#M79486</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/150422"&gt;@JethroLeevers&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can still use the same method but&amp;nbsp;since the API version 4.23 it is not necessary to call &lt;FONT face="andale mono,times"&gt;viewModel.start()&lt;/FONT&gt; and &lt;FONT face="andale mono,times"&gt;viewModel.stop()&lt;/FONT&gt;&amp;nbsp;anymore (part of a bug fix shipped with 4.23, see &lt;A href="https://developers.arcgis.com/javascript/latest/4.23/#bug-fixes-and-enhancements" target="_self"&gt;release notes&lt;/A&gt;&amp;nbsp;or the Line of Sight widget&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-line-of-sight/" target="_self"&gt;sample&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;So if you remove that part, the old sample app with the workaround will function again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 10:12:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-line-of-sight-widget/m-p/1236303#M79486</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2022-11-30T10:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: BUG: Line of Sight widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-line-of-sight-widget/m-p/1236677#M79512</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/503459"&gt;@GreteSoosalu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is related to the observer point, when I add a watch on the observer:-&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;ObserverWatchHandle = lineOfSightVM.watch("observer", (value) =&amp;gt; {
  console.log(value.z)
}&lt;/LI-CODE&gt;&lt;P&gt;the value of value.z is always returned as 0 when used over the ground, I believe this should be the z-value at the ground point&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 02:31:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-line-of-sight-widget/m-p/1236677#M79512</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2022-12-01T02:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: BUG: Line of Sight widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-line-of-sight-widget/m-p/1236679#M79513</link>
      <description>&lt;P&gt;This bug seems to have existed in 4.24 too but not &amp;lt;= 4.23&lt;/P&gt;&lt;P&gt;I have created a code pen with the 2 different versions:-&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4,25&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="https://codepen.io/leevers/pen/BaVOeaa" target="_blank"&gt;https://codepen.io/leevers/pen/BaVOeaa&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;4.23&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="https://codepen.io/leevers/pen/gOKdJOV" target="_blank"&gt;https://codepen.io/leevers/pen/gOKdJOV&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 02:53:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-line-of-sight-widget/m-p/1236679#M79513</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2022-12-01T02:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: BUG: Line of Sight widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-line-of-sight-widget/m-p/1238159#M79568</link>
      <description>&lt;P&gt;Oh, I see what you mean now, we'll look into it. Thanks for reporting it!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 09:57:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-line-of-sight-widget/m-p/1238159#M79568</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2022-12-06T09:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: BUG: Line of Sight widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-line-of-sight-widget/m-p/1248612#M79924</link>
      <description>&lt;P&gt;Just a quick update: this&amp;nbsp;issue will be fixed in version 4.26 which is expected to be released at the end of February.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 08:03:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-line-of-sight-widget/m-p/1248612#M79924</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2023-01-23T08:03:40Z</dc:date>
    </item>
  </channel>
</rss>

