@cesium/engine 2.4.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/Build/Workers/cesiumWorkerBootstrapper.js +1 -1
  2. package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -22
  3. package/Build/Workers/package.js +1 -1
  4. package/Build/Workers/transferTypedArrayTest.js +1 -1
  5. package/Source/Core/ArcGISTiledElevationTerrainProvider.js +0 -75
  6. package/Source/Core/CesiumTerrainProvider.js +0 -75
  7. package/Source/Core/CustomHeightmapTerrainProvider.js +0 -38
  8. package/Source/Core/EllipsoidTerrainProvider.js +0 -37
  9. package/Source/Core/GoogleEarthEnterpriseMetadata.js +0 -53
  10. package/Source/Core/GoogleEarthEnterpriseTerrainProvider.js +1 -101
  11. package/Source/Core/GoogleMaps.js +1 -1
  12. package/Source/Core/Ion.js +1 -2
  13. package/Source/Core/TerrainProvider.js +0 -22
  14. package/Source/Core/VRTheWorldTerrainProvider.js +0 -59
  15. package/Source/Core/sampleTerrain.js +0 -7
  16. package/Source/Core/sampleTerrainMostDetailed.js +0 -7
  17. package/Source/DataSources/Cesium3DTilesetVisualizer.js +6 -5
  18. package/Source/DataSources/KmlTour.js +1 -12
  19. package/Source/DataSources/ModelVisualizer.js +0 -12
  20. package/Source/Renderer/Context.js +10 -2
  21. package/Source/Scene/ArcGisMapServerImageryProvider.js +7 -335
  22. package/Source/Scene/ArcGisMapService.js +1 -1
  23. package/Source/Scene/Billboard.js +7 -0
  24. package/Source/Scene/BingMapsImageryProvider.js +0 -326
  25. package/Source/Scene/Camera.js +1 -1
  26. package/Source/Scene/Cesium3DTile.js +4 -5
  27. package/Source/Scene/Cesium3DTileContent.js +0 -16
  28. package/Source/Scene/Cesium3DTilesVoxelProvider.js +0 -123
  29. package/Source/Scene/Cesium3DTileset.js +183 -184
  30. package/Source/Scene/Cesium3DTilesetBaseTraversal.js +1 -1
  31. package/Source/Scene/Cesium3DTilesetCache.js +1 -3
  32. package/Source/Scene/Cesium3DTilesetSkipTraversal.js +5 -2
  33. package/Source/Scene/Cesium3DTilesetTraversal.js +2 -2
  34. package/Source/Scene/ClassificationPrimitive.js +5 -43
  35. package/Source/Scene/Composite3DTileContent.js +0 -27
  36. package/Source/Scene/CreditDisplay.js +0 -54
  37. package/Source/Scene/DerivedCommand.js +15 -10
  38. package/Source/Scene/Empty3DTileContent.js +0 -21
  39. package/Source/Scene/Geometry3DTileContent.js +0 -29
  40. package/Source/Scene/Globe.js +1 -9
  41. package/Source/Scene/GlobeSurfaceTile.js +13 -8
  42. package/Source/Scene/GlobeSurfaceTileProvider.js +8 -60
  43. package/Source/Scene/GltfPipeline/removeUnusedElements.js +27 -0
  44. package/Source/Scene/GltfPipeline/updateVersion.js +21 -4
  45. package/Source/Scene/GoogleEarthEnterpriseImageryProvider.js +1 -339
  46. package/Source/Scene/GoogleEarthEnterpriseMapsProvider.js +0 -326
  47. package/Source/Scene/GridImageryProvider.js +0 -274
  48. package/Source/Scene/GroundPolylinePrimitive.js +5 -38
  49. package/Source/Scene/GroundPrimitive.js +5 -43
  50. package/Source/Scene/I3SDataProvider.js +4 -99
  51. package/Source/Scene/I3SLayer.js +15 -22
  52. package/Source/Scene/Imagery.js +1 -9
  53. package/Source/Scene/ImageryLayer.js +1 -40
  54. package/Source/Scene/ImageryProvider.js +0 -138
  55. package/Source/Scene/Implicit3DTileContent.js +0 -23
  56. package/Source/Scene/IonImageryProvider.js +1 -369
  57. package/Source/Scene/MapboxImageryProvider.js +0 -276
  58. package/Source/Scene/MapboxStyleImageryProvider.js +0 -274
  59. package/Source/Scene/Model/Model.js +6 -249
  60. package/Source/Scene/Model/Model3DTileContent.js +0 -50
  61. package/Source/Scene/Model/ModelAnimationCollection.js +1 -1
  62. package/Source/Scene/Model/PointCloudStylingPipelineStage.js +1 -1
  63. package/Source/Scene/Multiple3DTileContent.js +0 -27
  64. package/Source/Scene/Primitive.js +10 -38
  65. package/Source/Scene/QuadtreePrimitive.js +3 -5
  66. package/Source/Scene/QuadtreeTileProvider.js +0 -10
  67. package/Source/Scene/Scene.js +3 -3
  68. package/Source/Scene/ScreenSpaceCameraController.js +5 -5
  69. package/Source/Scene/SingleTileImageryProvider.js +6 -302
  70. package/Source/Scene/TileCoordinatesImageryProvider.js +0 -273
  71. package/Source/Scene/TileMapServiceImageryProvider.js +3 -48
  72. package/Source/Scene/Tileset3DTileContent.js +0 -22
  73. package/Source/Scene/TimeDynamicPointCloud.js +0 -28
  74. package/Source/Scene/UrlTemplateImageryProvider.js +0 -375
  75. package/Source/Scene/Vector3DTileContent.js +0 -29
  76. package/Source/Scene/VoxelPrimitive.js +9 -49
  77. package/Source/Scene/VoxelProvider.js +0 -24
  78. package/Source/Scene/WebMapServiceImageryProvider.js +0 -274
  79. package/Source/Scene/WebMapTileServiceImageryProvider.js +0 -274
  80. package/Source/Scene/computeFlyToLocationForRectangle.js +0 -6
  81. package/Source/Scene/createGooglePhotorealistic3DTileset.js +5 -0
  82. package/Source/Widget/CesiumWidget.js +2 -19
  83. package/index.d.ts +62 -1183
  84. package/index.js +54 -57
  85. package/package.json +2 -2
  86. package/Source/Core/createWorldTerrain.js +0 -61
  87. package/Source/Scene/createOsmBuildings.js +0 -82
  88. package/Source/Scene/createWorldImagery.js +0 -47
