UNPKG

cesium

Version:

CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.

34 lines (31 loc) 659 B
/** * The direction to display an ImageryLayer relative to the {@link Scene#imagerySplitPosition}. * * @enum {Number} * * @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);