layer.color < string>
Sets the text color for this layer. The color is expressed as a string in the CSS color format. Layers have a white text color by default.
译:设置该图层的背景颜色。颜色表示为CSS颜色格式字符串。层有一个默认的浅蓝色背景色。
layerA = new Layer
layerA.color = "red"
layerA.color = "#00ff00"
layerA.color = "rgba(134, 12, 64, 0.3)"
layerA.color = "transparent"
# Remove the color
layerA.color = ""