REST Resource: projects.locations.maps

  • EarthEngineMap is a resource that allows you to create and render map tiles based on a given expression.

  • It provides options to specify file format, select specific bands, and apply visualization options for an 8-bit RGB visualization.

  • The map is represented by a JSON object containing name, expression, file format, band IDs, and visualization options.

  • You can create a map ID using the create method to render the map tiles.

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.