Esri / feedback-js-api-next

Try out the next release of the ArcGIS Maps SDK for JavaScript and share your feedback. Be warned: this release is still in development and is unstable.
87 stars 22 forks source link

Enhancement: Allow to use lower scale metric units while using measurement widgets #143

Closed nikator closed 1 year ago

nikator commented 2 years ago

Enhancement category Widgets

Enhancement short summary Allow to use millimeters and centimeters in DirectLineMeasurement3D and AreaMeasurement3D widgets.

Enhancement description We have a requirement from a client to allow user to select millimeters and centimeters. When we try to set unit property to these units it throws: "Accessor#set 'millimeters' is not a valid value for this property, only the following values are valid: 'metric', 'imperial', 'inches', 'feet', 'yards', 'miles', 'nautical-miles', 'us-feet', 'meters', 'kilometers'".

I do not see a reason why these units cannot be used as they all are related to multiplier of 10.

Severity Medium

API version (check your console)

NoashX commented 2 years ago

Hi @nikator, thanks for posting this here. We are considering an option to allow finer grained output from all the measurement widgets at a future release. Basically, we feel that adding decimal places to existing units (and making the possible available units more clear in the doc) would be more useful than adding small units of measurement. Will keep this issue updated as things progress.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you need additional assistance please contact Esri Technical Support. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue has been automatically closed due to inactivity. If you need additional assistance please contact Esri Technical Support.