线贴图 速度相同 切换有问题
This commit is contained in:
@ -335,9 +335,13 @@ class PolylineObject extends Base {
|
||||
this._elms.lineWidth.forEach(item => {
|
||||
item.value = this.options.width
|
||||
})
|
||||
this.entity &&
|
||||
this.entity.polyline &&
|
||||
(this.entity.polyline.width = this.options.width)
|
||||
if (this.entity && this.entity.polyline) {
|
||||
this.entity.polyline.width = this.entity.polyline.width + v - this.entity.polyline.oriWidth
|
||||
this.entity.polyline.oriWidth = this.options.width
|
||||
}
|
||||
// this.entity &&
|
||||
// this.entity.polyline &&
|
||||
// (this.entity.polyline.width = this.options.width) && (this.entity.polyline.oriWidth = this.options.width)
|
||||
}
|
||||
|
||||
get lineType() {
|
||||
@ -1316,6 +1320,7 @@ class PolylineObject extends Base {
|
||||
zIndex: that.sdk._entityZIndex
|
||||
}
|
||||
})
|
||||
that.entity.polyline.oriWidth = that.options.width
|
||||
that.sdk._entityZIndex++
|
||||
PolylineObject.createLabel(that)
|
||||
// that.entity.polyline.positionsLngLat = positions
|
||||
|
Reference in New Issue
Block a user