• JMap.Application.Print.isLegendVisible

    Returns true if the legend is displayed in the print layout.

    Returns boolean

    Example

    // returns true if the legend is visible
    JMap.Application.Print.isLegendVisible()