Skip to content

CustomRenderMethod()

CustomRenderMethod = (gl: WebGLRenderingContext | WebGL2RenderingContext, options: CustomRenderMethodInput) => void

Defined in: style/style_layer/custom_style_layer.ts:114

Parameters

Parameter Type Description
gl WebGLRenderingContext | WebGL2RenderingContext The map's gl context.
options CustomRenderMethodInput Argument object with render inputs like camera properties.

Returns

void