cesium
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
25 lines (22 loc) • 515 B
JavaScript
/**
* Describes how the map will operate in 2D.
*
* @exports MapMode2D
*/
var MapMode2D = {
/**
* The 2D map can be rotated about the z axis.
*
* @type {Number}
* @constant
*/
ROTATE : 0,
/**
* The 2D map can be scrolled infinitely in the horizontal direction.
*
* @type {Number}
* @constant
*/
INFINITE_SCROLL : 1
};
export default Object.freeze(MapMode2D);