修改线
This commit is contained in:
@ -137,8 +137,7 @@ class DrawPolyline extends Draw {
|
||||
this.end()
|
||||
}
|
||||
else {
|
||||
// cb(cache_positions.length)
|
||||
cb(null, cache_positions)
|
||||
cb(cache_positions.length)
|
||||
}
|
||||
})
|
||||
this.event.mouse_right((movement, cartesian) => {
|
||||
|
||||
@ -72,7 +72,7 @@ class BatchModel extends Base {
|
||||
break;
|
||||
}
|
||||
Draw && Draw.start((a, positions) => {
|
||||
console.log(positions, 'positions')
|
||||
if (!positions) { return }
|
||||
this.options.positions = positions;
|
||||
//判断范围是否过大
|
||||
if (options.type == '面') {
|
||||
|
||||
Reference in New Issue
Block a user