Select to view content in your preferred language

line of sight editable observer

341
2
Jump to solution
11-02-2022 02:13 AM
EliyahoLevi
Occasional Contributor

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?

0 Kudos
1 Solution

Accepted Solutions
EliyahoLevi
Occasional Contributor

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. 

View solution in original post

0 Kudos
2 Replies
GreteSoosalu
Esri Contributor

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.  

0 Kudos
EliyahoLevi
Occasional Contributor

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. 

0 Kudos