Skip to main content

flywave-mapview.themeloader.loadasync

Home > @flywave/flywave-mapview > ThemeLoader > loadAsync

ThemeLoader.loadAsync() method

Warning: This API is now obsolete.

Please use ThemeLoader.load

Loads a from a remote resource, provided as a URL that points to a JSON-encoded theme.

Signature:

static loadAsync(themeUrl: string): Promise<Theme>;

Parameters

Parameter

Type

Description

themeUrl

string

The URL to the theme.

Returns:



Promise&lt;Theme&gt;