跳到主要内容

flywave-mapview.animatedextrusionhandler

Home > @flywave/flywave-mapview > AnimatedExtrusionHandler

AnimatedExtrusionHandler class

Handles animated extrusion effect of the buildings in MapView.

Signature:

export declare class AnimatedExtrusionHandler 

Constructors

Constructor

Modifiers

Description

(constructor)(m_mapView)

Creates an AnimatedExtrusionHandler in MapView.

Properties

Property

Modifiers

Type

Description

duration

number

Duration of the building's extrusion in milliseconds

enabled

boolean

Animate the extrusion of the buildings if set to true.

forceEnabled

boolean

Returns whether the extrusion animation is force enabled or not.

isAnimating

readonly

boolean

Is true if there's any extrusion animation ongoing.

minZoomLevel

readonly

number

Gets min zoom level at which extruded animation is enabled.