MapboxGL设置地图背景透明

map.addLayer(
  {
        "id": "背景",
        "type": "background",
        "paint": {
          "background-color": "rgba(255,255,255,0)"
        },
        "layout": {
          "visibility": "visible"
        }
      }
)
posted @ 2023-11-09 10:31  槑孒  阅读(161)  评论(0编辑  收藏  举报