@@ -3,8 +3,6 @@ import Check from "../Core/Check.js";
3
3
  import Credit from "../Core/Credit.js";
4
4
  import defaultValue from "../Core/defaultValue.js";
5
5
  import defined from "../Core/defined.js";
6
- import deprecationWarning from "../Core/deprecationWarning.js";
7
- import DeveloperError from "../Core/DeveloperError.js";
8
6
  import Event from "../Core/Event.js";
9
7
  import GeographicTilingScheme from "../Core/GeographicTilingScheme.js";
10
8
  import Rectangle from "../Core/Rectangle.js";
@@ -19,7 +17,6 @@ import ImageryProvider from "./ImageryProvider.js";
19
17
  *
20
18
  * Initialization options for the GoogleEarthEnterpriseMapsProvider constructor
21
19
  *
22
- * @property {Resource|string} [url] The url of the Google Earth server hosting the imagery. Deprecated.
23
20
  * @property {number} channel The channel (id) to be used when requesting data from the server.
24
21
  * The channel number can be found by looking at the json file located at:
25
22
  * earth.localdomain/default_map/query?request=Json&vars=geeServerDefs The /default_map path may
@@ -233,57 +230,6 @@ function GoogleEarthEnterpriseMapsProvider(options) {
233
230
  this._maximumLevel = options.maximumLevel;
234
231
 
235
232
  this._errorEvent = new Event();
236
-
237
- if (defined(options.url) || defined(options.channel)) {
238
- //>>includeStart('debug', pragmas.debug);
239
- if (!defined(options.url)) {
240
- throw new DeveloperError("options.url is required.");
241
- }
242
- if (!defined(options.channel)) {
243
- throw new DeveloperError("options.channel is required.");
244
- }
245
- //>>includeEnd('debug');
246
-
247
- deprecationWarning(
248
- "GoogleEarthEnterpriseMapsProvider.url",
249
- "GoogleEarthEnterpriseMapsProvider.url and GoogleEarthEnterpriseMapsProvider.channel were deprecated in CesiumJS 1.104. They will be in CesiumJS 1.107. Use GoogleEarthEnterpriseMapsProvider.fromUrl instead."
250
- );
251
-
252
- const url = options.url;
253
- const path = defaultValue(options.path, "/default_map");
254
-
255
- const resource = Resource.createIfNeeded(url).getDerivedResource({
256
- // We used to just append path to url, so now that we do proper URI resolution, removed the /
257
- url: path[0] === "/" ? path.substring(1) : path,
258
- });
259
-
260
- resource.appendForwardSlash();
261
-
262
- this._resource = resource;
263
- this._url = url;
264
- this._path = path;
265
-
266
- this._ready = false;
267
- const metadataResource = resource.getDerivedResource({
268
- url: "query",
269
- queryParameters: {
270
- request: "Json",
271
- vars: "geeServerDefs",
272
- is2d: "t",
273
- },
274
- });
275
-
276
- const imageryProviderBuilder = new ImageryProviderBuilder(options);
277
- this._readyPromise = requestMetadata(
278
- metadataResource,
279
- imageryProviderBuilder,
280
- this
281
- ).then(() => {
282
- imageryProviderBuilder.build(this);
283
- this._ready = true;
284
- return true;
285
- });
286
- }
287
233
  }
