Class: default ¶
Hierarchy ¶
default
↳
default
Table of contents ¶
Constructors ¶
Methods ¶
- appendTo
- start
- stop
- canvasFunction
- project
- unproject
- intersectsCoordinate
- getData
- setData
- updateParams
- getParams
- setWindOptions
- getWindOptions
- setMap
- getMap
- getType
Constructors ¶
constructor ¶
• new default(data
, options?
): default
Parameters ¶
Name | Type |
---|---|
data | any |
options | Partial <IWindOptions > |
Returns ¶
Overrides ¶
ImageLayer.constructor
Defined in ¶
Methods ¶
appendTo ¶
▸ appendTo(map
): void
append layer to map
Parameters ¶
Name | Type |
---|---|
map | default |
Returns ¶
void
Defined in ¶
start ¶
▸ start(): void
Returns ¶
void
Defined in ¶
stop ¶
▸ stop(): void
Returns ¶
void
Defined in ¶
canvasFunction ¶
▸ canvasFunction(extent
, resolution
, pixelRatio
, size
, proj
): HTMLCanvasElement
Parameters ¶
Name | Type |
---|---|
extent | Extent |
resolution | number |
pixelRatio | number |
size | Size |
proj | ProjectionLike |
Returns ¶
HTMLCanvasElement
Defined in ¶
project ¶
▸ project(coordinate
): [number
, number
]
Parameters ¶
Name | Type |
---|---|
coordinate | Coordinate |
Returns ¶
[number
, number
]
Defined in ¶
unproject ¶
▸ unproject(pixel
): [number
, number
]
Parameters ¶
Name | Type |
---|---|
pixel | Pixel |
Returns ¶
[number
, number
]
Defined in ¶
intersectsCoordinate ¶
▸ intersectsCoordinate(coordinate
): boolean
Parameters ¶
Name | Type |
---|---|
coordinate | Coordinate |
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 ¶
setMap ¶
▸ setMap(map
): void
set map
Parameters ¶
Name | Type |
---|---|
map | any |
Returns ¶
void
Overrides ¶
ImageLayer.setMap
Defined in ¶
getMap ¶
▸ getMap(): any
get map
Returns ¶
any
Defined in ¶
getType ¶
▸ getType(): LayerType
Returns ¶
LayerType
Overrides ¶
ImageLayer.getType