|
@ -543,13 +543,13 @@ const vueGis = { |
|
|
}; |
|
|
}; |
|
|
})(); |
|
|
})(); |
|
|
|
|
|
|
|
|
select = new Select({ |
|
|
// select = new Select({ |
|
|
style: overlayStyle |
|
|
// style: overlayStyle |
|
|
}); |
|
|
// }); |
|
|
|
|
|
// 有BUG 加入多边形选中样式时,如果同时存在icon层和多边形层,点击icon会使icon消失 ---zhaotongyao 2022.06.01 |
|
|
|
|
|
|
|
|
map.addLayer(polygonLayer) |
|
|
map.addLayer(polygonLayer) |
|
|
map.addInteraction(select); |
|
|
// map.addInteraction(select); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|