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;
}