• JMap.Application.Annotation.deletePresetColor

    Delete the given color to the preset colors of color pickers if present.

    Parameters

    • presetColor: string

      A hex color

    Returns void

    Throws

    if presetColor not an string or is empty

    Example

    // Delete the color #D2FDDF from the preset colors
    const presetColor = "#D2FDDF"

    JMap.Application.Annotation.deletePresetColor(presetColor)