flywave-mapview.mapviewatmosphere.reset
Home > @flywave/flywave-mapview > MapViewAtmosphere > reset
MapViewAtmosphere.reset() method
Sets the atmosphere depending on the instance provided.
This function is called when a theme is loaded. Atmosphere is added only if the theme contains a atmosphere definition with a: - color property, used to set the atmosphere color.
Signature:
reset(theme: Theme): void;
Parameters
Parameter | Type | Description |
|---|---|---|
theme | Theme | A instance. |
Returns:
void