288
234
 
289
235
  Object.defineProperties(GoogleEarthEnterpriseMapsProvider.prototype, {
@@ -458,40 +404,6 @@ Object.defineProperties(GoogleEarthEnterpriseMapsProvider.prototype, {
458
404
  },
459
405
  },
460
406
 
461
- /**
462
- * Gets a value indicating whether or not the provider is ready for use.
463
- * @memberof GoogleEarthEnterpriseMapsProvider.prototype
464
- * @type {boolean}
465
- * @readonly
466
- * @deprecated
467
- */
468
- ready: {
469
- get: function () {
470
- deprecationWarning(
471
- "GoogleEarthEnterpriseMapsProvider.ready",
472
- "GoogleEarthEnterpriseMapsProvider.ready was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use GoogleEarthEnterpriseMapsProvider.fromUrl instead."
473
- );
474
- return this._ready;
475
- },
476
- },
477
-
478
- /**
479
- * Gets a promise that resolves to true when the provider is ready for use.
480
- * @memberof GoogleEarthEnterpriseMapsProvider.prototype
481
- * @type {Promise<boolean>}
482
- * @readonly
483
- * @deprecated
484
- */
485
- readyPromise: {
486
- get: function () {
487
- deprecationWarning(
488
- "GoogleEarthEnterpriseMapsProvider.readyPromise",
489
- "GoogleEarthEnterpriseMapsProvider.readyPromise was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use GoogleEarthEnterpriseMapsProvider.fromUrl instead."
490
- );
491
- return this._readyPromise;
492
- },
493
- },
494
-
495
407
  /**
496
408
  * Gets the credit to display when this imagery provider is active. Typically this is used to credit
497
409
  * the source of the imagery.
@@ -520,242 +432,6 @@ Object.defineProperties(GoogleEarthEnterpriseMapsProvider.prototype, {
520
432
  return true;
521
433
  },
522
434
  },
523
-
524
- /**
525
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
526
- * 1.0 representing fully opaque.
527
- * @memberof GoogleEarthEnterpriseMapsProvider.prototype
528
- * @type {Number|undefined}
529
- * @deprecated
530
- */
531
- defaultAlpha: {
532
- get: function () {
533
- deprecationWarning(
534
- "GoogleEarthEnterpriseMapsProvider.defaultAlpha",
535
- "GoogleEarthEnterpriseMapsProvider.defaultAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.alpha instead."
536
- );
537
- return this._defaultAlpha;
538
- },
539
- set: function (value) {
540
- deprecationWarning(
541
- "GoogleEarthEnterpriseMapsProvider.defaultAlpha",
542
- "GoogleEarthEnterpriseMapsProvider.defaultAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.alpha instead."
543
- );
544
- this._defaultAlpha = value;
545
- },
546
- },
547
-
548
- /**
549
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
550
- * 1.0 representing fully opaque.
551
- * @memberof GoogleEarthEnterpriseMapsProvider.prototype
552
- * @type {Number|undefined}
553
- * @deprecated
554
- */
555
- defaultNightAlpha: {
556
- get: function () {
557
- deprecationWarning(
558
- "GoogleEarthEnterpriseMapsProvider.defaultNightAlpha",
559
- "GoogleEarthEnterpriseMapsProvider.defaultNightAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.nightAlpha instead."
560
- );
561
- return this.defaultNightAlpha;
562
- },
563
- set: function (value) {
564
- deprecationWarning(
565
- "GoogleEarthEnterpriseMapsProvider.defaultNightAlpha",
566
- "GoogleEarthEnterpriseMapsProvider.defaultNightAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.nightAlpha instead."
567
- );
568
- this.defaultNightAlpha = value;
569
- },
570
- },
571
-
572
- /**
573
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
574
- * 1.0 representing fully opaque.
575
- * @memberof GoogleEarthEnterpriseMapsProvider.prototype
576
- * @type {Number|undefined}
577
- * @deprecated
578
- */
579
- defaultDayAlpha: {
580
- get: function () {
581
- deprecationWarning(
582
- "GoogleEarthEnterpriseMapsProvider.defaultDayAlpha",
583
- "GoogleEarthEnterpriseMapsProvider.defaultDayAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.dayAlpha instead."
584
- );
585
- return this._defaultDayAlpha;
586
- },
587
- set: function (value) {
588
- deprecationWarning(
589
- "GoogleEarthEnterpriseMapsProvider.defaultDayAlpha",
590
- "GoogleEarthEnterpriseMapsProvider.defaultDayAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.dayAlpha instead."
591
- );
592
- this._defaultDayAlpha = value;
593
- },
594
- },
595
-
596
- /**
597
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
598
- * makes the imagery darker while greater than 1.0 makes it brighter.
599
- * @memberof GoogleEarthEnterpriseMapsProvider.prototype
600
- * @type {Number|undefined}
601
- * @deprecated
602
- */
603
- defaultBrightness: {
604
- get: function () {
605
- deprecationWarning(
606
- "GoogleEarthEnterpriseMapsProvider.defaultBrightness",
607
- "GoogleEarthEnterpriseMapsProvider.defaultBrightness was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.brightness instead."
608
- );
609
- return this._defaultBrightness;
610
- },
611
- set: function (value) {
612
- deprecationWarning(
613
- "GoogleEarthEnterpriseMapsProvider.defaultBrightness",
614
- "GoogleEarthEnterpriseMapsProvider.defaultBrightness was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.brightness instead."
615
- );
616
- this._defaultBrightness = value;
617
- },
618
- },
619
-
620
- /**
621
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
622
- * the contrast while greater than 1.0 increases it.
623
- * @memberof GoogleEarthEnterpriseMapsProvider.prototype
624
- * @type {Number|undefined}
625
- * @deprecated
626
- */
627
- defaultContrast: {
628
- get: function () {
629
- deprecationWarning(
630
- "GoogleEarthEnterpriseMapsProvider.defaultContrast",
631
- "GoogleEarthEnterpriseMapsProvider.defaultContrast was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.contrast instead."
632
- );
633
- return this._defaultContrast;
634
- },
635
- set: function (value) {
636
- deprecationWarning(
637
- "GoogleEarthEnterpriseMapsProvider.defaultContrast",
638
- "GoogleEarthEnterpriseMapsProvider.defaultContrast was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.contrast instead."
639
- );
640
- this._defaultContrast = value;
641
- },
642
- },
643
-
644
- /**
645
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
646
- * @memberof GoogleEarthEnterpriseMapsProvider.prototype
647
- * @type {Number|undefined}
648
- * @deprecated
649
- */
650
- defaultHue: {
651
- get: function () {
652
- deprecationWarning(
653
- "GoogleEarthEnterpriseMapsProvider.defaultHue",
654
- "GoogleEarthEnterpriseMapsProvider.defaultHue was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.hue instead."
655
- );
656
- return this._defaultHue;
657
- },
658
- set: function (value) {
659
- deprecationWarning(
660
- "GoogleEarthEnterpriseMapsProvider.defaultHue",
661
- "GoogleEarthEnterpriseMapsProvider.defaultHue was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.hue instead."
662
- );
663
- this._defaultHue = value;
664
- },
665
- },
666
-
667
- /**
668
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
669
- * saturation while greater than 1.0 increases it.
670
- * @memberof GoogleEarthEnterpriseMapsProvider.prototype
671
- * @type {Number|undefined}
672
- * @deprecated
673
- */
674
- defaultSaturation: {
675
- get: function () {
676
- deprecationWarning(
677
- "GoogleEarthEnterpriseMapsProvider.defaultSaturation",
678
- "GoogleEarthEnterpriseMapsProvider.defaultSaturation was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.saturation instead."
679
- );
680
- return this._defaultSaturation;
681
- },
682
- set: function (value) {
683
- deprecationWarning(
684
- "GoogleEarthEnterpriseMapsProvider.defaultSaturation",
685
- "GoogleEarthEnterpriseMapsProvider.defaultSaturation was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.saturation instead."
686
- );
687
- this._defaultSaturation = value;
688
- },
689
- },
690
-
691
- /**
692
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
693
- * @memberof GoogleEarthEnterpriseMapsProvider.prototype
694
- * @type {Number|undefined}
695
- * @deprecated
696
- */
697
- defaultGamma: {
698
- get: function () {
699
- deprecationWarning(
700
- "GoogleEarthEnterpriseMapsProvider.defaultGamma",
701
- "GoogleEarthEnterpriseMapsProvider.defaultGamma was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.gamma instead."
702
- );
703
- return this._defaultGamma;
704
- },
705
- set: function (value) {
706
- deprecationWarning(
707
- "GoogleEarthEnterpriseMapsProvider.defaultGamma",
708
- "GoogleEarthEnterpriseMapsProvider.defaultGamma was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.gamma instead."
709
- );
710
- this._defaultGamma = value;
711
- },
712
- },
713
-
714
- /**
715
- * The default texture minification filter to apply to this provider.
716
- * @memberof GoogleEarthEnterpriseMapsProvider.prototype
717
- * @type {TextureMinificationFilter}
718
- * @deprecated
719
- */
720
- defaultMinificationFilter: {
721
- get: function () {
722
- deprecationWarning(
723
- "GoogleEarthEnterpriseMapsProvider.defaultMinificationFilter",
724
- "GoogleEarthEnterpriseMapsProvider.defaultMinificationFilter was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.minificationFilter instead."
725
- );
726
- return this._defaultMinificationFilter;
727
- },
728
- set: function (value) {
729
- deprecationWarning(
730
- "GoogleEarthEnterpriseMapsProvider.defaultMinificationFilter",
731
- "GoogleEarthEnterpriseMapsProvider.defaultMinificationFilter was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.minificationFilter instead."
732
- );
733
- this._defaultMinificationFilter = value;
734
- },
735
- },
736
-
737
- /**
738
- * The default texture magnification filter to apply to this provider.
739
- * @memberof GoogleEarthEnterpriseMapsProvider.prototype
740
- * @type {TextureMagnificationFilter}
741
- * @deprecated
742
- */
743
- defaultMagnificationFilter: {
744
- get: function () {
745
- deprecationWarning(
746
- "GoogleEarthEnterpriseMapsProvider.defaultMagnificationFilter",
747
- "GoogleEarthEnterpriseMapsProvider.defaultMagnificationFilter was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.magnificationFilter instead."
748
- );
749
- return this._defaultMagnificationFilter;
750
- },
751
- set: function (value) {
752
- deprecationWarning(
753
- "GoogleEarthEnterpriseMapsProvider.defaultMagnificationFilter",
754
- "GoogleEarthEnterpriseMapsProvider.defaultMagnificationFilter was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.magnificationFilter instead."
755
- );
756
- this._defaultMagnificationFilter = value;
757
- },
758
- },
759
435
  });
