Select to view content in your preferred language

Have the sketch component labels persist

172
1
3 weeks ago
Status: Open
Labels (2)
EricNagel
Emerging Contributor

When drawing a shape using the sketch component, the lines are labelled with their length. However, once the shape has been drawn, the labels disappear. It is such a cool feature but it seems like the best part has been left out. Why can't they just stay and get resized as the shape is changed?

1 Comment
JonathanDawe_BAS

I fully agree the current public API for SketchViewModel is really restrictive around sketch labels and tooltips. It would be great to have more control over both the appearance of the labels and their internal measurement formatting. For example, right now labelOptions/tooltipOptions derive units from the portal (metric/imperial only), so there's no supported way to show project-specific units like nautical miles or to restyle the labels.

With some help from a coding copilot I got the behaviour I wanted, but only by co-opting internals... SegmentLabels2DEditGeometryOperations.

(view in My Videos)