MapMode2D.js 566 B

12345678910111213141516171819202122232425
  1. import freezeObject from '../Core/freezeObject.js';
  2. /**
  3. * Describes how the map will operate in 2D.
  4. *
  5. * @exports MapMode2D
  6. */
  7. var MapMode2D = {
  8. /**
  9. * The 2D map can be rotated about the z axis.
  10. *
  11. * @type {Number}
  12. * @constant
  13. */
  14. ROTATE : 0,
  15. /**
  16. * The 2D map can be scrolled infinitely in the horizontal direction.
  17. *
  18. * @type {Number}
  19. * @constant
  20. */
  21. INFINITE_SCROLL : 1
  22. };
  23. export default freezeObject(MapMode2D);