760
436
 
761
437
  /**
@@ -809,8 +485,6 @@ GoogleEarthEnterpriseMapsProvider.fromUrl = async function (
809
485
  const provider = new GoogleEarthEnterpriseMapsProvider(options);
810
486
  imageryProviderBuilder.build(provider);
811
487
 
812
- provider._readyPromise = Promise.resolve(true);
813
- provider._ready = true;
814
488
  provider._resource = resource;
815
489
  provider._url = url;
816
490
  provider._path = path;
@@ -1,7 +1,6 @@
1
1
  import Color from "../Core/Color.js";
2
2
  import defaultValue from "../Core/defaultValue.js";
3
3
  import defined from "../Core/defined.js";
4
- import deprecationWarning from "../Core/deprecationWarning.js";
5
4
  import Event from "../Core/Event.js";
6
5
  import GeographicTilingScheme from "../Core/GeographicTilingScheme.js";
7
6
 
@@ -73,9 +72,6 @@ function GridImageryProvider(options) {
73
72
 
74
73
  // We only need a single canvas since all tiles will be the same
75
74
  this._canvas = this._createGridCanvas();
76
-
77
- this._ready = true;
78
- this._readyPromise = Promise.resolve(true);
79
75
  }
80
76
 
81
77
  Object.defineProperties(GridImageryProvider.prototype, {
@@ -191,40 +187,6 @@ Object.defineProperties(GridImageryProvider.prototype, {
191
187
  },
192
188
  },
193
189
 
194
- /**
195
- * Gets a value indicating whether or not the provider is ready for use.
196
- * @memberof GridImageryProvider.prototype
197
- * @type {boolean}
198
- * @readonly
199
- * @deprecated
200
- */
201
- ready: {
202
- get: function () {
203
- deprecationWarning(
204
- "GridImageryProvider.ready",
205
- "GridImageryProvider.ready was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107."
206
- );
207
- return true;
208
- },
209
- },
210
-
211
- /**
212
- * Gets a promise that resolves to true when the provider is ready for use.
213
- * @memberof GridImageryProvider.prototype
214
- * @type {Promise<boolean>}
215
- * @readonly
216
- * @deprecated
217
- */
218
- readyPromise: {
219
- get: function () {
220
- deprecationWarning(
221
- "GridImageryProvider.readyPromise",
222
- "GridImageryProvider.readyPromise was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107."
223
- );
224
- return this._readyPromise;
225
- },
226
- },
227
-
228
190
  /**
229
191
  * Gets the credit to display when this imagery provider is active. Typically this is used to credit
230
192
  * the source of the imagery.
@@ -253,242 +215,6 @@ Object.defineProperties(GridImageryProvider.prototype, {
253
215
  return true;
254
216
  },
255
217
  },
256
-
257
- /**
258
- * The default alpha blending value of this provider, with 0.0 representing fully transparent and
259
- * 1.0 representing fully opaque.
260
- * @memberof GridImageryProvider.prototype
261
- * @type {Number|undefined}
262
- * @deprecated
263
- */
264
- defaultAlpha: {
265
- get: function () {
266
- deprecationWarning(
267
- "GridImageryProvider.defaultAlpha",
268
- "GridImageryProvider.defaultAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.alpha instead."
269
- );
270
- return this._defaultAlpha;
271
- },
272
- set: function (value) {
273
- deprecationWarning(
274
- "GridImageryProvider.defaultAlpha",
275
- "GridImageryProvider.defaultAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.alpha instead."
276
- );
277
- this._defaultAlpha = value;
278
- },
279
- },
280
-
281
- /**
282
- * The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
283
- * 1.0 representing fully opaque.
284
- * @memberof GridImageryProvider.prototype
285
- * @type {Number|undefined}
286
- * @deprecated
287
- */
288
- defaultNightAlpha: {
289
- get: function () {
290
- deprecationWarning(
291
- "GridImageryProvider.defaultNightAlpha",
292
- "GridImageryProvider.defaultNightAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.nightAlpha instead."
293
- );
294
- return this.defaultNightAlpha;
295
- },
296
- set: function (value) {
297
- deprecationWarning(
298
- "GridImageryProvider.defaultNightAlpha",
299
- "GridImageryProvider.defaultNightAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.nightAlpha instead."
300
- );
301
- this.defaultNightAlpha = value;
302
- },
303
- },
304
-
305
- /**
306
- * The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
307
- * 1.0 representing fully opaque.
308
- * @memberof GridImageryProvider.prototype
309
- * @type {Number|undefined}
310
- * @deprecated
311
- */
312
- defaultDayAlpha: {
313
- get: function () {
314
- deprecationWarning(
315
- "GridImageryProvider.defaultDayAlpha",
316
- "GridImageryProvider.defaultDayAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.dayAlpha instead."
317
- );
318
- return this._defaultDayAlpha;
319
- },
320
- set: function (value) {
321
- deprecationWarning(
322
- "GridImageryProvider.defaultDayAlpha",
323
- "GridImageryProvider.defaultDayAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.dayAlpha instead."
324
- );
325
- this._defaultDayAlpha = value;
326
- },
327
- },
328
-
329
- /**
330
- * The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
331
- * makes the imagery darker while greater than 1.0 makes it brighter.
332
- * @memberof GridImageryProvider.prototype
333
- * @type {Number|undefined}
334
- * @deprecated
335
- */
336
- defaultBrightness: {
337
- get: function () {
338
- deprecationWarning(
339
- "GridImageryProvider.defaultBrightness",
340
- "GridImageryProvider.defaultBrightness was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.brightness instead."
341
- );
342
- return this._defaultBrightness;
343
- },
344
- set: function (value) {
345
- deprecationWarning(
346
- "GridImageryProvider.defaultBrightness",
347
- "GridImageryProvider.defaultBrightness was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.brightness instead."
348
- );
349
- this._defaultBrightness = value;
350
- },
351
- },
352
-
353
- /**
354
- * The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
355
- * the contrast while greater than 1.0 increases it.
356
- * @memberof GridImageryProvider.prototype
357
- * @type {Number|undefined}
358
- * @deprecated
359
- */
360
- defaultContrast: {
361
- get: function () {
362
- deprecationWarning(
363
- "GridImageryProvider.defaultContrast",
364
- "GridImageryProvider.defaultContrast was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.contrast instead."
365
- );
366
- return this._defaultContrast;
367
- },
368
- set: function (value) {
369
- deprecationWarning(
370
- "GridImageryProvider.defaultContrast",
371
- "GridImageryProvider.defaultContrast was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.contrast instead."
372
- );
373
- this._defaultContrast = value;
374
- },
375
- },
376
-
377
- /**
378
- * The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
379
- * @memberof GridImageryProvider.prototype
380
- * @type {Number|undefined}
381
- * @deprecated
382
- */
383
- defaultHue: {
384
- get: function () {
385
- deprecationWarning(
386
- "GridImageryProvider.defaultHue",
387
- "GridImageryProvider.defaultHue was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.hue instead."
388
- );
389
- return this._defaultHue;
390
- },
391
- set: function (value) {
392
- deprecationWarning(
393
- "GridImageryProvider.defaultHue",
394
- "GridImageryProvider.defaultHue was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.hue instead."
395
- );
396
- this._defaultHue = value;
397
- },
398
- },
399
-
400
- /**
401
- * The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
402
- * saturation while greater than 1.0 increases it.
403
- * @memberof GridImageryProvider.prototype
404
- * @type {Number|undefined}
405
- * @deprecated
406
- */
407
- defaultSaturation: {
408
- get: function () {
409
- deprecationWarning(
410
- "GridImageryProvider.defaultSaturation",
411
- "GridImageryProvider.defaultSaturation was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.saturation instead."
412
- );
413
- return this._defaultSaturation;
414
- },
415
- set: function (value) {
416
- deprecationWarning(
417
- "GridImageryProvider.defaultSaturation",
418
- "GridImageryProvider.defaultSaturation was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.saturation instead."
419
- );
420
- this._defaultSaturation = value;
421
- },
422
- },
423
-
424
- /**
425
- * The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
426
- * @memberof GridImageryProvider.prototype
427
- * @type {Number|undefined}
428
- * @deprecated
429
- */
430
- defaultGamma: {
431
- get: function () {
432
- deprecationWarning(
433
- "GridImageryProvider.defaultGamma",
434
- "GridImageryProvider.defaultGamma was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.gamma instead."
435
- );
436
- return this._defaultGamma;
437
- },
438
- set: function (value) {
439
- deprecationWarning(
440
- "GridImageryProvider.defaultGamma",
441
- "GridImageryProvider.defaultGamma was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.gamma instead."
442
- );
443
- this._defaultGamma = value;
444
- },
445
- },
446
-
447
- /**
448
- * The default texture minification filter to apply to this provider.
449
- * @memberof GridImageryProvider.prototype
450
- * @type {TextureMinificationFilter}
451
- * @deprecated
452
- */
453
- defaultMinificationFilter: {
454
- get: function () {
455
- deprecationWarning(
456
- "GridImageryProvider.defaultMinificationFilter",
457
- "GridImageryProvider.defaultMinificationFilter was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.minificationFilter instead."
458
- );
459
- return this._defaultMinificationFilter;
460
- },
461
- set: function (value) {
462
- deprecationWarning(
463
- "GridImageryProvider.defaultMinificationFilter",
464
- "GridImageryProvider.defaultMinificationFilter was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.minificationFilter instead."
465
- );
466
- this._defaultMinificationFilter = value;
467
- },
468
- },
469
-
470
- /**
471
- * The default texture magnification filter to apply to this provider.
472
- * @memberof GridImageryProvider.prototype
473
- * @type {TextureMagnificationFilter}
474
- * @deprecated
475
- */
476
- defaultMagnificationFilter: {
477
- get: function () {
478
- deprecationWarning(
479
- "GridImageryProvider.defaultMagnificationFilter",
480
- "GridImageryProvider.defaultMagnificationFilter was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.magnificationFilter instead."
481
- );
482
- return this._defaultMagnificationFilter;
483
- },
484
- set: function (value) {
485
- deprecationWarning(
486
- "GridImageryProvider.defaultMagnificationFilter",
487
- "GridImageryProvider.defaultMagnificationFilter was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.magnificationFilter instead."
488
- );
489
- this._defaultMagnificationFilter = value;
490
- },
491
- },
492
218
  });
493
219
 
494
220
  /**