@siedlerchr/types-ol-ext
Version:
Type definitions for ol-ext
25 lines (20 loc) • 641 B
TypeScript
import type { FeatureAnimationEvent, Options as FeatureAnimationOption } from './FeatureAnimation'
import { FeatureAnimation } from './FeatureAnimation'
export interface Options extends FeatureAnimationOption {
zoomOut?: boolean;
}
/** Zoom animation: feature zoom in (for points)
* @constructor
* @extends {featureAnimation}
*/
export default class Zoom extends FeatureAnimation {
/**
* @param {featureAnimationZoomOptions} options
* @param {bool} options.zoomOut to zoom out
*/
constructor(options?: Options);
/** Animate
* @param {featureAnimationEvent} e
*/
animate(e: FeatureAnimationEvent): boolean;
}