智慧水务管理系统 - 精河县供水工程综合管理平台

123456789101112131415161718192021222324252627282930313233343536373839
  1. // @ts-check
  2. /**
  3. * The direction to display a primitive or ImageryLayer relative to the {@link Scene#splitPosition}.
  4. *
  5. * @enum {number}
  6. *
  7. * @see ImageryLayer#splitDirection
  8. * @see Cesium3DTileset#splitDirection
  9. */
  10. const SplitDirection = {
  11. /**
  12. * Display the primitive or ImageryLayer to the left of the {@link Scene#splitPosition}.
  13. *
  14. * @type {number}
  15. * @constant
  16. */
  17. LEFT: -1.0,
  18. /**
  19. * Always display the primitive or ImageryLayer.
  20. *
  21. * @type {number}
  22. * @constant
  23. */
  24. NONE: 0.0,
  25. /**
  26. * Display the primitive or ImageryLayer to the right of the {@link Scene#splitPosition}.
  27. *
  28. * @type {number}
  29. * @constant
  30. */
  31. RIGHT: 1.0,
  32. };
  33. Object.freeze(SplitDirection);
  34. export default SplitDirection;