Hello JS API team,
Just noticed that viewshed samples are broken in 3.X and 4.X:
https://developers.arcgis.com/javascript/latest/sample-code/geoprocessing-viewshed/index.html
https://developers.arcgis.com/javascript/3/samples/gp_viewshed/
The following error is logged in the console:
Error executing tool. Viewshed :
You must enter at least ONE observer point↵↵Failed to execute (Viewshed).↵Failed to execute (Viewshed).↵Failed to execute (Viewshed)
Cheers
Are you still getting that error? I'm not seeing it on either sample in Chrome, Firefox, or Edge.
The solution is down and also the sample codes, have you got any example working?
サインインすると、投稿したり、更新をフォローしたりできます。初めての方ですか?無料アカウントを登録しましょう。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.