跳到主要内容

flywave-mapview.mapviewfog.reset

Home > @flywave/flywave-mapview > MapViewFog > reset

MapViewFog.reset() method

Sets the fog depending on the instance provided. This function is called when a theme is loaded. Fog is added only if the theme contains a fog definition with a: - color property, used to set the fog color. - ratio property, used to set the fog density. - range property, used to set the fog effect range.

Signature:

reset(fog?: Fog): void;

Parameters

Parameter

Type

Description

fog

Fog

(Optional) A instance.

Returns:



void