Skip to content

Class: WindLayer

Hierarchy

  • "maptalks"

    WindLayer

Table of contents

Constructors

Methods

Constructors

constructor

new WindLayer(id, data, options?): WindLayer

Parameters

NameType
idstring | number
dataany
optionsany

Returns

WindLayer

Overrides

CanvasLayer.constructor

Defined in

maptalks/src/Canvas.ts:193

Methods

getData

getData(): undefined | Field

get wind layer data

Returns

undefined | Field

Defined in

maptalks/src/Canvas.ts:223


setData

setData(data, options?): WindLayer

set layer data

Parameters

NameType
dataany
optionsPartial<IField>

Returns

WindLayer

Defined in

maptalks/src/Canvas.ts:233


setWindOptions

setWindOptions(options): void

Parameters

NameType
optionsPartial<IOptions>

Returns

void

Defined in

maptalks/src/Canvas.ts:250


getWindOptions

getWindOptions(): Partial<IOptions>

Returns

Partial<IOptions>

Defined in

maptalks/src/Canvas.ts:263


draw

draw(): WindLayer

Returns

WindLayer

Defined in

maptalks/src/Canvas.ts:267


prepareToDraw

prepareToDraw(): never[]

Returns

never[]

Defined in

maptalks/src/Canvas.ts:274


drawOnInteracting

drawOnInteracting(): void

Returns

void

Defined in

maptalks/src/Canvas.ts:278

Released under the MIT License.