42 lines
937 B
JavaScript
42 lines
937 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);
|
||
|
|
});
|