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 Cloud Storage bucket containing the tile data for the layer.\u003c/p\u003e\n"],["\u003cp\u003eProvides a method (\u003ccode\u003esetBucket\u003c/code\u003e) to specify the bucket for the layer.\u003c/p\u003e\n"],["\u003cp\u003eReturns the \u003ccode\u003eui.Map.CloudStorageLayer\u003c/code\u003e instance, allowing for method chaining.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003esetBucket\u003c/code\u003e takes the Cloud Storage bucket name as an argument.\u003c/p\u003e\n"]]],["The core function of `CloudStorageLayer.setBucket` is to assign a specific Cloud Storage bucket to a map layer. This method, when invoked on a `ui.Map.CloudStorageLayer` instance, takes a string argument named `bucket` representing the Cloud Storage bucket's name. After execution, it returns the `ui.Map.CloudStorageLayer` instance, effectively associating the provided bucket with that layer.\n"],null,["# ui.Map.CloudStorageLayer.setBucket\n\n\u003cbr /\u003e\n\nSets the bucket for this layer.\n\n\u003cbr /\u003e\n\nReturns this map layer.\n\n| Usage | Returns |\n|---------------------------------------|--------------------------|\n| CloudStorageLayer.setBucket`(bucket)` | ui.Map.CloudStorageLayer |\n\n| Argument | Type | Details |\n|----------------------------------|--------------------------|---------------------------------------------------------------|\n| this: `ui.map.cloudstoragelayer` | ui.Map.CloudStorageLayer | The ui.Map.CloudStorageLayer instance. |\n| `bucket` | String | The name of the Cloud Storage bucket with this layer's tiles. |"]]