公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ui.Map.CloudStorageLayer
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
根据 Cloud Storage 图块生成的图层,用于在 ui.Map 上显示。
用法 | 返回 |
---|
ui.Map.CloudStorageLayer(bucket, path, maxZoom, suffix, name, shown, opacity) | ui.Map.CloudStorageLayer |
参数 | 类型 | 详细信息 |
---|
bucket | 字符串 | 包含图块的存储分区。 |
path | 字符串 | 相应图层的图块路径(相对于存储分区)。末尾的“/”是可选的。 |
maxZoom | 数字 | 有图块的最大缩放级别。 |
suffix | 字符串,可选 | 图块源文件后缀(如有)。 |
name | 字符串,可选 | 图层的名称。 |
shown | 布尔值,可选 | 图层是否最初处于显示状态。默认值为 true。 |
opacity | 数字,可选 | 图层的不透明度,以介于 0 到 1 之间的数字表示。默认为 1。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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. |"]]