Class: default ¶
Hierarchy ¶
any
↳
default
Table of contents ¶
Constructors ¶
Properties ¶
Methods ¶
- appendTo
- initialize
- bindEvent
- unbindEvent
- start
- stop
- draw
- render
- getContainer
- transferToMercator
- project
- unproject
- intersectsCoordinate
- getData
- setData
- updateParams
- getParams
- setWindOptions
- getWindOptions
- show
- hide
- setZIndex
- getZIndex
Constructors ¶
constructor ¶
• new default(data
, options?
): default
Parameters ¶
Name | Type |
---|---|
data | any |
options | Partial <IWindOptions > |
Returns ¶
Overrides ¶
BMap.Overlay.constructor
Defined in ¶
Properties ¶
enableMassClear ¶
• enableMassClear: boolean
Defined in ¶
Methods ¶
appendTo ¶
▸ appendTo(map
): void
append layer to map
Parameters ¶
Name | Type |
---|---|
map | any |
Returns ¶
void
Defined in ¶
initialize ¶
▸ initialize(map
): HTMLCanvasElement
Parameters ¶
Name | Type |
---|---|
map | any |
Returns ¶
HTMLCanvasElement
Defined in ¶
bindEvent ¶
▸ bindEvent(): void
Returns ¶
void
Defined in ¶
unbindEvent ¶
▸ unbindEvent(): void
Returns ¶
void
Defined in ¶
start ¶
▸ start(): void
Returns ¶
void
Defined in ¶
stop ¶
▸ stop(): void
Returns ¶
void
Defined in ¶
draw ¶
▸ draw(): void
Returns ¶
void
Defined in ¶
render ¶
▸ render(canvas
): default
render windy layer
Parameters ¶
Name | Type |
---|---|
canvas | HTMLCanvasElement |
Returns ¶
Defined in ¶
getContainer ¶
▸ getContainer(): null
| HTMLCanvasElement
Returns ¶
null
| HTMLCanvasElement
Defined in ¶
transferToMercator ¶
▸ transferToMercator(coordinates
): [number
, number
]
Parameters ¶
Name | Type |
---|---|
coordinates | [number , number ] |
Returns ¶
[number
, number
]
Defined in ¶
project ¶
▸ project(coordinate
): [number
, number
]
Parameters ¶
Name | Type |
---|---|
coordinate | [number , number ] |
Returns ¶
[number
, number
]
Defined in ¶
unproject ¶
▸ unproject(pixel
): [number
, number
]
Parameters ¶
Name | Type |
---|---|
pixel | [number , number ] |
Returns ¶
[number
, number
]
Defined in ¶
intersectsCoordinate ¶
▸ intersectsCoordinate(coordinate
): boolean
Parameters ¶
Name | Type |
---|---|
coordinate | [number , number ] |
Returns ¶
boolean
Defined in ¶
getData ¶
▸ getData(): undefined
| Field
get wind layer data
Returns ¶
undefined
| Field
Defined in ¶
setData ¶
▸ setData(data
, options?
): default
set layer data
Parameters ¶
Name | Type |
---|---|
data | any |
options | Partial <IField > |
Returns ¶
Defined in ¶
updateParams ¶
▸ updateParams(options?
): default
Parameters ¶
Name | Type |
---|---|
options | Partial <IOptions > |
Returns ¶
Defined in ¶
getParams ¶
▸ getParams(): Partial
<IOptions
>
Returns ¶
Partial
<IOptions
>
Defined in ¶
setWindOptions ¶
▸ setWindOptions(options
): void
Parameters ¶
Name | Type |
---|---|
options | Partial <IOptions > |
Returns ¶
void
Defined in ¶
getWindOptions ¶
▸ getWindOptions(): Partial
<IOptions
>
Returns ¶
Partial
<IOptions
>
Defined in ¶
show ¶
▸ show(): void
Returns ¶
void
Defined in ¶
hide ¶
▸ hide(): void
Returns ¶
void
Defined in ¶
setZIndex ¶
▸ setZIndex(zIndex
): void
Parameters ¶
Name | Type |
---|---|
zIndex | number |
Returns ¶
void
Defined in ¶
getZIndex ¶
▸ getZIndex(): number
Returns ¶
number