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
| Parameter | Type | Description |
|---|---|---|
dataProvider | WindDataProvider | A provider of wind data. |
Returns
MapWindVectorModule
Properties
isDataFailed
readonlyisDataFailed:Subscribable<boolean>
Defined in: src/garminsdk/components/map/modules/MapWindVectorModule.ts:18
Whether wind data is in a failed state.
show
readonlyshow:Subject<boolean>
Defined in: src/garminsdk/components/map/modules/MapWindVectorModule.ts:9
Whether to show the wind vector.
windDirection
readonlywindDirection:Subscribable<number>
Defined in: src/garminsdk/components/map/modules/MapWindVectorModule.ts:12
The current wind direction, in degrees true.
windSpeed
readonlywindSpeed:Subscribable<number>
Defined in: src/garminsdk/components/map/modules/MapWindVectorModule.ts:15
The current wind speed, in knots.