linwenling
2023-08-07 d019c1632d2a92ed48b27b9cce1debcbe79afb2c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import type View from '../coord/View.js';
import type ExtensionAPI from '../core/ExtensionAPI.js';
import type { Payload } from '../util/types.js';
export interface RoamPayload extends Payload {
    dx: number;
    dy: number;
    zoom: number;
    originX: number;
    originY: number;
}
export declare function updateCenterAndZoom(view: View, payload: RoamPayload, zoomLimit?: {
    min?: number;
    max?: number;
}, api?: ExtensionAPI): {
    center: number[];
    zoom: number;
};