function clearMeasure() {
measureSourceLay.clear();
map.removeLayer(measureLay);
map.getOverlays().clear();//关键点
map.removeInteraction(drawLineControl);
map.removeInteraction(drawAreaControl);
}
OpenLayer 清除 测量图层overlay
猜你喜欢
转载自blog.csdn.net/a571574085/article/details/87965776
今日推荐
周排行