Creates a batch task to export an Image as a rectangular pyramid of map tiles for use with web map viewers. The map tiles will be accompanied by a reference index.html file that displays them using the Google Maps API, and an earth.html file for opening the map on Google Earth.
Export.map.toCloudStorage(image, description, bucket, fileFormat, path, writePublicTiles, maxZoom, scale, minZoom, region, skipEmptyTiles, mapsApiKey, bucketCorsUris)
|Image||The image to export as tiles.|
|String, optional||A human-readable name of the task. Defaults to "myExportMapTask".|
|String, optional||The destination bucket to write to.|
|String, optional||The map tiles' file format, one of
"auto", "png", or "jpg". Defaults to "auto", which means that opaque tiles will be encoded as "jpg" and tiles with transparency will be encoded as "png".
|String, optional||The string used as the output's path. A trailing "/" is optional. Defaults to the task's description.|
|Boolean, optional||Whether to write public tiles instead of using the bucket's default object ACL. Defaults to true and requires invoker to be OWNER of bucket.|
|Number, optional||The maximum zoom level of the map tiles to export.|
|Number, optional||The max image resolution in meters per pixel, as an alternative to "maxZoom". The scale will be converted to the most appropriate maximum zoom level at the equator.|
|Number, optional||The optional minimum zoom level of the map tiles to export. Defaults to zero.|
|Geometry.LinearRing|Geometry.Polygon|String, optional||A LinearRing, Polygon, or coordinates representing region to export. These may be specified as the Geometry objects or coordinates serialized as a string. Map tiles will be produced in the rectangular region containing this geometry. If not specified, the region defaults to the viewport at the time of invocation.|
|Boolean, optional||If true, skip writing empty (i.e. fully-transparent) map tiles. Defaults to false.|
|String, optional||Used in index.html to initialize the Google Maps API. This removes the "development purposes only" message from the map.|