REST Resource: projects.maps

  • EarthEngineMap resources represent maps and are defined by a name, expression to compute, file format, optional band IDs, and visualization options.

  • The map resource uses an expression to generate map tiles and allows customization through file format, band selection, and visualization settings.

  • Users can create EarthEngineMap resources using the create method, which generates an ID for rendering map tiles based on the defined expression and configurations.

Resource: EarthEngineMap

Information about a map.

JSON representation
{
  "name": string,
  "expression": {
    object (Expression)
  },
  "fileFormat": enum (ImageFileFormat),
  "bandIds": [
    string
  ],
  "visualizationOptions": {
    object (VisualizationOptions)
  }
}
Fields
name

string

The resource name representing the map, of the form "projects/*/maps/**" (e.g. "projects/earthengine-legacy/maps/").

expression

object (Expression)

The expression to compute.

fileFormat

enum (ImageFileFormat)

The output file format in which to generate the map tiles.

bandIds[]

string

If present, specifies a specific set of bands that will be selected from the result of evaluating the given expression. If not present, all bands resulting from the expression will be selected.

visualizationOptions

object (VisualizationOptions)

If present, a set of visualization options to apply to produce an 8-bit RGB visualization of the data.

Methods

create

Creates an ID that can be used to render map tiles showing the results of a computation.