MrShi
2026-04-28 8e0a06da052c4f335ed4a2be51e1ac2c6b45a7a4
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;
};