com.supermap.mapping
Class MapColorMode
- java.lang.Object
-
- com.supermap.data.Enum
-
- com.supermap.mapping.MapColorMode
-
public final class MapColorMode extends Enum
This class defines the constants representing the types of map color modes.The color pattern is for map display only and works only for vector elements. While converting between color modes, the thematic style will not change. The color modes are converted according to the thematic style of the map. SuperMap iMobile provides five color modes when setting the map style.
-
-
Field Summary
Fields Modifier and Type Field and Description static MapColorMode
BLACK_WHITE_REVERSE
Black and white reverse color mode.static MapColorMode
BLACKWHITE
Black and white color mode.static MapColorMode
DEFAULT
The default color mode.static MapColorMode
GRAY
Gray color mode.static MapColorMode
ONLY_BLACK_WHITE_REVERSE
Black and white reverse.
-
-
-
Field Detail
-
DEFAULT
public static final MapColorMode DEFAULT
The default color mode. Here the enhanced true color is used. The color is stored with 32-bit, with each of the red, green, blue and alpha component stored with 8-bit.
-
BLACKWHITE
public static final MapColorMode BLACKWHITE
Black and white color mode. In this mode, two colors, namely black and white, are used to display the map. Features with white color will remain unchanged, while others will be displayed with black.
-
GRAY
public static final MapColorMode GRAY
Gray color mode. According to the feature's color style of the thematic layer, the gray color value of a feature is calculated by assigning different weights to the red, green, blue components.
-
BLACK_WHITE_REVERSE
public static final MapColorMode BLACK_WHITE_REVERSE
Black and white reverse color mode. In this mode, features with black color will change to white color, while others will be displayed with black.
-
ONLY_BLACK_WHITE_REVERSE
public static final MapColorMode ONLY_BLACK_WHITE_REVERSE
Black and white reverse. The other colors do not change. Features with white color will change to black and black will be displayed with white. The features with other colors will remain unchanged when displayed in the map window.
-
-