Show:

ia.PaletteConfig Class

Module: ia

Contains the configuration information for a map palette.

Constructor

ia.PaletteConfig

(
  • data
  • noDataColor
)

Parameters:

  • data XML

    The XML data that describes the object.

  • noDataColor String

    The color used to represent no data values.

Methods

getColorPalette

(
  • id
)
ia.ColorPalette

Returns the color palette that corresponds to the id.

Parameters:

  • id String

    The id.

Returns:

ia.ColorPalette: The color palette.

getColorPalettes

() ia.ColorPalette[]

Returns the color palettes.

Returns:

ia.ColorPalette[]: A list of color palettes.

getColorScheme

(
  • id
)
ia.ColorPalette

Returns the color scheme that corresponds to the id.

Parameters:

  • id String

    The id.

Returns:

ia.ColorPalette: The color scheme.

getColorSchemes

() ia.ColorPalette[]

Returns the color schemes.

Returns:

ia.ColorPalette[]: A list of color schemes.

Properties

defaultPaletteId

String

The default palette id.

Default: ""

defaultSchemeId

String

The default scheme id.

Default: ""

maxNoClasses

Number

The maximum number of classes.

Default: 10

noClasses

Number

The number of classes.

Default: 5

noDataValue

String

The no data value.

Default: ""