ee.Palette.positions

Set the position for each color in the palette.

UsageReturns
Palette.positions(positions)Palette
ArgumentTypeDetails
this: palettePalette
positionsListA list of values specifying the position for each color in the palette. This overrides any value of 'classes', and explicitly sets min/max to the first/last position.