Stay organized with collections
Save and categorize content based on your preferences.
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.
A human-readable name of the task. Defaults to "myExportMapTask".
bucket
String, optional
The destination bucket to write to.
fileFormat
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".
path
String, optional
The string used as the output's path. A trailing "/" is optional. Defaults to the task's description.
writePublicTiles
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.
maxZoom
Number, optional
The maximum zoom level of the map tiles to export.
scale
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.
minZoom
Number, optional
The optional minimum zoom level of the map tiles to export. Defaults to zero.
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.
skipEmptyTiles
Boolean, optional
If true, skip writing empty (i.e. fully-transparent) map tiles. Defaults to false. Only supported on GeoTIFF exports.
mapsApiKey
String, optional
Used in index.html to initialize the Google Maps API. This removes the "development purposes only" message from the map.
bucketCorsUris
List, optional
A list of domains (e.g. https://code.earthengine.google.com) that are allowed to retrieve the exported tiles from JavaScript. Setting the tiles to public is not enough to allow them to be accessible by a web page, so you must explicitly give domains access to the bucket. This is known as Cross-Origin-Resource-Sharing, or CORS. You can allow all domains to have access using "*", but this is generally discouraged. See https://cloud.google.com/storage/docs/cross-origin for more details.
priority
Number, optional
The priority of the task within the project. Higher priority tasks are scheduled sooner. Must be an integer between 0 and 9999. Defaults to 100.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-03-06 UTC."],[[["Exports an image as map tiles for web map viewers, including an index.html for Google Maps API and earth.html for Google Earth."],["Allows customization of file format, zoom levels, region, and tile visibility (public or private)."],["Optionally skips empty tiles, provides a Google Maps API key, and sets bucket access for web domains."],["Uses `Export.map.toCloudStorage()` function with parameters for image, destination, format, and various optional configurations."]]],[]]