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

WikipediaService.getWikiImageUrl() method

Resolve the URL of a thumbnail at the requested quality. Matches the C++ RequestWikiImage strURL composition (line 625-629 of WikiInfoImpl.cpp).

Signature:

getWikiImageUrl(image: WikiImage, quality?: ExternalImageQuality): string;

Parameters

Parameter

Type

Description

image

WikiImage

quality

ExternalImageQuality

(Optional)

Returns:

string