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

ExternalInfo.getWikiImageTitle() method

Get Wikipedia image title directly, without notifier.

Signature:

getWikiImageTitle(index: number): string;

Parameters

Parameter

Type

Description

index

number

Index of the image to get the title of.

Returns:

string

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

Exceptions

An exception if it fails.