cesium
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
35 lines (31 loc) • 838 B
JavaScript
/**
* The direction to display an ImageryLayer relative to the {@link Scene#imagerySplitPosition}.
*
* @exports ImagerySplitDirection
*
* @see ImageryLayer#splitDirection
*/
var ImagerySplitDirection = {
/**
* Display the ImageryLayer to the left of the {@link Scene#imagerySplitPosition}.
*
* @type {Number}
* @constant
*/
LEFT : -1.0,
/**
* Always display the ImageryLayer.
*
* @type {Number}
* @constant
*/
NONE: 0.0,
/**
* Display the ImageryLayer to the right of the {@link Scene#imagerySplitPosition}.
*
* @type {Number}
* @constant
*/
RIGHT : 1.0
};
export default Object.freeze(ImagerySplitDirection);