MapMode2D.js 399 B

1234567891011121314151617181920212223
  1. /**
  2. * Describes how the map will operate in 2D.
  3. *
  4. * @enum {number}
  5. */
  6. const MapMode2D = {
  7. /**
  8. * The 2D map can be rotated about the z axis.
  9. *
  10. * @type {number}
  11. * @constant
  12. */
  13. ROTATE: 0,
  14. /**
  15. * The 2D map can be scrolled infinitely in the horizontal direction.
  16. *
  17. * @type {number}
  18. * @constant
  19. */
  20. INFINITE_SCROLL: 1,
  21. };
  22. export default Object.freeze(MapMode2D);