ArcGIS API forJavaScript4.x去除地圖擷取焦點的黑色邊框
CSS
/* 去掉地圖聚焦邊框 */
.esri-view-surface--inset-outline:focus::after {
outline: none !important;
}
如果上面的css不能起效果,那就加個
::v-deep()
就可以了
// 去掉地圖聚焦邊框
::v-deep(.esri-view-surface--inset-outline:focus::after) {
outline: none !important;
}