ui.Map.CloudStorageLayer

A layer generated from Cloud Storage tiles for display on a ui.Map.

UsageReturns
ui.Map.CloudStorageLayer(bucket, path, maxZoom, suffix, name, shown, opacity)ui.Map.CloudStorageLayer
ArgumentTypeDetails
bucketString

The bucket that contains the tiles.

pathString

The path to this layer's tiles, relative to the bucket. A trailing "/" is optional.

maxZoomNumber

The maximum zoom level for which there are tiles.

suffixString, optional

The tile source file suffix, if any.

nameString, optional

The name of the layer.

shownBoolean, optional

Whether the layer is initially shown. Defaults to true.

opacityNumber, optional

The layer's opacity represented as a number between 0 and 1. Defaults to 1.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!