Home > @magiclane/maps-sdk > ExternalInfo
ExternalInfo class
ExternalInfo object
Provides Wikipedia information for a landmark, fetched directly from the public Wikipedia API in TypeScript (no native/WASM round-trip).
Places
Signature:
export declare class ExternalInfo Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| number | Get the count of the images on the Wikipedia page. | |
| number | Get the count of the images on the Wikipedia page. | |
| string | Get the Wikipedia page summary (text). | |
| string | Get the Wikipedia page language. | |
| string | Get the Wikipedia page title. | |
| string | Get the Wikipedia page URL. |
Methods
Method | Modifiers | Description |
|---|---|---|
Cancel a specific Wikipedia image info request started via requestWikiImageInfo. | ||
Cancel a Wikipedia request. Automatically called if a new request is initiated. | ||
| ||
| Requests information about a landmark on Wikipedia. | |
Get Wikipedia image description directly. | ||
Get a sized thumbnail URL for a Wikipedia image. | ||
Get Wikipedia image title directly. | ||
Get the full-resolution Wikipedia image URL directly. | ||
Checks if the landmark has Wikipedia info. | ||
Get info (description) on one Wikipedia image. |