Files
coopgo/node_modules/ol/interaction/PinchZoom.d.ts
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

45 lines
986 B
TypeScript

export default PinchZoom;
export type Options = {
/**
* Animation duration in milliseconds.
*/
duration?: number | undefined;
};
/**
* @typedef {Object} Options
* @property {number} [duration=400] Animation duration in milliseconds.
*/
/**
* @classdesc
* Allows the user to zoom the map by pinching with two fingers
* on a touch screen.
* @api
*/
declare class PinchZoom extends PointerInteraction {
/**
* @param {Options} [opt_options] Options.
*/
constructor(opt_options?: Options | undefined);
/**
* @private
* @type {import("../coordinate.js").Coordinate}
*/
private anchor_;
/**
* @private
* @type {number}
*/
private duration_;
/**
* @private
* @type {number|undefined}
*/
private lastDistance_;
/**
* @private
* @type {number}
*/
private lastScaleDelta_;
}
import PointerInteraction from "./Pointer.js";
//# sourceMappingURL=PinchZoom.d.ts.map