UNPKG

@zxh19890103/wik

Version:

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

22 lines (21 loc) 768 B
import L from 'leaflet'; import { WikAnimation, WikAnimationOptions } from './Animation.class'; import { ReactiveLayerWithAnimate } from './WithAnimate'; interface BezierTranslationAnimationOptions extends WikAnimationOptions { controls: L.LatLngLiteral[]; } export declare class BezierTranslationAnimation extends WikAnimation<ReactiveLayerWithAnimate> { private path; readonly options: BezierTranslationAnimationOptions; readonly value: { lat: number; lng: number; }; private bezier; constructor(m: ReactiveLayerWithAnimate, value: L.LatLngLiteral, ...controls: L.LatLngLiteral[]); start(t: number): void; calcDur(): number; run(elapse: number, dt: number, t: number): boolean; final(): void; } export {};