Home > @magiclane/maps-sdk > ExternalInfoService > hasWikiInfo
ExternalInfoService.hasWikiInfo() method
Checks if the landmark has Wikipedia info.
Signature:
static hasWikiInfo(landmark: Landmark): boolean;Parameters
Parameter | Type | Description |
|---|---|---|
landmark | Landmark for which the check will be done. |
Returns:
boolean
True if the landmark carries a direct Wikipedia article reference (gm_wiki_info extra info), false otherwise.