@vcmap/core
    Preparing search index...

    Function renderScreenshot

    • Renders a screenshot of the active map in the VcsApp.

      Parameters

      • app: VcsApp

        The VcsApp instance containing the active map.

      • width: number

        The desired width of the screenshot.

      Returns Promise<HTMLCanvasElement>

      A promise that resolves to the canvas element containing the screenshot.