autumnplot-gl

Hardware-accelerated geospatial data plotting in the browser


Project maintained by tsupinie Hosted on GitHub Pages — Theme by mattgraham

autumnplot-glDocs


autumnplot-gl / PlotComponent

Class: abstract PlotComponent<MapType>

Extended by

Type parameters

MapType extends MapLikeType

Constructors

new PlotComponent()

new PlotComponent<MapType>(): PlotComponent<MapType>

Returns

PlotComponent<MapType>

Methods

onAdd()

abstract onAdd(map, gl): Promise<void>

Parameters

map: MapType

gl: WebGLAnyRenderingContext

Returns

Promise<void>

Source

PlotComponent.ts:13


render()

abstract render(gl, matrix): void

Parameters

gl: WebGLAnyRenderingContext

matrix: number[] | Float32Array

Returns

void

Source

PlotComponent.ts:14