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\u003e\u003ccode\u003esetName()\u003c/code\u003e allows you to assign a specific name to a GeometryLayer within the Earth Engine user interface.\u003c/p\u003e\n"],["\u003cp\u003eThis function is associated with \u003ccode\u003eui.Map.GeometryLayer\u003c/code\u003e objects and returns the layer instance for method chaining.\u003c/p\u003e\n"],["\u003cp\u003eThe input argument \u003ccode\u003ename\u003c/code\u003e is a string value representing the desired layer name.\u003c/p\u003e\n"]]],[],null,["# ui.Map.GeometryLayer.setName\n\n\u003cbr /\u003e\n\nSets the name of the layer.\n\n\u003cbr /\u003e\n\nReturns this map layer.\n\n| Usage | Returns |\n|-------------------------------|----------------------|\n| GeometryLayer.setName`(name)` | ui.Map.GeometryLayer |\n\n| Argument | Type | Details |\n|------------------------------|----------------------|------------------------------------|\n| this: `ui.map.geometrylayer` | ui.Map.GeometryLayer | The ui.Map.GeometryLayer instance. |\n| `name` | String | The name of the layer. |"]]