Select to view content in your preferred language

Setting distance units sketch dialog

114
2
Jump to solution
Thursday
CF2
by
New Contributor

Can anyone tell me if and how I can specify the Distance units in the sketch widget popup? For example, in the attached image, it's using the map units of feet, but in the textbox where I can specify a length constraint, it's stuck on meters and I can't seem to find a way to change it.

Thanks in advance.

CF2_0-1751580918393.png

 

Tags (2)
1 Solution

Accepted Solutions
JonathanDawe_BAS
Occasional Contributor

From memory I think you can perhaps tweak the tooltip value via the SketchValueOptions within the sketchviewmodel for the widget: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-sketch-SketchVa... 

View solution in original post

0 Kudos
2 Replies
JonathanDawe_BAS
Occasional Contributor

From memory I think you can perhaps tweak the tooltip value via the SketchValueOptions within the sketchviewmodel for the widget: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-interactive-sketch-SketchVa... 

0 Kudos
CF2
by
New Contributor

You are right... inputUnits in valueOptions does work. I had tried it on the wrong instance so I thought it wasn't working or was the wrong option 😖. Thanks!

0 Kudos