Class: default ¶
Table of contents ¶
Constructors ¶
Properties ¶
Methods ¶
- updateOptions
- initializeParticles
- setWind
- onAdd
- initialize
- moveStart
- moveEnd
- getExtent
- getSize
- zoom
- reset
- resize
- onRemove
- update
- drawTexture
- drawScreen
- drawParticles
- prerender
- render
Constructors ¶
constructor ¶
• new default(id
, options?
): default
Parameters ¶
Name | Type |
---|---|
id | string |
options | Partial <ParticlesLayerOptions > |
Returns ¶
Defined in ¶
Properties ¶
id ¶
• id: string
Defined in ¶
type ¶
• type: string
= 'custom'
Defined in ¶
renderingMode ¶
• renderingMode: "2d"
| "3d"
= '2d'
Defined in ¶
options ¶
• options: ParticlesLayerOptions
Defined in ¶
map ¶
• map: any
Defined in ¶
windData ¶
• windData: any
Defined in ¶
Methods ¶
updateOptions ¶
▸ updateOptions(options
): void
Parameters ¶
Name | Type |
---|---|
options | Partial <ParticlesLayerOptions > |
Returns ¶
void
Defined in ¶
initializeParticles ¶
▸ initializeParticles(count
): void
Parameters ¶
Name | Type |
---|---|
count | any |
Returns ¶
void
Defined in ¶
setWind ¶
▸ setWind(windData
): Promise
<unknown
>
Parameters ¶
Name | Type |
---|---|
windData | any |
Returns ¶
Promise
<unknown
>
Defined in ¶
onAdd ¶
▸ onAdd(map
, gl
): void
Parameters ¶
Name | Type |
---|---|
map | any |
gl | WebGLRenderingContext |
Returns ¶
void
Defined in ¶
initialize ¶
▸ initialize(): void
Returns ¶
void
Defined in ¶
moveStart ¶
▸ moveStart(): void
Returns ¶
void
Defined in ¶
moveEnd ¶
▸ moveEnd(): void
Returns ¶
void
Defined in ¶
getExtent ¶
▸ getExtent(): any
[]
Returns ¶
any
[]
Defined in ¶
getSize ¶
▸ getSize(): number
[]
Returns ¶
number
[]
Defined in ¶
zoom ¶
▸ zoom(): void
Returns ¶
void
Defined in ¶
reset ¶
▸ reset(flag?
): void
Parameters ¶
Name | Type |
---|---|
flag? | boolean |
Returns ¶
void
Defined in ¶
resize ¶
▸ resize(): void
Returns ¶
void
Defined in ¶
onRemove ¶
▸ onRemove(map
): void
Parameters ¶
Name | Type |
---|---|
map | any |
Returns ¶
void
Defined in ¶
update ¶
▸ update(): void
Returns ¶
void
Defined in ¶
drawTexture ¶
▸ drawTexture(matrix
, dateLineOffset
, isGlobal
, params
): void
Parameters ¶
Name | Type |
---|---|
matrix | any |
dateLineOffset | any |
isGlobal | any |
params | any |
Returns ¶
void
Defined in ¶
drawScreen ¶
▸ drawScreen(): void
Returns ¶
void
Defined in ¶
drawParticles ¶
▸ drawParticles(matrix
, dateLineOffset
, isGlobal
, params
): void
Parameters ¶
Name | Type |
---|---|
matrix | any |
dateLineOffset | any |
isGlobal | any |
params | any |
Returns ¶
void
Defined in ¶
prerender ¶
▸ prerender(gl
, projectionMatrix
, projection
, globeToMercMatrix
, transition
, centerInMercator
, pixelsPerMeterRatio
): void
Parameters ¶
Name | Type |
---|---|
gl | any |
projectionMatrix | any |
projection | any |
globeToMercMatrix | any |
transition | any |
centerInMercator | any |
pixelsPerMeterRatio | any |
Returns ¶
void
Defined in ¶
render ¶
▸ render(gl
, projectionMatrix
, projection
, globeToMercMatrix
, transition
, centerInMercator
, pixelsPerMeterRatio
): void
Parameters ¶
Name | Type |
---|---|
gl | any |
projectionMatrix | any |
projection | any |
globeToMercMatrix | any |
transition | any |
centerInMercator | any |
pixelsPerMeterRatio | any |
Returns ¶
void