Post

Yep we use the coordinateFormatter to parse the text input into Points. Going the other way, we have some of our own simple formatting logic to convert the points back into the different formats we support. The measurements were heavily inspired by this article: www.esri.com/arcgis-blog/...

0 reposts1 like

Instead of an Arcade implementation, I'm utilising an extended graphics layer which has some custom labelling logic attached. The main reason for this implementation was because I wanted more control over the labelling and specifying geodetic measurements vs projected measurements.

I think in a previous post I may have said we were using the measurements view model. But actually I've created a custom subclass of a sketch view model for the line measurements. It handles optimising when distances are calculated to ensure that only the new segment are being actively measured.

Very cool! We’re in the process of improving the programmatic APIs for measurements and other such tools and this can feed right back into some of the designs and discussions we’ve had.