Function minZoomLevelBaseOnWidth

  • Calculates the minimum zoom level based on the width of the boundaries. Used when the canvas on the html is resized.

    Parameters

    • boundaries: Boundaries
    • canvasWidth: number
    • canvasHeight: number
    • cameraRotation: number

    Returns number