Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eDefines the color of shapes within a GeometryLayer on the map.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esetColor()\u003c/code\u003e method accepts a color string as input and applies it to the layer's shapes.\u003c/p\u003e\n"],["\u003cp\u003eIt returns the \u003ccode\u003eui.Map.GeometryLayer\u003c/code\u003e instance, allowing for method chaining.\u003c/p\u003e\n"]]],["The `GeometryLayer.setColor(color)` method modifies the color of shapes within a map layer. It accepts a `color` argument, which is a string representing the desired color. The method's primary action is to update the CSS color of the layer's shapes. Upon execution, it returns the `ui.Map.GeometryLayer` instance, allowing for method chaining. The input argument is `this`, referencing the specific `ui.Map.GeometryLayer` instance that the function is called upon.\n"],null,["# ui.Map.GeometryLayer.setColor\n\n\u003cbr /\u003e\n\nSets the CSS color of shapes in the layer.\n\n\u003cbr /\u003e\n\nReturns this map layer.\n\n| Usage | Returns |\n|---------------------------------|----------------------|\n| GeometryLayer.setColor`(color)` | ui.Map.GeometryLayer |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|------------------------------------|\n| this: `ui.map.geometrylayer` | ui.Map.GeometryLayer | The ui.Map.GeometryLayer instance. |\n| `color` | String | The color of the layer. |"]]