cesium
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
42 lines (37 loc) • 978 B
JavaScript
define([
'../Core/freezeObject'
], function(
freezeObject) {
'use strict';
/**
* 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
};
return freezeObject(ImagerySplitDirection);
});