ui.Map.GeometryLayer.setColor

Stay organized with collections Save and categorize content based on your preferences.

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.