ui.Map.GeometryLayer.setColor

Sets the CSS color of shapes in the layer.

Returns this map layer.

UsageReturns
GeometryLayer.setColor(color)ui.Map.GeometryLayer
ArgumentTypeDetails
this: ui.map.geometrylayerui.Map.GeometryLayer

The ui.Map.GeometryLayer instance.

colorString

The color of the layer.