<?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: Offset to Observer Height with Line of Sight Widget? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/27318#M2358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding a bump to this question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this on the roadmap for the ArcGIS Javascript API in the near future?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A vertical offset for the targets would be great too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a use case:&lt;/P&gt;&lt;P&gt;Determining if a fence is a sufficient height&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2020 06:42:54 GMT</pubDate>
    <dc:creator>JethroLeevers</dc:creator>
    <dc:date>2020-09-11T06:42:54Z</dc:date>
    <item>
      <title>Offset to Observer Height with Line of Sight Widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/27317#M2357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible when a user interactively sets a observer position with the line of sight widget to add a vertical offset? For instance if the observer was&amp;nbsp;6 ft tall?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2020 16:45:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/27317#M2357</guid>
      <dc:creator>JasonJordan00</dc:creator>
      <dc:date>2020-07-17T16:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Offset to Observer Height with Line of Sight Widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/27318#M2358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding a bump to this question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this on the roadmap for the ArcGIS Javascript API in the near future?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A vertical offset for the targets would be great too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a use case:&lt;/P&gt;&lt;P&gt;Determining if a fence is a sufficient height&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2020 06:42:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/27318#M2358</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2020-09-11T06:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Offset to Observer Height with Line of Sight Widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/27319#M2359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late reply. This is currently not possible out of the box and&amp;nbsp;it&amp;nbsp;is not on our road map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thinking about it, it should be possible to watch for updates on the observer and offsetting it. There is a risk in running into an infinite loop, that's why I am removing the watcher when I&amp;nbsp;set the observer with the new height. Also the user experience is not so nice if I offset the observer right after the user changes it, so I am waiting for the user to not interact with the view anymore. And to catch also the case when a user places an observer for the first time (the view is interacting in that case), I am also checking whether the change in value was from null to a new value.&lt;/P&gt;&lt;P&gt;Long story short, here is the code:&amp;nbsp;&lt;A class="link-titled" href="https://codepen.io/nicolaraluk/pen/wvGRxPE?editors=1000" title="https://codepen.io/nicolaraluk/pen/wvGRxPE?editors=1000"&gt;https://codepen.io/nicolaraluk/pen/wvGRxPE?editors=1000&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/153549"&gt;Jason Jordan&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migrated-users/414854"&gt;Jethro Leevers&lt;/A&gt;‌, let me know if this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2020 11:48:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/27319#M2359</guid>
      <dc:creator>RalucaNicola1</dc:creator>
      <dc:date>2020-09-23T11:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Offset to Observer Height with Line of Sight Widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/27320#M2360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Raluca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not the ideal solution but I can live with a work around for now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be great to see it on the roadmap in the future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2020 07:32:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/27320#M2360</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2020-09-24T07:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Offset to Observer Height with Line of Sight Widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/27321#M2361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll pass&amp;nbsp;the request on to the team Jethro &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;let me know also if you have more use cases or specific requirements.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2020 10:25:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/27321#M2361</guid>
      <dc:creator>RalucaNicola1</dc:creator>
      <dc:date>2020-09-24T10:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Offset to Observer Height with Line of Sight Widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/1233647#M79398</link>
      <description>&lt;P&gt;This method no longer works in the latest (4.25) release, the observer value has a value of 0 for z when over ground/terrain (It works fine on mesh or model surfaces)&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 06:39:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/1233647#M79398</guid>
      <dc:creator>JethroLeevers</dc:creator>
      <dc:date>2022-11-21T06:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Offset to Observer Height with Line of Sight Widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/1236304#M79487</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;(&lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/bug-line-of-sight-widget/m-p/1236303/highlight/true#M79486" target="_self"&gt;cross-posting&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 10:12:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/offset-to-observer-height-with-line-of-sight/m-p/1236304#M79487</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2022-11-30T10:12:03Z</dc:date>
    </item>
  </channel>
</rss>

