AbstractWorldWindowController

Platform-agnostic base for BasicWorldWindowController. Holds the camera state, gesture-begin bookkeeping, and pan/fling/zoom-anchor math that is identical across Android, JS, and JVM. Each platform subclass plugs in its own redraw call, gesture-pixel scaling, and frame scheduler.

Inheritors

BasicWorldWindowController
WorldWindowController

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Inertial pan animator. Each platform's createFlingScheduler supplies the per-frame clock. The per-frame action dispatches by projection: 2D uses incremental projected-meters math, 3D uses great-circle radians. Picking the right one matters because Mercator metersPerPixel diverges from the 3D radians-on-a-sphere formula away from the equator.

Link copied to clipboard

Shared anchor for pinch / rotate / wheel handlers. Lazy because engine may not be initialized yet at controller-construction time.

Link copied to clipboard

Trailing-window velocity tracker used to seed fling on gesture release.

Functions

Link copied to clipboard
open fun release()

Releases any platform resources held by the controller (timers, frame callbacks). Subclasses should override and call super.release() to add their own cleanup (e.g. VC repeat timers).