Hi all, I'm using Esri 4.24 and try to have line of sight widget, but I want that after I click on the map i will have the graphics but not the option to move the points.
any idea how to do that?
Solved! Go to Solution.
thank you for your reply, i found the answer, simply assign the property viewModel.tool.editable to false, where this is the view model of the widget.
Hi @EliyahoLevi
As long as the LineOfSight widget is active, the graphics are editable. You could look into the Analysis objects sample where, in order to disable the LoS interactivity, the widget is removed.
Hope this helps you further.
thank you for your reply, i found the answer, simply assign the property viewModel.tool.editable to false, where this is the view model of the widget.