Select to view content in your preferred language

Measure widget / tool for instant apps

2698
13
02-14-2022 12:24 PM
Status: Open
WilliamRockwell1
New Contributor III

Surprised to find no measure tool/widget for the instant apps, in general or minimalist. 

Tags (2)
13 Comments
KellyHutchins
We plan to add this capability to the app configuration experience at the next release. For now if you are comfortable with using the AGO Assistant<> to edit your application’s json data you could set the property for either the measureAreaUnit or measureLinearUnit. You can find valid values for the area and linear untis here:
https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html#areaUnit
https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html#linearUn...


Here’s an example of how the app json looks with the values added:

"datePublished": 1669222983946,
"measure": true,
"measureAreaUnit": "acres",
"measureLinearUnit":"miles"

UlteigEngineers

Any update on this? Curious when this will be added to the attachment viewer? 

BenWilkerson89

My users have shown me that the measure tool does not work the same way as it did in Web AppBuilder. For example, a user can only make one linear measurement and then has to clear out the measurement to make an additional measurement or even to select other data in the map.