@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.
- package/Build/Workers/cesiumWorkerBootstrapper.js +1 -1
- package/Build/Workers/createVerticesFromQuantizedTerrainMesh.js +0 -22
- package/Build/Workers/package.js +1 -1
- package/Build/Workers/transferTypedArrayTest.js +1 -1
- package/Source/Core/ArcGISTiledElevationTerrainProvider.js +0 -75
- package/Source/Core/CesiumTerrainProvider.js +0 -75
- package/Source/Core/CustomHeightmapTerrainProvider.js +0 -38
- package/Source/Core/EllipsoidTerrainProvider.js +0 -37
- package/Source/Core/GoogleEarthEnterpriseMetadata.js +0 -53
- package/Source/Core/GoogleEarthEnterpriseTerrainProvider.js +1 -101
- package/Source/Core/GoogleMaps.js +1 -1
- package/Source/Core/Ion.js +1 -2
- package/Source/Core/TerrainProvider.js +0 -22
- package/Source/Core/VRTheWorldTerrainProvider.js +0 -59
- package/Source/Core/sampleTerrain.js +0 -7
- package/Source/Core/sampleTerrainMostDetailed.js +0 -7
- package/Source/DataSources/Cesium3DTilesetVisualizer.js +6 -5
- package/Source/DataSources/KmlTour.js +1 -12
- package/Source/DataSources/ModelVisualizer.js +0 -12
- package/Source/Renderer/Context.js +10 -2
- package/Source/Scene/ArcGisMapServerImageryProvider.js +7 -335
- package/Source/Scene/ArcGisMapService.js +1 -1
- package/Source/Scene/Billboard.js +7 -0
- package/Source/Scene/BingMapsImageryProvider.js +0 -326
- package/Source/Scene/Camera.js +1 -1
- package/Source/Scene/Cesium3DTile.js +4 -5
- package/Source/Scene/Cesium3DTileContent.js +0 -16
- package/Source/Scene/Cesium3DTilesVoxelProvider.js +0 -123
- package/Source/Scene/Cesium3DTileset.js +183 -184
- package/Source/Scene/Cesium3DTilesetBaseTraversal.js +1 -1
- package/Source/Scene/Cesium3DTilesetCache.js +1 -3
- package/Source/Scene/Cesium3DTilesetSkipTraversal.js +5 -2
- package/Source/Scene/Cesium3DTilesetTraversal.js +2 -2
- package/Source/Scene/ClassificationPrimitive.js +5 -43
- package/Source/Scene/Composite3DTileContent.js +0 -27
- package/Source/Scene/CreditDisplay.js +0 -54
- package/Source/Scene/DerivedCommand.js +15 -10
- package/Source/Scene/Empty3DTileContent.js +0 -21
- package/Source/Scene/Geometry3DTileContent.js +0 -29
- package/Source/Scene/Globe.js +1 -9
- package/Source/Scene/GlobeSurfaceTile.js +13 -8
- package/Source/Scene/GlobeSurfaceTileProvider.js +8 -60
- package/Source/Scene/GltfPipeline/removeUnusedElements.js +27 -0
- package/Source/Scene/GltfPipeline/updateVersion.js +21 -4
- package/Source/Scene/GoogleEarthEnterpriseImageryProvider.js +1 -339
- package/Source/Scene/GoogleEarthEnterpriseMapsProvider.js +0 -326
- package/Source/Scene/GridImageryProvider.js +0 -274
- package/Source/Scene/GroundPolylinePrimitive.js +5 -38
- package/Source/Scene/GroundPrimitive.js +5 -43
- package/Source/Scene/I3SDataProvider.js +4 -99
- package/Source/Scene/I3SLayer.js +15 -22
- package/Source/Scene/Imagery.js +1 -9
- package/Source/Scene/ImageryLayer.js +1 -40
- package/Source/Scene/ImageryProvider.js +0 -138
- package/Source/Scene/Implicit3DTileContent.js +0 -23
- package/Source/Scene/IonImageryProvider.js +1 -369
- package/Source/Scene/MapboxImageryProvider.js +0 -276
- package/Source/Scene/MapboxStyleImageryProvider.js +0 -274
- package/Source/Scene/Model/Model.js +6 -249
- package/Source/Scene/Model/Model3DTileContent.js +0 -50
- package/Source/Scene/Model/ModelAnimationCollection.js +1 -1
- package/Source/Scene/Model/PointCloudStylingPipelineStage.js +1 -1
- package/Source/Scene/Multiple3DTileContent.js +0 -27
- package/Source/Scene/Primitive.js +10 -38
- package/Source/Scene/QuadtreePrimitive.js +3 -5
- package/Source/Scene/QuadtreeTileProvider.js +0 -10
- package/Source/Scene/Scene.js +3 -3
- package/Source/Scene/ScreenSpaceCameraController.js +5 -5
- package/Source/Scene/SingleTileImageryProvider.js +6 -302
- package/Source/Scene/TileCoordinatesImageryProvider.js +0 -273
- package/Source/Scene/TileMapServiceImageryProvider.js +3 -48
- package/Source/Scene/Tileset3DTileContent.js +0 -22
- package/Source/Scene/TimeDynamicPointCloud.js +0 -28
- package/Source/Scene/UrlTemplateImageryProvider.js +0 -375
- package/Source/Scene/Vector3DTileContent.js +0 -29
- package/Source/Scene/VoxelPrimitive.js +9 -49
- package/Source/Scene/VoxelProvider.js +0 -24
- package/Source/Scene/WebMapServiceImageryProvider.js +0 -274
- package/Source/Scene/WebMapTileServiceImageryProvider.js +0 -274
- package/Source/Scene/computeFlyToLocationForRectangle.js +0 -6
- package/Source/Scene/createGooglePhotorealistic3DTileset.js +5 -0
- package/Source/Widget/CesiumWidget.js +2 -19
- package/index.d.ts +62 -1183
- package/index.js +54 -57
- package/package.json +2 -2
- package/Source/Core/createWorldTerrain.js +0 -61
- package/Source/Scene/createOsmBuildings.js +0 -82
- package/Source/Scene/createWorldImagery.js +0 -47
|
@@ -3,7 +3,6 @@ import Credit from "../Core/Credit.js";
|
|
|
3
3
|
import decodeGoogleEarthEnterpriseData from "../Core/decodeGoogleEarthEnterpriseData.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
6
|
import Event from "../Core/Event.js";
|
|
8
7
|
import GeographicTilingScheme from "../Core/GeographicTilingScheme.js";
|
|
9
8
|
import GoogleEarthEnterpriseMetadata from "../Core/GoogleEarthEnterpriseMetadata.js";
|
|
@@ -11,9 +10,7 @@ import loadImageFromTypedArray from "../Core/loadImageFromTypedArray.js";
|
|
|
11
10
|
import CesiumMath from "../Core/Math.js";
|
|
12
11
|
import Rectangle from "../Core/Rectangle.js";
|
|
13
12
|
import Request from "../Core/Request.js";
|
|
14
|
-
import Resource from "../Core/Resource.js";
|
|
15
13
|
import RuntimeError from "../Core/RuntimeError.js";
|
|
16
|
-
import TileProviderError from "../Core/TileProviderError.js";
|
|
17
14
|
import * as protobuf from "protobufjs/dist/minimal/protobuf.js";
|
|
18
15
|
|
|
19
16
|
/**
|
|
@@ -48,8 +45,6 @@ GoogleEarthEnterpriseDiscardPolicy.prototype.shouldDiscardImage = function (
|
|
|
48
45
|
*
|
|
49
46
|
* Initialization options for the GoogleEarthEnterpriseImageryProvider constructor
|
|
50
47
|
*
|
|
51
|
-
* @property {Resource|string} [url] The url of the Google Earth Enterprise server hosting the imagery. Deprecated.
|
|
52
|
-
* @property {GoogleEarthEnterpriseMetadata} [metadata] A metadata object that can be used to share metadata requests with a GoogleEarthEnterpriseTerrainProvider. Deprecated.
|
|
53
48
|
* @property {Ellipsoid} [ellipsoid] The ellipsoid. If not specified, the WGS84 ellipsoid is used.
|
|
54
49
|
* @property {TileDiscardPolicy} [tileDiscardPolicy] The policy that determines if a tile
|
|
55
50
|
* is invalid and should be discarded. If this value is not specified, a default
|
|
@@ -70,7 +65,7 @@ GoogleEarthEnterpriseDiscardPolicy.prototype.shouldDiscardImage = function (
|
|
|
70
65
|
* @alias GoogleEarthEnterpriseImageryProvider
|
|
71
66
|
* @constructor
|
|
72
67
|
*
|
|
73
|
-
* @param {GoogleEarthEnterpriseImageryProvider.ConstructorOptions} options Object describing initialization options
|
|
68
|
+
* @param {GoogleEarthEnterpriseImageryProvider.ConstructorOptions} [options] Object describing initialization options
|
|
74
69
|
*
|
|
75
70
|
* @see GoogleEarthEnterpriseImageryProvider.fromMetadata
|
|
76
71
|
* @see GoogleEarthEnterpriseTerrainProvider
|
|
@@ -133,67 +128,6 @@ function GoogleEarthEnterpriseImageryProvider(options) {
|
|
|
133
128
|
}
|
|
134
129
|
|
|
135
130
|
this._errorEvent = new Event();
|
|
136
|
-
|
|
137
|
-
this._ready = false;
|
|
138
|
-
const that = this;
|
|
139
|
-
let metadataError;
|
|
140
|
-
let metadata;
|
|
141
|
-
if (defined(options.url)) {
|
|
142
|
-
deprecationWarning(
|
|
143
|
-
"GoogleEarthEnterpriseImageryProvider options.url",
|
|
144
|
-
"options.url was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use GoogleEarthEnterpriseImageryProvider.fromMetadata instead."
|
|
145
|
-
);
|
|
146
|
-
const resource = Resource.createIfNeeded(options.url);
|
|
147
|
-
metadata = new GoogleEarthEnterpriseMetadata(resource);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
if (defined(options.metadata)) {
|
|
151
|
-
deprecationWarning(
|
|
152
|
-
"GoogleEarthEnterpriseImageryProvider options.metadata",
|
|
153
|
-
"options.metadata was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use GoogleEarthEnterpriseImageryProvider.fromMetadata instead."
|
|
154
|
-
);
|
|
155
|
-
metadata = options.metadata;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
this._metadata = metadata;
|
|
159
|
-
if (defined(metadata)) {
|
|
160
|
-
this._readyPromise = metadata.readyPromise
|
|
161
|
-
.then(function (result) {
|
|
162
|
-
if (!metadata.imageryPresent) {
|
|
163
|
-
const e = new RuntimeError(
|
|
164
|
-
`The server ${metadata.url} doesn't have imagery`
|
|
165
|
-
);
|
|
166
|
-
metadataError = TileProviderError.reportError(
|
|
167
|
-
metadataError,
|
|
168
|
-
that,
|
|
169
|
-
that._errorEvent,
|
|
170
|
-
e.message,
|
|
171
|
-
undefined,
|
|
172
|
-
undefined,
|
|
173
|
-
undefined,
|
|
174
|
-
e
|
|
175
|
-
);
|
|
176
|
-
return Promise.reject(e);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
TileProviderError.reportSuccess(metadataError);
|
|
180
|
-
that._ready = result;
|
|
181
|
-
return result;
|
|
182
|
-
})
|
|
183
|
-
.catch(function (e) {
|
|
184
|
-
metadataError = TileProviderError.reportError(
|
|
185
|
-
metadataError,
|
|
186
|
-
that,
|
|
187
|
-
that._errorEvent,
|
|
188
|
-
e.message,
|
|
189
|
-
undefined,
|
|
190
|
-
undefined,
|
|
191
|
-
undefined,
|
|
192
|
-
e
|
|
193
|
-
);
|
|
194
|
-
return Promise.reject(e);
|
|
195
|
-
});
|
|
196
|
-
}
|
|
197
131
|
}
|
|
198
132
|
|
|
199
133
|
Object.defineProperties(GoogleEarthEnterpriseImageryProvider.prototype, {
|
|
@@ -321,40 +255,6 @@ Object.defineProperties(GoogleEarthEnterpriseImageryProvider.prototype, {
|
|
|
321
255
|
},
|
|
322
256
|
},
|
|
323
257
|
|
|
324
|
-
/**
|
|
325
|
-
* Gets a value indicating whether or not the provider is ready for use.
|
|
326
|
-
* @memberof GoogleEarthEnterpriseImageryProvider.prototype
|
|
327
|
-
* @type {boolean}
|
|
328
|
-
* @readonly
|
|
329
|
-
* @deprecated
|
|
330
|
-
*/
|
|
331
|
-
ready: {
|
|
332
|
-
get: function () {
|
|
333
|
-
deprecationWarning(
|
|
334
|
-
"GoogleEarthEnterpriseImageryProvider.ready",
|
|
335
|
-
"GoogleEarthEnterpriseImageryProvider.ready was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use GoogleEarthEnterpriseImageryProvider.fromMetadata instead."
|
|
336
|
-
);
|
|
337
|
-
return this._ready;
|
|
338
|
-
},
|
|
339
|
-
},
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* Gets a promise that resolves to true when the provider is ready for use.
|
|
343
|
-
* @memberof GoogleEarthEnterpriseImageryProvider.prototype
|
|
344
|
-
* @type {Promise<boolean>}
|
|
345
|
-
* @readonly
|
|
346
|
-
* @deprecated
|
|
347
|
-
*/
|
|
348
|
-
readyPromise: {
|
|
349
|
-
get: function () {
|
|
350
|
-
deprecationWarning(
|
|
351
|
-
"GoogleEarthEnterpriseImageryProvider.readyPromise",
|
|
352
|
-
"GoogleEarthEnterpriseImageryProvider.readyPromise was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use GoogleEarthEnterpriseImageryProvider.fromMetadata instead."
|
|
353
|
-
);
|
|
354
|
-
return this._readyPromise;
|
|
355
|
-
},
|
|
356
|
-
},
|
|
357
|
-
|
|
358
258
|
/**
|
|
359
259
|
* Gets the credit to display when this imagery provider is active. Typically this is used to credit
|
|
360
260
|
* the source of the imagery.
|
|
@@ -383,242 +283,6 @@ Object.defineProperties(GoogleEarthEnterpriseImageryProvider.prototype, {
|
|
|
383
283
|
return false;
|
|
384
284
|
},
|
|
385
285
|
},
|
|
386
|
-
|
|
387
|
-
/**
|
|
388
|
-
* The default alpha blending value of this provider, with 0.0 representing fully transparent and
|
|
389
|
-
* 1.0 representing fully opaque.
|
|
390
|
-
* @memberof GoogleEarthEnterpriseImageryProvider.prototype
|
|
391
|
-
* @type {Number|undefined}
|
|
392
|
-
* @deprecated
|
|
393
|
-
*/
|
|
394
|
-
defaultAlpha: {
|
|
395
|
-
get: function () {
|
|
396
|
-
deprecationWarning(
|
|
397
|
-
"GoogleEarthEnterpriseImageryProvider.defaultAlpha",
|
|
398
|
-
"GoogleEarthEnterpriseImageryProvider.defaultAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.alpha instead."
|
|
399
|
-
);
|
|
400
|
-
return this._defaultAlpha;
|
|
401
|
-
},
|
|
402
|
-
set: function (value) {
|
|
403
|
-
deprecationWarning(
|
|
404
|
-
"GoogleEarthEnterpriseImageryProvider.defaultAlpha",
|
|
405
|
-
"GoogleEarthEnterpriseImageryProvider.defaultAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.alpha instead."
|
|
406
|
-
);
|
|
407
|
-
this._defaultAlpha = value;
|
|
408
|
-
},
|
|
409
|
-
},
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* The default alpha blending value on the night side of the globe of this provider, with 0.0 representing fully transparent and
|
|
413
|
-
* 1.0 representing fully opaque.
|
|
414
|
-
* @memberof GoogleEarthEnterpriseImageryProvider.prototype
|
|
415
|
-
* @type {Number|undefined}
|
|
416
|
-
* @deprecated
|
|
417
|
-
*/
|
|
418
|
-
defaultNightAlpha: {
|
|
419
|
-
get: function () {
|
|
420
|
-
deprecationWarning(
|
|
421
|
-
"GoogleEarthEnterpriseImageryProvider.defaultNightAlpha",
|
|
422
|
-
"GoogleEarthEnterpriseImageryProvider.defaultNightAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.nightAlpha instead."
|
|
423
|
-
);
|
|
424
|
-
return this.defaultNightAlpha;
|
|
425
|
-
},
|
|
426
|
-
set: function (value) {
|
|
427
|
-
deprecationWarning(
|
|
428
|
-
"GoogleEarthEnterpriseImageryProvider.defaultNightAlpha",
|
|
429
|
-
"GoogleEarthEnterpriseImageryProvider.defaultNightAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.nightAlpha instead."
|
|
430
|
-
);
|
|
431
|
-
this.defaultNightAlpha = value;
|
|
432
|
-
},
|
|
433
|
-
},
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* The default alpha blending value on the day side of the globe of this provider, with 0.0 representing fully transparent and
|
|
437
|
-
* 1.0 representing fully opaque.
|
|
438
|
-
* @memberof GoogleEarthEnterpriseImageryProvider.prototype
|
|
439
|
-
* @type {Number|undefined}
|
|
440
|
-
* @deprecated
|
|
441
|
-
*/
|
|
442
|
-
defaultDayAlpha: {
|
|
443
|
-
get: function () {
|
|
444
|
-
deprecationWarning(
|
|
445
|
-
"GoogleEarthEnterpriseImageryProvider.defaultDayAlpha",
|
|
446
|
-
"GoogleEarthEnterpriseImageryProvider.defaultDayAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.dayAlpha instead."
|
|
447
|
-
);
|
|
448
|
-
return this._defaultDayAlpha;
|
|
449
|
-
},
|
|
450
|
-
set: function (value) {
|
|
451
|
-
deprecationWarning(
|
|
452
|
-
"GoogleEarthEnterpriseImageryProvider.defaultDayAlpha",
|
|
453
|
-
"GoogleEarthEnterpriseImageryProvider.defaultDayAlpha was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.dayAlpha instead."
|
|
454
|
-
);
|
|
455
|
-
this._defaultDayAlpha = value;
|
|
456
|
-
},
|
|
457
|
-
},
|
|
458
|
-
|
|
459
|
-
/**
|
|
460
|
-
* The default brightness of this provider. 1.0 uses the unmodified imagery color. Less than 1.0
|
|
461
|
-
* makes the imagery darker while greater than 1.0 makes it brighter.
|
|
462
|
-
* @memberof GoogleEarthEnterpriseImageryProvider.prototype
|
|
463
|
-
* @type {Number|undefined}
|
|
464
|
-
* @deprecated
|
|
465
|
-
*/
|
|
466
|
-
defaultBrightness: {
|
|
467
|
-
get: function () {
|
|
468
|
-
deprecationWarning(
|
|
469
|
-
"GoogleEarthEnterpriseImageryProvider.defaultBrightness",
|
|
470
|
-
"GoogleEarthEnterpriseImageryProvider.defaultBrightness was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.brightness instead."
|
|
471
|
-
);
|
|
472
|
-
return this._defaultBrightness;
|
|
473
|
-
},
|
|
474
|
-
set: function (value) {
|
|
475
|
-
deprecationWarning(
|
|
476
|
-
"GoogleEarthEnterpriseImageryProvider.defaultBrightness",
|
|
477
|
-
"GoogleEarthEnterpriseImageryProvider.defaultBrightness was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.brightness instead."
|
|
478
|
-
);
|
|
479
|
-
this._defaultBrightness = value;
|
|
480
|
-
},
|
|
481
|
-
},
|
|
482
|
-
|
|
483
|
-
/**
|
|
484
|
-
* The default contrast of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces
|
|
485
|
-
* the contrast while greater than 1.0 increases it.
|
|
486
|
-
* @memberof GoogleEarthEnterpriseImageryProvider.prototype
|
|
487
|
-
* @type {Number|undefined}
|
|
488
|
-
* @deprecated
|
|
489
|
-
*/
|
|
490
|
-
defaultContrast: {
|
|
491
|
-
get: function () {
|
|
492
|
-
deprecationWarning(
|
|
493
|
-
"GoogleEarthEnterpriseImageryProvider.defaultContrast",
|
|
494
|
-
"GoogleEarthEnterpriseImageryProvider.defaultContrast was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.contrast instead."
|
|
495
|
-
);
|
|
496
|
-
return this._defaultContrast;
|
|
497
|
-
},
|
|
498
|
-
set: function (value) {
|
|
499
|
-
deprecationWarning(
|
|
500
|
-
"GoogleEarthEnterpriseImageryProvider.defaultContrast",
|
|
501
|
-
"GoogleEarthEnterpriseImageryProvider.defaultContrast was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.contrast instead."
|
|
502
|
-
);
|
|
503
|
-
this._defaultContrast = value;
|
|
504
|
-
},
|
|
505
|
-
},
|
|
506
|
-
|
|
507
|
-
/**
|
|
508
|
-
* The default hue of this provider in radians. 0.0 uses the unmodified imagery color.
|
|
509
|
-
* @memberof GoogleEarthEnterpriseImageryProvider.prototype
|
|
510
|
-
* @type {Number|undefined}
|
|
511
|
-
* @deprecated
|
|
512
|
-
*/
|
|
513
|
-
defaultHue: {
|
|
514
|
-
get: function () {
|
|
515
|
-
deprecationWarning(
|
|
516
|
-
"GoogleEarthEnterpriseImageryProvider.defaultHue",
|
|
517
|
-
"GoogleEarthEnterpriseImageryProvider.defaultHue was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.hue instead."
|
|
518
|
-
);
|
|
519
|
-
return this._defaultHue;
|
|
520
|
-
},
|
|
521
|
-
set: function (value) {
|
|
522
|
-
deprecationWarning(
|
|
523
|
-
"GoogleEarthEnterpriseImageryProvider.defaultHue",
|
|
524
|
-
"GoogleEarthEnterpriseImageryProvider.defaultHue was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.hue instead."
|
|
525
|
-
);
|
|
526
|
-
this._defaultHue = value;
|
|
527
|
-
},
|
|
528
|
-
},
|
|
529
|
-
|
|
530
|
-
/**
|
|
531
|
-
* The default saturation of this provider. 1.0 uses the unmodified imagery color. Less than 1.0 reduces the
|
|
532
|
-
* saturation while greater than 1.0 increases it.
|
|
533
|
-
* @memberof GoogleEarthEnterpriseImageryProvider.prototype
|
|
534
|
-
* @type {Number|undefined}
|
|
535
|
-
* @deprecated
|
|
536
|
-
*/
|
|
537
|
-
defaultSaturation: {
|
|
538
|
-
get: function () {
|
|
539
|
-
deprecationWarning(
|
|
540
|
-
"GoogleEarthEnterpriseImageryProvider.defaultSaturation",
|
|
541
|
-
"GoogleEarthEnterpriseImageryProvider.defaultSaturation was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.saturation instead."
|
|
542
|
-
);
|
|
543
|
-
return this._defaultSaturation;
|
|
544
|
-
},
|
|
545
|
-
set: function (value) {
|
|
546
|
-
deprecationWarning(
|
|
547
|
-
"GoogleEarthEnterpriseImageryProvider.defaultSaturation",
|
|
548
|
-
"GoogleEarthEnterpriseImageryProvider.defaultSaturation was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.saturation instead."
|
|
549
|
-
);
|
|
550
|
-
this._defaultSaturation = value;
|
|
551
|
-
},
|
|
552
|
-
},
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* The default gamma correction to apply to this provider. 1.0 uses the unmodified imagery color.
|
|
556
|
-
* @memberof GoogleEarthEnterpriseImageryProvider.prototype
|
|
557
|
-
* @type {Number|undefined}
|
|
558
|
-
* @deprecated
|
|
559
|
-
*/
|
|
560
|
-
defaultGamma: {
|
|
561
|
-
get: function () {
|
|
562
|
-
deprecationWarning(
|
|
563
|
-
"GoogleEarthEnterpriseImageryProvider.defaultGamma",
|
|
564
|
-
"GoogleEarthEnterpriseImageryProvider.defaultGamma was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.gamma instead."
|
|
565
|
-
);
|
|
566
|
-
return this._defaultGamma;
|
|
567
|
-
},
|
|
568
|
-
set: function (value) {
|
|
569
|
-
deprecationWarning(
|
|
570
|
-
"GoogleEarthEnterpriseImageryProvider.defaultGamma",
|
|
571
|
-
"GoogleEarthEnterpriseImageryProvider.defaultGamma was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.gamma instead."
|
|
572
|
-
);
|
|
573
|
-
this._defaultGamma = value;
|
|
574
|
-
},
|
|
575
|
-
},
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* The default texture minification filter to apply to this provider.
|
|
579
|
-
* @memberof GoogleEarthEnterpriseImageryProvider.prototype
|
|
580
|
-
* @type {TextureMinificationFilter}
|
|
581
|
-
* @deprecated
|
|
582
|
-
*/
|
|
583
|
-
defaultMinificationFilter: {
|
|
584
|
-
get: function () {
|
|
585
|
-
deprecationWarning(
|
|
586
|
-
"GoogleEarthEnterpriseImageryProvider.defaultMinificationFilter",
|
|
587
|
-
"GoogleEarthEnterpriseImageryProvider.defaultMinificationFilter was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.minificationFilter instead."
|
|
588
|
-
);
|
|
589
|
-
return this._defaultMinificationFilter;
|
|
590
|
-
},
|
|
591
|
-
set: function (value) {
|
|
592
|
-
deprecationWarning(
|
|
593
|
-
"GoogleEarthEnterpriseImageryProvider.defaultMinificationFilter",
|
|
594
|
-
"GoogleEarthEnterpriseImageryProvider.defaultMinificationFilter was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.minificationFilter instead."
|
|
595
|
-
);
|
|
596
|
-
this._defaultMinificationFilter = value;
|
|
597
|
-
},
|
|
598
|
-
},
|
|
599
|
-
|
|
600
|
-
/**
|
|
601
|
-
* The default texture magnification filter to apply to this provider.
|
|
602
|
-
* @memberof GoogleEarthEnterpriseImageryProvider.prototype
|
|
603
|
-
* @type {TextureMagnificationFilter}
|
|
604
|
-
* @deprecated
|
|
605
|
-
*/
|
|
606
|
-
defaultMagnificationFilter: {
|
|
607
|
-
get: function () {
|
|
608
|
-
deprecationWarning(
|
|
609
|
-
"GoogleEarthEnterpriseImageryProvider.defaultMagnificationFilter",
|
|
610
|
-
"GoogleEarthEnterpriseImageryProvider.defaultMagnificationFilter was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.magnificationFilter instead."
|
|
611
|
-
);
|
|
612
|
-
return this._defaultMagnificationFilter;
|
|
613
|
-
},
|
|
614
|
-
set: function (value) {
|
|
615
|
-
deprecationWarning(
|
|
616
|
-
"GoogleEarthEnterpriseImageryProvider.defaultMagnificationFilter",
|
|
617
|
-
"GoogleEarthEnterpriseImageryProvider.defaultMagnificationFilter was deprecated in CesiumJS 1.104. It will be removed in CesiumJS 1.107. Use ImageryLayer.magnificationFilter instead."
|
|
618
|
-
);
|
|
619
|
-
this._defaultMagnificationFilter = value;
|
|
620
|
-
},
|
|
621
|
-
},
|
|
622
286
|
});
|
|
623
287
|
|
|
624
288
|
/**
|
|
@@ -647,8 +311,6 @@ GoogleEarthEnterpriseImageryProvider.fromMetadata = function (
|
|
|
647
311
|
|
|
648
312
|
const provider = new GoogleEarthEnterpriseImageryProvider(options);
|
|
649
313
|
provider._metadata = metadata;
|
|
650
|
-
provider._ready = true;
|
|
651
|
-
provider._readyPromise = Promise.resolve(true);
|
|
652
314
|
return provider;
|
|
653
315
|
};
|
|
654
316
|
|