Feature Request - allow measurements to at least 2 decimal points

Hi there,

I am wondering if it is possible to get the measurement tool to display to at least 2 decimal points. For example at the moment when I use the measuring tool it displays as “12 meters” and it would be more useful for me and my clients if we could measure to “12.45 meters” or even in centimetres.

Thanks for a great program.
Rob

4 Likes

Should be possible, with some modifications to https://github.com/pierotofy/leaflet-measure-ex

2 Likes

Ok, I have found the right place, in src/units.js. It seems like it will be easy enough to change. I will attempt and report back.

Thanks for pointing me in the right direction.
Rob

4 Likes

I have edited the file on github and created a pull request. I have never done this before so I hope I have done the right thing?

Thanks
Robert

2 Likes

Looks good! I’ve updated the leaflet-measure-ex dep on https://github.com/OpenDroneMap/WebODM/blob/master/plugins/measure/public/package.json so this should be live in 1-2 hours.

Thanks!

2 Likes

Thanks so much.

Absolute champion pierotofy

Rob

1 Like

Ha! Awesome.

1 Like