Skip to main content

Interface: ScreenshotWithProjection

The returned image and its projection when returnProjection is true.

Example​

const shot = await window.mimeeqApp.utils.takeScreenshot({ returnProjection: true });
if (shot) console.log(shot.image, shot.projection.width);

Properties​

image​

image: string

The screenshot as a base64 image data URL.

Example​

const shot = await window.mimeeqApp.utils.takeScreenshot({ returnProjection: true });
console.log(shot?.image);

projection​

projection: ScreenshotProjection

Data for mapping world coordinates to the screenshot.

Example​

const shot = await window.mimeeqApp.utils.takeScreenshot({ returnProjection: true });
console.log(shot?.projection);