JMap.Application.Annotation.setPresetColors
Set the preset colors of color pickers using the given colors.
A array of preset hex colors
if presetColors not an array, does not contain string or is too big
// Set the preset colors with 2 colorconst presetColors = [ "#29D1EA", "#D2FDDF"]JMap.Application.Annotation.setPresetColors(presetColors) Copy
// Set the preset colors with 2 colorconst presetColors = [ "#29D1EA", "#D2FDDF"]JMap.Application.Annotation.setPresetColors(presetColors)
JMap.Application.Annotation.setPresetColors
Set the preset colors of color pickers using the given colors.