Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AnimatedExtrusionHandler

Handles animated extrusion effect of the buildings in MapView.

Hierarchy

  • AnimatedExtrusionHandler

Index

Constructors

constructor

Properties

duration

duration: number = DEFAULT_EXTRUSION_DURATION

Duration of the building's extrusion in milliseconds

enabled

enabled: boolean = true

Animate the extrusion of the buildings if set to true.

Accessors

forceEnabled

  • get forceEnabled(): boolean
  • set forceEnabled(force: boolean): void

isAnimating

  • get isAnimating(): boolean

minZoomLevel

  • get minZoomLevel(): number

Methods

add

setAnimationProperties

  • Sets the extrusion animation properties obtained from a given technique.

    internal

    Parameters

    • technique: Technique

      The technique where the extrusion animation properties are defined.

    • env: MapEnv

      The environment used to evaluate technique properties.

    Returns boolean

    True if the technique has animation enabled (or animation is forced), false otherwise.

update

  • update(zoomLevel: number): void

Generated using TypeDoc