距离计算

This commit is contained in:
zh
2025-07-15 10:37:23 +08:00
parent 040049236d
commit 12fcb9fed7
14 changed files with 73 additions and 70 deletions

View File

@ -1322,7 +1322,8 @@ class PolylineObject extends Base {
that.renewPolygon(fromDegreesArray)
that.computeDistance(
positions,
2
2,
that.options['words-name']
).then(res => {
that.options.lengthByMeter = res
that.lengthUnit = that.options['length-unit']