Skip to content

Class: default

Hierarchy

  • default

    default

Table of contents

Constructors

Methods

Constructors

constructor

new default(data, options?): default

Parameters

NameType
dataany
optionsPartial<IWindOptions>

Returns

default

Overrides

ImageLayer.constructor

Defined in

ol5/src/index.ts:42

Methods

appendTo

appendTo(map): void

append layer to map

Parameters

NameType
mapdefault

Returns

void

Defined in

ol5/src/index.ts:82


start

start(): void

Returns

void

Defined in

ol5/src/index.ts:90


stop

stop(): void

Returns

void

Defined in

ol5/src/index.ts:96


canvasFunction

canvasFunction(extent, resolution, pixelRatio, size, proj): HTMLCanvasElement

Parameters

NameType
extentExtent
resolutionnumber
pixelRationumber
sizeSize
projProjectionLike

Returns

HTMLCanvasElement

Defined in

ol5/src/index.ts:102


project

project(coordinate): [number, number]

Parameters

NameType
coordinateCoordinate

Returns

[number, number]

Defined in

ol5/src/index.ts:163


unproject

unproject(pixel): [number, number]

Parameters

NameType
pixelPixel

Returns

[number, number]

Defined in

ol5/src/index.ts:169


intersectsCoordinate

intersectsCoordinate(coordinate): boolean

Parameters

NameType
coordinateCoordinate

Returns

boolean

Defined in

ol5/src/index.ts:175


getData

getData(): undefined | Field

get wind layer data

Returns

undefined | Field

Defined in

ol5/src/index.ts:202


setData

setData(data, options?): default

set layer data

Parameters

NameType
dataany
optionsPartial<IField>

Returns

default

Defined in

ol5/src/index.ts:212


updateParams

updateParams(options?): default

Parameters

NameType
optionsPartial<IOptions>

Returns

default

Defined in

ol5/src/index.ts:231


getParams

getParams(): Partial<IOptions>

Returns

Partial<IOptions>

Defined in

ol5/src/index.ts:237


setWindOptions

setWindOptions(options): void

Parameters

NameType
optionsPartial<IOptions>

Returns

void

Defined in

ol5/src/index.ts:242


getWindOptions

getWindOptions(): Partial<IOptions>

Returns

Partial<IOptions>

Defined in

ol5/src/index.ts:254


setMap

setMap(map): void

set map

Parameters

NameType
mapany

Returns

void

Overrides

ImageLayer.setMap

Defined in

ol5/src/index.ts:274


getMap

getMap(): any

get map

Returns

any

Defined in

ol5/src/index.ts:286


getType

getType(): LayerType

Returns

LayerType

Overrides

ImageLayer.getType

Defined in

ol5/src/index.ts:290

Released under the MIT License.