@razi91/types-ol-ext
Version:
Type definitions for ol-ext
25 lines (21 loc) • 790 B
TypeScript
import { default as featureAnimation, FeatureAnimationEvent } from './FeatureAnimation';
export interface Options {
zoomOut?: boolean;
}
/** Zoom animation: feature zoom out (for points)
* @constructor
* @extends {featureAnimation}
*/
declare class ZoomOut extends featureAnimation {
constructor(options?: Options)
/** Function to perform manipulations onpostcompose.
* This function is called with an featureAnimationEvent argument.
* The function will be overridden by the child implementation.
* Return true to keep this function for the next frame, false to remove it.
* @param {featureAnimationEvent} e
* @return {bool} true to continue animation.
* @api
*/
animate(e: FeatureAnimationEvent): boolean;
}
export default ZoomOut;