• JMap.Application.Print.setScaleControlVisibility

    Displays or hides the scale control widget.

    Parameters

    • isVisible: boolean

      true to display, false to hide

    Returns void

    Example

    // Display the scale
    JMap.Application.Print.setScaleControlVisibility(true)

    // Hide the scale
    JMap.Application.Print.setScaleControlVisibility(false)