ee.Image.getMap

Stay organized with collections Save and categorize content based on your preferences.

An imperative function that returns a map id and optional token, suitable for generating a Map overlay.

Returns an object which may be passed to ee.data.getTileUrl or ui.Map.addLayer. Undefined if a callback was specified.

UsageReturns
Image.getMap(visParams, callback)MapId|Object
ArgumentTypeDetails
this: imageImageThe Image instance.
visParamsImageVisualizationParameters, optionalThe visualization parameters.
callbackFunction, optionalAn async callback. If not supplied, the call is made synchronously.