Skip to main content

Type Alias: MapTerrainColorsDefinition

MapTerrainColorsDefinition = object

Defined in: src/garminsdk/components/map/controllers/MapTerrainColorsController.ts:10

A map terrain colors definition.

Properties

colors

colors: readonly number[]

Defined in: src/garminsdk/components/map/controllers/MapTerrainColorsController.ts:15

The earth colors array. Index 0 defines the water color, and indexes 1 to the end of the array define the terrain colors.


elevationRange

elevationRange: ReadonlyFloat64Array

Defined in: src/garminsdk/components/map/controllers/MapTerrainColorsController.ts:18

The elevation range over which the terrain colors are applied, as [minimum, maximum] in feet.