• JMap.Application.Print.setLegendVisibility

    Sets the legend visible or hidden in the print layout.

    Parameters

    • isVisible: boolean

      true to display, false to hide

    Returns void

    Example

    // Hide the legend
    JMap.Application.Print.setLegendVisibility(false)

    // Show the legend
    JMap.Application.Print.setLegendVisibility(true)