Interface: UserOptions ¶
Hierarchy ¶
UserOptions
Table of contents ¶
Properties ¶
Properties ¶
renderType ¶
• renderType: RenderType
渲染类型 目前支持三种类型: 0:普通 raster 瓦片渲染 1:气象数据的色斑图渲染 2:风等 vector 数据的粒子渲染
Defined in ¶
gl-core/src/renderer/index.ts:34
renderFrom ¶
• Optional renderFrom: RenderFrom
指定渲染通道
Defined in ¶
gl-core/src/renderer/index.ts:38
styleSpec ¶
• Optional styleSpec: Object
Type declaration ¶
| Name | Type | Description |
|---|---|---|
fill-color? | any[] | - |
opacity? | number | any[] | - |
numParticles? | number | any[] | - |
speedFactor? | number | any[] | - |
fadeOpacity? | number | any[] | - |
dropRate? | number | any[] | - |
dropRateBump? | number | any[] | - |
space? | number | any[] | arrow space |
size? | [number, number] | arrow size |
Defined in ¶
gl-core/src/renderer/index.ts:39
displayRange ¶
• Optional displayRange: [number, number]
Defined in ¶
gl-core/src/renderer/index.ts:59
widthSegments ¶
• Optional widthSegments: number
Defined in ¶
gl-core/src/renderer/index.ts:60
heightSegments ¶
• Optional heightSegments: number
Defined in ¶
gl-core/src/renderer/index.ts:61
wireframe ¶
• Optional wireframe: boolean
Defined in ¶
gl-core/src/renderer/index.ts:62
flipY ¶
• Optional flipY: boolean
Defined in ¶
gl-core/src/renderer/index.ts:64
picking ¶
• Optional picking: boolean
是否开启拾取
Defined in ¶
gl-core/src/renderer/index.ts:69
mask ¶
• Optional mask: Object
可以为任意 GeoJSON 数据
Type declaration ¶
| Name | Type |
|---|---|
data | Attributes[] |
type | MaskType |