ui.Map.CloudStorageLayer.setPath
Sets the location of the folder from which the layer will retrieve its tiles.
Returns this map layer.
Usage | Returns | CloudStorageLayer.setPath(path) | ui.Map.CloudStorageLayer |
Argument | Type | Details | this: ui.map.cloudstoragelayer | ui.Map.CloudStorageLayer | The ui.Map.CloudStorageLayer instance. |
path | String | The path to this layer's tiles, relative to the bucket. |
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."],[[["Defines the location within a Cloud Storage bucket from which the map layer will access its tile imagery."],["This functionality is accessed through the `setPath()` method, applied to a `ui.Map.CloudStorageLayer` object, and provides the layer with the specified Cloud Storage path to its tiles."],["The `setPath()` method accepts the tile path as a string argument and returns the updated `ui.Map.CloudStorageLayer` instance."]]],[]]