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.GeometryLayerThe ui.Map.GeometryLayer instance.
colorStringThe color of the layer.