IonWorldImageryStyle.js 541 B

123456789101112131415161718192021222324252627282930313233
  1. // Note, these values map directly to ion asset ids.
  2. /**
  3. * The types of imagery provided by {@link createWorldImagery}.
  4. *
  5. * @enum {number}
  6. */
  7. const IonWorldImageryStyle = {
  8. /**
  9. * Aerial imagery.
  10. *
  11. * @type {number}
  12. * @constant
  13. */
  14. AERIAL: 2,
  15. /**
  16. * Aerial imagery with a road overlay.
  17. *
  18. * @type {number}
  19. * @constant
  20. */
  21. AERIAL_WITH_LABELS: 3,
  22. /**
  23. * Roads without additional imagery.
  24. *
  25. * @type {number}
  26. * @constant
  27. */
  28. ROAD: 4,
  29. };
  30. export default Object.freeze(IonWorldImageryStyle);