Home > @magiclane/maps-sdk > Landmark > setExtraImage

Landmark.setExtraImage() method

Sets the extra image for this landmark from raw image data.

Signature:

setExtraImage(imageData: Uint8Array, format: ImageFileFormat): void;

Parameters

Parameter

Type

Description

imageData

Uint8Array

The image data as Uint8Array.

format

ImageFileFormat

The image file format.

Returns:

void