ee.Image.getThumbURL

Get a thumbnail URL for this image.

Returns a thumbnail URL, or undefined if a callback was specified.

UsageReturns
Image.getThumbURL(params, callback)Object|String
ArgumentTypeDetails
this: imageImageThe Image instance.
paramsObjectParameters identical to ee.data.getMapId, plus, optionally:
dimensions (a number or pair of numbers in format WIDTHxHEIGHT) Maximum dimensions of the thumbnail to render, in pixels. If only one number is passed, it is used as the maximum, and the other dimension is computed by proportional scaling.
region Geospatial region of the image to render, it may be an ee.Geometry, GeoJSON, or an array of lat/lon points (E,S,W,N). If not set the default is the bounds image.
format (string) Either 'png' or 'jpg'.
callbackFunction, optionalAn optional callback. If not supplied, the call is made synchronously.