Home > @magiclane/maps-sdk > ExternalInfoService > hasWikiInfo
ExternalInfoService.hasWikiInfo() method
Checks if the landmark has Wikipedia info Requests all the wikipedia info at once (page title/url, page summary, and list of pictures - only urls of the pictures) - returns true if request successfully made, false if something went wrong.
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 has Wikipedia info, false otherwise
Exceptions
An exception if it fails.