ui.Map.GeometryLayer.setColor

Sets the CSS color of shapes in the layer.

Returns this map layer.

Usage Returns
GeometryLayer. setColor (color) ui.Map.GeometryLayer
Argument Type Details
this: ui.map.geometrylayer
ui.Map.GeometryLayer The ui.Map.GeometryLayer instance.
color
String The color of the layer.
Create a Mobile Website
View Site in Mobile | Classic
Share by: