跳到主要内容

flywave-mapview.mapviewfog.update

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

MapViewFog.update() method

Updates the fog at runtime, depending on the camera and view distance.

Signature:

update(mapView: MapView, viewDistance?: number): void;

Parameters

Parameter

Type

Description

mapView

MapView

The map view instance.

viewDistance

number

(Optional) The current view distance.

Returns:



void