flywave-mapview.mapview.settheme
Home > @flywave/flywave-mapview > MapView > setTheme
MapView.setTheme() method
Changes the Themeused by this MapViewto style map elements.
Signature:
setTheme(theme: Theme | FlatTheme | string): Promise<Theme>;
Parameters
Parameter | Type | Description |
|---|---|---|
theme | Theme | FlatTheme | string |
Returns:
Promise<Theme>