• JMap.Map.setMapRotationControlVisibility

    Changes the Map Rotation control visibility on the map.

    Parameters

    • isVisible: boolean

      true to display the Map Rotation control, false to hide

    Returns void

    Example

    // displays the Map Rotation control on the map
    JMap.Map.setMapRotationControlVisibility(true)

    // hides the Map Rotation control on the map
    JMap.Map.setMapRotationControlVisibility(false)