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

ExternalInfo.getWikiImageUrl() method

Get Wikipedia image URL directly, without notifier.

Signature:

getWikiImageUrl(index: number): string;

Parameters

Parameter

Type

Description

index

number

Index of the image to get the URL of.

Returns:

string

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

Exceptions

An exception if it fails.