Home > @magiclane/maps-sdk > SdkSettings > getImgById
SdkSettings.getImgById() method
Get the image by its ID
Signature:
static getImgById(id: number): any | null;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
number |
The image id |
Returns:
any | null
The image with the given ID. Returns null if no image with the given ID exists
Exceptions
An exception if it fails.