Home > @magiclane/maps-sdk > ExternalInfo > getWikiImageDescription

ExternalInfo.getWikiImageDescription() method

Get Wikipedia image description directly, without notifier.

Signature:

getWikiImageDescription(index: number): string;

Parameters

Parameter

Type

Description

index

number

Index of the image to get the description of.

Returns:

string

The image description if the index is valid, empty string otherwise

Exceptions

An exception if it fails.