You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
929 B
39 lines
929 B
export default DoubleClickZoom;
|
|
export type Options = {
|
|
/**
|
|
* Animation duration in milliseconds.
|
|
*/
|
|
duration?: number | undefined;
|
|
/**
|
|
* The zoom delta applied on each double click.
|
|
*/
|
|
delta?: number | undefined;
|
|
};
|
|
/**
|
|
* @typedef {Object} Options
|
|
* @property {number} [duration=250] Animation duration in milliseconds.
|
|
* @property {number} [delta=1] The zoom delta applied on each double click.
|
|
*/
|
|
/**
|
|
* @classdesc
|
|
* Allows the user to zoom by double-clicking on the map.
|
|
* @api
|
|
*/
|
|
declare class DoubleClickZoom extends Interaction {
|
|
/**
|
|
* @param {Options} [options] Options.
|
|
*/
|
|
constructor(options?: Options | undefined);
|
|
/**
|
|
* @private
|
|
* @type {number}
|
|
*/
|
|
private delta_;
|
|
/**
|
|
* @private
|
|
* @type {number}
|
|
*/
|
|
private duration_;
|
|
}
|
|
import Interaction from "./Interaction.js";
|
|
//# sourceMappingURL=DoubleClickZoom.d.ts.map
|