ui.Map.CloudStorageLayer
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."],[[["Creates a map layer from Cloud Storage tiles for display on a ui.Map."],["Utilizes a bucket and path to locate tiles, specifying maximum zoom level."],["Allows customization of file suffix, layer name, visibility, and opacity."]]],[]]