Source: Scene/MapMode2D.js

  1. /*global define*/
  2. define([
  3. '../Core/freezeObject'
  4. ], function(
  5. freezeObject) {
  6. 'use strict';
  7. /**
  8. * Describes how the map will operate in 2D.
  9. *
  10. * @exports MapMode2D
  11. */
  12. var MapMode2D = {
  13. /**
  14. * The 2D map can be rotated about the z axis.
  15. *
  16. * @type {Number}
  17. * @constant
  18. */
  19. ROTATE : 0,
  20. /**
  21. * The 2D map can be scrolled infinitely in the horizontal direction.
  22. *
  23. * @type {Number}
  24. * @constant
  25. */
  26. INFINITE_SCROLL : 1
  27. };
  28. return freezeObject(MapMode2D);
  29. });