# Class: GlPolyLineLayer

# Hierarchy

# Implements

# Table of contents

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new GlPolyLineLayer(options: Partial<ILineLayerOptions>): GlPolyLineLayer

# Parameters
Name Type
options Partial<ILineLayerOptions>

Returns: GlPolyLineLayer

Overrides: GlAdapterLayer

# Properties

# drawPoints

drawPoints: any


# id

id: string= 'custom-line'

Overrides: GlAdapterLayer.id


# instance

instance: boolean= true


# map

map: Map

Inherited from: GlAdapterLayer.map


# pointColor

pointColor: number[]


# points

points: { lat: number ; lng: number }[]= []

Implementation of: ILineLayerOptions.points


# regl

regl: any

Inherited from: GlAdapterLayer.regl


# renderAnimation

Optional renderAnimation: boolean

Inherited from: GlAdapterLayer.renderAnimation


# type

type: "custom"

Inherited from: GlAdapterLayer.type

# Methods

# frame

frame(gl: WebGLRenderingContext, matrix: number[], context?: any): void

# Parameters
Name Type
gl WebGLRenderingContext
matrix number[]
context? any

Returns: void

Overrides: GlAdapterLayer


# getReglInitializationOptions

getReglInitializationOptions(): any

Returns: any

Overrides: GlAdapterLayer


# init

init(map: Map, gl: WebGLRenderingContext): void

# Parameters
Name Type
map Map
gl WebGLRenderingContext

Returns: void

Overrides: GlAdapterLayer


# onAdd

onAdd(map: Map, gl: WebGLRenderingContext): void

# Parameters
Name Type
map Map
gl WebGLRenderingContext

Returns: void

Inherited from: GlAdapterLayer


# onRemove

onRemove(map: Map, gl: WebGLRenderingContext): void

# Parameters
Name Type
map Map
gl WebGLRenderingContext

Returns: void

Inherited from: GlAdapterLayer


# prerender

prerender(gl: WebGLRenderingContext, matrix: number[]): void

# Parameters
Name Type
gl WebGLRenderingContext
matrix number[]

Returns: void

Inherited from: GlAdapterLayer


# remove

remove(map: Map, gl: WebGLRenderingContext): void

# Parameters
Name Type
map Map
gl WebGLRenderingContext

Returns: void

Overrides: GlAdapterLayer


# render

render(gl: WebGLRenderingContext, matrix: number[]): void

NOTE: map won't call it every frame.

# Parameters
Name Type
gl WebGLRenderingContext
matrix number[]

Returns: void

Inherited from: GlAdapterLayer


# triggerRepaint

triggerRepaint(): void

Returns: void

Inherited from: GlAdapterLayer

vjmap / Exports / HaloRingMarker