Get a Thumbnail Id for a given asset.

Returns the thumb ID and optional token, or null if a callback is specified.

UsageReturns, callback)ThumbnailId
paramsThumbnailOptionsAn object containing thumbnail options with the following possible values:

  - image (ee.Image) The image to make a thumbnail.

  - bands (array of strings) An array of band names.

  - format (string) The file format ("png", "jpg", "geotiff").

  - name (string): The base name. Use ee.Image.getThumbURL for region, dimensions, and visualization options support.

callbackFunction, optionalAn optional callback. If not supplied, the call is made synchronously.