JMap.Application.Annotation.addPresetColor
Add the given color to the preset colors of color pickers if not already present.
A hex color
if presetColor not an string or is empty
// Add the color #D2FDDF to the preset colorsconst presetColor = "#D2FDDF"JMap.Application.Annotation.addPresetColor(presetColor) Copy
// Add the color #D2FDDF to the preset colorsconst presetColor = "#D2FDDF"JMap.Application.Annotation.addPresetColor(presetColor)
JMap.Application.Annotation.addPresetColor
Add the given color to the preset colors of color pickers if not already present.