mirror of https://gitee.com/antv-l7/antv-l7
fix(line): 暂时移除掉线点去重的逻辑
This commit is contained in:
parent
64652bcae3
commit
c5d1674435
|
@ -214,8 +214,8 @@ export default class Popup extends EventEmitter implements IPopup {
|
|||
}
|
||||
|
||||
// 高德地图需要阻止事件冒泡 // 测试mapbox 地图不需要添加
|
||||
const { stopPropagation} = this.popupOption;
|
||||
if(stopPropagation) {
|
||||
const { stopPropagation } = this.popupOption;
|
||||
if (stopPropagation) {
|
||||
['mousemove', 'mousedown', 'mouseup', 'click', 'dblclick'].forEach(
|
||||
(type) => {
|
||||
this.container.addEventListener(type, (e) => {
|
||||
|
|
|
@ -97,7 +97,7 @@ export default class ExtrudePolyline {
|
|||
this.normal = null;
|
||||
this.totalDistance = 0;
|
||||
// 去除数组里重复的点
|
||||
points = getArrayUnique(points);
|
||||
// points = getArrayUnique(points);
|
||||
const total = points.length;
|
||||
let count = complex.startIndex;
|
||||
for (let i = 1; i < total; i++) {
|
||||
|
|
Loading…
Reference in New Issue