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