Skip to main content

Class: MapWindVectorModule

Defined in: src/garminsdk/components/map/modules/MapWindVectorModule.ts:7

A module describing the wind vector.

Constructors​

Constructor​

new MapWindVectorModule(dataProvider): MapWindVectorModule

Defined in: src/garminsdk/components/map/modules/MapWindVectorModule.ts:24

Creates a new instance of MapWindModule.

Parameters​

ParameterTypeDescription
dataProviderWindDataProviderA provider of wind data.

Returns​

MapWindVectorModule

Properties​

isDataFailed​

readonly isDataFailed: Subscribable<boolean>

Defined in: src/garminsdk/components/map/modules/MapWindVectorModule.ts:18

Whether wind data is in a failed state.


show​

readonly show: Subject<boolean>

Defined in: src/garminsdk/components/map/modules/MapWindVectorModule.ts:9

Whether to show the wind vector.


windDirection​

readonly windDirection: Subscribable<number>

Defined in: src/garminsdk/components/map/modules/MapWindVectorModule.ts:12

The current wind direction, in degrees true.


windSpeed​

readonly windSpeed: Subscribable<number>

Defined in: src/garminsdk/components/map/modules/MapWindVectorModule.ts:15

The current wind speed, in knots.