Select to view content in your preferred language

Measure tool doesn't end on a double click

554
8
08-19-2025 02:55 PM
GISNCC
by
Regular Contributor

We are using Experience Builder Development Version (1.17) and have an app with an out of the box measurement tool.  However users are experiencing issues with using the measurement tool and it ending with a double click.  It doesn't seem to want to end. It is very frustrating as the measurement keeps measuring.  You can get it to end sometimes (by clicking really hard - I don't think 'hard' mouse clicking is a computer setting!). Does anyone else have this issue? Thanks.   I have created a vanilla app with just the measurement tool and have the same issue.  It happens intermittently so sometimes it is fine. 

Thanks,  

8 Replies
VenkataKondepati
Occasional Contributor

Yes, I’ve seen this before. In Experience Builder the Measure Tool doesn’t finish on double-click the way we’re used to in Pro or Map Viewer. Instead, it keeps waiting for more vertices until you explicitly click the checkmark (Finish) or toggle the tool off.

A couple of practical suggestions:

  • If you’re building for end users, add a quick note or tooltip like “Click the check icon to finish measurement” so expectations are clear.

  • For a more seamless experience, you can extend with a custom widget. There you can listen for the double-click event and call the finish logic programmatically essentially simulating the “complete” action.

0 Kudos
GISNCC
by
Regular Contributor

Hi, There doesn't appear to have a check icon to finish the measurement.  It seems like the only way is to double click else it just keeps drawing. I would be happy with a check icon. Hopefully I am not missing something here? Thanks. 

0 Kudos
JeffreyThompson2
MVP Frequent Contributor

https://community.esri.com/t5/arcgis-experience-builder-questions/unable-to-finish-measurement/m-p/1...

It's not just me, @Wei_Ying. I think it's related to the snapping function over taxing the memory. 

GIS Developer
City of Arlington, Texas
GISNCC
by
Regular Contributor

Hi, It is strange as I tried creating an experience builder app with only a map with a raster basemap (World Imagery) and no vector layers (to test the snapping theory).   The issue still occurs.  (this is even before deploying the app and just in 'Live' view in Experience Builder.  It does seem to be trying to snap to right angles or other lines created while measuring though.  I wonder if there is a toggle to turn this off to test if that is the issue.  Also I wonder if it is a 1.17 Exp Dev version issue but I imagine more people would have reported it if that was the case. 

GISNCC_0-1755765264517.png

GISNCC_1-1755765345867.pngSee Right Angle 'helper' that appears when the measurement is close to a right angle.

Thanks. 

 

 

0 Kudos
beheer_nf
Emerging Contributor
Could this be an issue with not having Webgl2 enabled in the browser? You could check by typing (e.g.) chrome://gpu or edge://gpu in the browser. If WebGL2 says 'Software only, hardware acceleration unavailable', then you're in trouble as the measure tool requires quite a bit of GPU. In map viewer this works better then in experience builder or instant apps. I resorted by using the draw widget as it also supports (multiple) measuring and gives a bit better results. For some reason at the moment the measuring tool also snaps to geometry objects on the map. Only by holding the control-key this is disabled. Hopefully they will fix this in the next update as it is a different behavior from map viewer and other places.
GISNCC
by
Regular Contributor

Hi,

Thanks so much for that suggestion and reply.  

I have tried that and it appears acceleration is already turned on. 

GISNCC_0-1755810195875.png

Also I have had a play with holding down control to stop the snapping to geometry objects.  It does remove the 'snapping' but the double click issue remains even when pressing the control button.  I have found pressing escape gets you out of it but removes the measured value so you have to write that down before clicking escape.  I think that is the best solution so far for our users but would be good to get the 'double click' to perform better. 

0 Kudos
ShenZhang1
Emerging Contributor

Hi all, we've noticed that double-clicking an existing vertex does not complete the drawing. I’m not sure if this is the only way to reproduce the issue, but we’ve already informed the measurement component team and will work on it.

As a workaround, pressing the Enter key on the keyboard should complete the drawing.

0 Kudos
GISNCC
by
Regular Contributor

Thanks ShenZhang1.  I don't think for us it is just when you click on an existing vertex but good to have it being looked into.  Thanks. 

 

0 Kudos