Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ui.Map.CloudStorageLayer
Stay organized with collections
Save and categorize content based on your preferences.
A layer generated from Cloud Storage tiles for display on a ui.Map.
Usage | Returns | ui.Map.CloudStorageLayer(bucket, path, maxZoom, suffix, name, shown, opacity) | ui.Map.CloudStorageLayer |
Argument | Type | Details | bucket | String | The bucket that contains the tiles. |
path | String | The path to this layer's tiles, relative to the bucket. A trailing "/" is optional. |
maxZoom | Number | The maximum zoom level for which there are tiles. |
suffix | String, optional | The tile source file suffix, if any. |
name | String, optional | The name of the layer. |
shown | Boolean, optional | Whether the layer is initially shown. Defaults to true. |
opacity | Number, optional | The layer's opacity represented as a number between 0 and 1. Defaults to 1. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eCreates a map layer from Cloud Storage tiles for display on a ui.Map.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes a bucket and path to locate tiles, specifying maximum zoom level.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of file suffix, layer name, visibility, and opacity.\u003c/p\u003e\n"]]],[],null,["# ui.Map.CloudStorageLayer\n\n\u003cbr /\u003e\n\nA layer generated from Cloud Storage tiles for display on a ui.Map.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------------------|--------------------------|\n| `ui.Map.CloudStorageLayer(bucket, path, maxZoom, `*suffix* `, `*name* `, `*shown* `, `*opacity*`)` | ui.Map.CloudStorageLayer |\n\n| Argument | Type | Details |\n|-----------|-------------------|-------------------------------------------------------------------------------------|\n| `bucket` | String | The bucket that contains the tiles. |\n| `path` | String | The path to this layer's tiles, relative to the bucket. A trailing \"/\" is optional. |\n| `maxZoom` | Number | The maximum zoom level for which there are tiles. |\n| `suffix` | String, optional | The tile source file suffix, if any. |\n| `name` | String, optional | The name of the layer. |\n| `shown` | Boolean, optional | Whether the layer is initially shown. Defaults to true. |\n| `opacity` | Number, optional | The layer's opacity represented as a number between 0 and 1. Defaults to 1. |"]]