|
@@ -312,15 +312,6 @@ class AuthenticMap {
|
|
|
let coordinates = geometry.getCoordinates()[0]; // 获取多边形的顶点坐标
|
|
|
ElMessage.success("已选择该点位")
|
|
|
let list
|
|
|
- // if(mapData.selectPointArr.length>0){
|
|
|
- // list = f.getGeometry().getCoordinates();
|
|
|
- // }else{
|
|
|
- // list = mapData.point.getGeometry().getCoordinates();
|
|
|
- // }
|
|
|
- // const arr = list[0][0].find(subArray => subArray.includes(coordinates))
|
|
|
- // that.selectPointLayer.source.clear();
|
|
|
- // let point = new Feature(new Point(arr));
|
|
|
- // that.selectPointLayer.addFeature(point);
|
|
|
if(mapData.selectPointArr.length>0){
|
|
|
list = f.getGeometry().getCoordinates();
|
|
|
}else{
|