ia.PaletteConfig Class
Contains the configuration information for a map palette.
Constructor
ia.PaletteConfig
(
-
data
-
noDataColor
Parameters:
-
data
XMLThe XML data that describes the object.
-
noDataColor
StringThe color used to represent no data values.
Item Index
Methods
getColorPalette
(
ia.ColorPalette
-
id
Returns the color palette that corresponds to the id.
Parameters:
-
id
StringThe id.
Returns:
ia.ColorPalette:
The color palette.
getColorPalettes
()
ia.ColorPalette[]
Returns the color palettes.
Returns:
ia.ColorPalette[]:
A list of color palettes.
getColorScheme
(
ia.ColorPalette
-
id
Returns the color scheme that corresponds to the id.
Parameters:
-
id
StringThe 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: ""