API

Type Alias GeospatialPanHandler

Handler for geospatial pan (globe drag) interactions. Pan uses screen coordinates and needs a lifecycle (start/update/stop) because it establishes a drag plane on the globe surface to anchor the cursor.

type GeospatialPanHandler = {
    start(screenX: number, screenY: number): void;
    stop(): void;
    update(screenX: number, screenY: number): void;
}
Index