Home > @magiclane/maps-sdk > ExternalInfoService

ExternalInfoService class

Signature:

export declare abstract class ExternalInfoService 

Methods

Method

Modifiers

Description

_checkWikiInfo(landmark)

static

Internal helper kept for backwards compatibility.

cancelWikiInfo(operationHandler)

static

Cancels a Wikipedia info request.

configure(config)

static

Override the Wikipedia backend. Call once before requesting info.

Requests to the public wikipedia.org need no authentication. Use host only to point at a mirror.

hasWikiInfo(landmark)

static

Checks if the landmark has Wikipedia info.

requestWikiInfo(landmark, onComplete)

static

Requests Wikipedia info for a landmark via the public Wikipedia API (no WASM).