New workflows for adding points in different formats (DDM, DD, DMS etc.) We've implemented a custom graphics layer which persists graphics in local storage - check it out here: gist.github.com/JonnyDawe/8d.... #arcgis #arcgisJS
Post
Nice! What are you using for the coordinate parsing/formatting? developers.arcgis.com/javascript/l...? And for the measurements, using the DistanceMeasurementViewModel or fully custom implementation?
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/...
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.
0 reposts1 like