Disabling laserLine

455
2
07-08-2022 02:47 AM
JB19
by
New Contributor III

Hello everyone,

I'm working with Arcgis JS Api 4.24 and I have a Map with a SceneView.
I would like to disable the laserLine when using the measurement widget.
I'm talking about these orange lines.

JB19_0-1657272583716.png

I found in the measurement widget object this parameter:

 

measurement.viewModel.activeViewModel.analysisView._analysisVisualization._params.laserLineEnabled = true

 

I tried to set it to false but it's not having any effect on the map.
I think it's not meant to be used as is.
 

Could you please tell me if this is doable ? 

Thanks.

 
0 Kudos
2 Replies
GreteSoosalu
Esri Contributor

Hi @JB19 

True, currently it is not possible to disable the laserLine. But I'll write it down for our backlog.

JB19
by
New Contributor III

Thanks a lot for your reply ! 

0 Kudos