Line of Sight with Javascript API

12-05-2019 07:56 PM
New Contributor

I am trying to implement a 'Line of Sight' function with ArcGIS javascript API 4.  What I want to achieve is, letting user click 2 points on the 3D map, then show him the result like below screenshot. Can this function be implemented with Javascript API?

This screenshot is from the hitTest exmaple SceneView - hitTest | ArcGIS API for JavaScript 4.13 . The end result is quite interesting, however it works very differently from what I need. Seems to be it only links the viewpoint to a screen click.

0 Kudos
0 Replies