嗨——我正在尝试将图层的不透明度设置为 0.6。这可能在 R 制图包中吗?例如在这个 propTrianglesLayer 的 var1 和 var2 中:
mtq <- st_read(system.file("gpkg/mtq.gpkg", package="cartography"))
# Employed Active Population
mtq$OCC <- mtq$ACT-mtq$CHOM
plot(st_geometry(mtq), col = "lightblue4",border = "lightblue3",
bg = "lightblue1")
propTrianglesLayer(x = mtq, var1 = "OCC", var2 = "CHOM",
col1="green4",col2="red4",k = 0.1)
layoutLayer(title = "Active Population in Martinique, 2015")