UNPKG

@zxh19890103/wik

Version:

The world-class JavaScript library for building large-scale digital warehouse both on 2D and 3D.

23 lines (22 loc) 625 B
import { WikAnimation } from './Animation.class'; import { ReactiveLayerWithAnimate } from './WithAnimate'; /** * 可以配置的 默认一般移动 1.8M/S 旋转90度一般3.5s 不过移动1.8M/S是最大速度 一般,这个可以配置 */ export declare class TranslationAnimation extends WikAnimation<ReactiveLayerWithAnimate> { readonly value: { lat: number; lng: number; }; private linear; constructor(m: ReactiveLayerWithAnimate, lat: number, lng: number); start(t: number): void; calcDur(): number; run(elapse: number, dt: number, t: number): void; final(): void; }