-
-
Layer transparency value, the value range is 0.0~1.0. 0.0 means completely transparent; 1.0 means completely opaque.
1.0
-
-
Layer brightness value. A value of 1.0 means to use the original image; values greater than 1.0 will lighten the image; values less than 1.0 will darken the image.
ImageryLayer.DEFAULT_BRIGHTNESS
-
-
Layer contrast. A value of 1.0 means to use the original image; a value greater than 1.0 means to increase the contrast; a value less than 1.0 means to decrease the contrast.
ImageryLayer.DEFAULT_CONTRAST
-
-
When the image request of the child tile fails, the image of the parent tile will be used. Default value: true (when only some of the four child tiles have data, it can be set to false to prevent image confusion)
-
-
Layer gamma correction. A value of 1.0 means to use the original image.
ImageryLayer.DEFAULT_GAMMA
-
-
Layer tint. A value of 0.0 means to use the original image.
ImageryLayer.DEFAULT_HUE
-
indexedDBSetting : Object
-
Get or set whether the indexedDB cache of the image is enabled (IE browser does not support it)
Example:
//Set whether to save the image cache to the browser's indexedDB database
var imageryLayer = viewer.imageryLayers.get(1);
imageryLayer.indexedDBSetting.isOpen = true;
-
-
Get or set the offset when loading the image layer. The offset here refers to the offset on the level of detail. The larger the value, the higher the offset of the detail layer, the finer the loaded image layer and the clearer the image, and the more blurred the image when the value is negative.
Note: The value here can only be set as an integer. The default is 0, no offset.
0
-
-
Get the provider name from the imagery layer.
Example:
var name = ImageryLayer.name;
-
-
Layer saturation. A value of 1.0 means use the original image; a value greater than 1.0 means increase saturation; a value less than 1.0 means decrease saturation.
ImageryLayer.DEFAULT_SATURATION
-
-
Specifies whether the current layer is displayed.
true
-
-
Specifies the image layer split direction
ImagerySplitDirection
, you can control the image layer to be displayed only in the left or right area of the separator.
ImageryLayer.DEFAULT_SPLIT
-
-
Get or set whether to enable the rolling shutter function.
-
-
Get or set the quadrilateral area of the shutter.
-
transparentBackColor : Color
-
Sets the transparent color of the image.
ImageryLayer.DEFAULT_TRANSPARENTBACKCOLOR
-
transparentBackColorTolerance : Number
-
Set the image transparent color tolerance, the value range is 0.0~1.0. 0.0 means opaque.
ImageryLayer.DEFAULT_TRANSPARENTBACKCOLORTOLERANCE