API Reference
Below is the complete public API of Galavi, auto-generated from the TypeScript source on every docs build.
Top-level entry points
createGalavi(config)— async factory that initializes WebGPU, mounts views, and returns a readyGalaviinstance.Galavi— orchestrator class. Owns global state and exposes the high-level state-update API.
Extension API
registerLayer,registerControl,registerOverlay,registerView— plug your own building blocks into the registries the core uses. See Plugin Development.BaseLayer,BaseControl,BaseOverlay,BaseView— base classes you extend.
Public utilities
For plugin authors writing layers, views, or source adapters:
- Camera math —
clampPitch,cameraDistance,cameraAngles,computePosition,computeForward - Axes —
resolveAxes,AxisIndex,AxisMap - Geometry —
EMPTY_VERTEX_BUFFER,UNIT_CUBE,aabbFromPositions - Colormaps —
getColormapLUT,COLORMAP_NAMES,APPEARANCE_PRESETS,resolveAppearancePreset,parseHexColor - Tiles / pyramid —
TilePool,TileLoadQueue,TileManager,planTiles,pickPyramidLevel,resolvePyramidLevel,buildTileFetcher,floatToFloat16 - DOM input —
normalizeWheel,normalizeDrag