mars3d-cesium 1.135.1 → 1.136.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/Cesium/Cesium.d.ts +133 -2
- package/Build/Cesium/Cesium.js +5846 -5833
- package/Build/Cesium/Widgets/Images/ImageryProviders/azureAerial.png +0 -0
- package/Build/Cesium/Widgets/Images/ImageryProviders/azureRoads.png +0 -0
- package/Build/Cesium/Workers/{chunk-DXLCCVR2.js → chunk-2IHZS4H3.js} +1 -1
- package/Build/Cesium/Workers/{chunk-DVID24GL.js → chunk-3WJZ6CQ2.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ELGJNIOP.js → chunk-426QIPZD.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ZS3IRDQS.js → chunk-4CWVEDCG.js} +2 -2
- package/Build/Cesium/Workers/{chunk-PJSIZFRN.js → chunk-4GQTSTSF.js} +2 -2
- package/Build/Cesium/Workers/{chunk-YSF4UF4J.js → chunk-4JVTZEOG.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ZSPEXXVJ.js → chunk-5ZPZOULN.js} +1 -1
- package/Build/Cesium/Workers/{chunk-6WEFCTPE.js → chunk-65B5NZJA.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ABG5CBMX.js → chunk-AZECGCLU.js} +2 -2
- package/Build/Cesium/Workers/{chunk-L6URUAFR.js → chunk-BCEL3FDA.js} +2 -2
- package/Build/Cesium/Workers/{chunk-JRRMHJ6Q.js → chunk-CM4ICROJ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-AFVOLTM4.js → chunk-DCAJW75L.js} +2 -2
- package/Build/Cesium/Workers/{chunk-SZMHRX5Y.js → chunk-DCJBRXQ3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-HSBQPWCF.js → chunk-DHOZLOJA.js} +2 -2
- package/Build/Cesium/Workers/{chunk-FPWBHWFX.js → chunk-EBRPXF46.js} +2 -2
- package/Build/Cesium/Workers/{chunk-SST2IET5.js → chunk-ED5FRS6Y.js} +2 -2
- package/Build/Cesium/Workers/{chunk-RO3EN73M.js → chunk-FQU7PNU3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-FUYHR6KP.js → chunk-GKDV7JZT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-IXR3CFAY.js → chunk-GNL7UROL.js} +2 -2
- package/Build/Cesium/Workers/{chunk-62Q37BBI.js → chunk-GZR7CCLR.js} +2 -2
- package/Build/Cesium/Workers/{chunk-DGEQNHVI.js → chunk-H2E233IF.js} +1 -1
- package/Build/Cesium/Workers/{chunk-MSOAON3W.js → chunk-HDT6ASXB.js} +2 -2
- package/Build/Cesium/Workers/{chunk-NNFC3CWY.js → chunk-HIJPNVQU.js} +2 -2
- package/Build/Cesium/Workers/{chunk-AZNPK76Q.js → chunk-HIRC4J7V.js} +2 -2
- package/Build/Cesium/Workers/{chunk-A4XPW3XT.js → chunk-I2OJC4V7.js} +1 -1
- package/Build/Cesium/Workers/{chunk-2HS2RD4J.js → chunk-I6TRDB5O.js} +2 -2
- package/Build/Cesium/Workers/{chunk-FU4Y5OOZ.js → chunk-IJTSHLAU.js} +2 -2
- package/Build/Cesium/Workers/{chunk-AOR5TEY4.js → chunk-IVUAGUQL.js} +2 -2
- package/Build/Cesium/Workers/{chunk-RVGYS7AK.js → chunk-JSRVU52I.js} +2 -2
- package/Build/Cesium/Workers/{chunk-CLETWJ2X.js → chunk-KBYZ3JYR.js} +2 -2
- package/Build/Cesium/Workers/{chunk-LOZ5WFDY.js → chunk-KF4HK7UJ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-OPF4VTEO.js → chunk-KYKVWXMG.js} +2 -2
- package/Build/Cesium/Workers/{chunk-VTPQPICZ.js → chunk-L3HMZOZ6.js} +2 -2
- package/Build/Cesium/Workers/{chunk-25O6KEA4.js → chunk-L5OFQIDV.js} +2 -2
- package/Build/Cesium/Workers/{chunk-5VLBV43M.js → chunk-LC5U7AUZ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-WUOXPQI3.js → chunk-LOOC34UL.js} +2 -2
- package/Build/Cesium/Workers/{chunk-23F7QTWZ.js → chunk-N73TNNHG.js} +1 -1
- package/Build/Cesium/Workers/{chunk-SHU5XLHO.js → chunk-OREI43PJ.js} +1 -1
- package/Build/Cesium/Workers/{chunk-2NA5JRMZ.js → chunk-PYURPHAC.js} +2 -2
- package/Build/Cesium/Workers/{chunk-24CCT6MZ.js → chunk-QGOLNSX2.js} +2 -2
- package/Build/Cesium/Workers/{chunk-H6I6U4VD.js → chunk-QUYEJXIQ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-IJWZQPQA.js → chunk-RC5L224I.js} +2 -2
- package/Build/Cesium/Workers/{chunk-C53EFLJH.js → chunk-SX7UFWHO.js} +2 -2
- package/Build/Cesium/Workers/{chunk-B2IRVOVP.js → chunk-TEPAYIZU.js} +2 -2
- package/Build/Cesium/Workers/{chunk-GBQ6ZFCR.js → chunk-TOB4N6Z3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-SLCQLCIS.js → chunk-UHYWWDIG.js} +2 -2
- package/Build/Cesium/Workers/{chunk-46USVJXB.js → chunk-UVSRWZRO.js} +2 -2
- package/Build/Cesium/Workers/{chunk-SGT62F4G.js → chunk-V4GKMAF3.js} +2 -2
- package/Build/Cesium/Workers/{chunk-OJMLUVHY.js → chunk-VA2HZUHQ.js} +2 -2
- package/Build/Cesium/Workers/{chunk-KUIQ5QZM.js → chunk-VDPN3SFE.js} +2 -2
- package/Build/Cesium/Workers/{chunk-UBEWSTP3.js → chunk-VEACGURT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-GTGLGYR5.js → chunk-WNFYYD3I.js} +2 -2
- package/Build/Cesium/Workers/{chunk-YODJZ63A.js → chunk-WOSIGBWT.js} +2 -2
- package/Build/Cesium/Workers/{chunk-B2SDQXYD.js → chunk-WT2QAEEE.js} +2 -2
- package/Build/Cesium/Workers/{chunk-BZNCIGKU.js → chunk-XZLASSTS.js} +2 -2
- package/Build/Cesium/Workers/{chunk-PA6L7PNH.js → chunk-YEN6SY2C.js} +2 -2
- package/Build/Cesium/Workers/{chunk-ZDSDZCYV.js → chunk-Z5V7C2RE.js} +2 -2
- package/Build/Cesium/Workers/combineGeometry.js +2 -2
- package/Build/Cesium/Workers/createBoxGeometry.js +2 -2
- package/Build/Cesium/Workers/createBoxOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCircleGeometry.js +2 -2
- package/Build/Cesium/Workers/createCircleOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCoplanarPolygonGeometry.js +2 -2
- package/Build/Cesium/Workers/createCoplanarPolygonOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCorridorGeometry.js +2 -2
- package/Build/Cesium/Workers/createCorridorOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createCylinderGeometry.js +2 -2
- package/Build/Cesium/Workers/createCylinderOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipseGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipseOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipsoidGeometry.js +2 -2
- package/Build/Cesium/Workers/createEllipsoidOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createFrustumGeometry.js +2 -2
- package/Build/Cesium/Workers/createFrustumOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createGeometry.js +2 -2
- package/Build/Cesium/Workers/createGroundPolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPlaneGeometry.js +2 -2
- package/Build/Cesium/Workers/createPlaneOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolygonGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolygonOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineVolumeGeometry.js +2 -2
- package/Build/Cesium/Workers/createPolylineVolumeOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createRectangleGeometry.js +2 -2
- package/Build/Cesium/Workers/createRectangleOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createSimplePolylineGeometry.js +2 -2
- package/Build/Cesium/Workers/createSphereGeometry.js +2 -2
- package/Build/Cesium/Workers/createSphereOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/createTaskProcessorWorker.js +2 -2
- package/Build/Cesium/Workers/createVectorTileClampedPolylines.js +2 -2
- package/Build/Cesium/Workers/createVectorTileGeometries.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePoints.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePolygons.js +2 -2
- package/Build/Cesium/Workers/createVectorTilePolylines.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromCesium3DTilesTerrain.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromHeightmap.js +2 -2
- package/Build/Cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +2 -2
- package/Build/Cesium/Workers/createWallGeometry.js +2 -2
- package/Build/Cesium/Workers/createWallOutlineGeometry.js +2 -2
- package/Build/Cesium/Workers/decodeDraco.js +2 -2
- package/Build/Cesium/Workers/decodeGoogleEarthEnterprisePacket.js +2 -2
- package/Build/Cesium/Workers/decodeI3S.js +2 -2
- package/Build/Cesium/Workers/gaussianSplatSorter.js +2 -2
- package/Build/Cesium/Workers/gaussianSplatTextureGenerator.js +2 -2
- package/Build/Cesium/Workers/incrementallyBuildTerrainPicker.js +2 -2
- package/Build/Cesium/Workers/transcodeKTX2.js +2 -2
- package/Build/Cesium/Workers/transferTypedArrayTest.js +1 -1
- package/Build/Cesium/Workers/upsampleQuantizedTerrainMesh.js +2 -2
- package/Build/Cesium/Workers/upsampleVerticesFromCesium3DTilesTerrain.js +2 -2
- package/Build/Cesium/index.cjs +5856 -5843
- package/Build/Cesium/index.js +5802 -5789
- package/package.json +1 -1
- package/Build/Cesium/Widgets/Images/ImageryProviders/googleLabels.png +0 -0
package/Build/Cesium/Cesium.d.ts
CHANGED
|
@@ -26427,6 +26427,137 @@ export enum Axis {
|
|
|
26427
26427
|
Z = 2
|
|
26428
26428
|
}
|
|
26429
26429
|
|
|
26430
|
+
export namespace Azure2DImageryProvider {
|
|
26431
|
+
/**
|
|
26432
|
+
* Initialization options for the Azure2DImageryProvider constructor
|
|
26433
|
+
* @property options - Object with the following properties:
|
|
26434
|
+
* @property [options.url = "https://atlas.microsoft.com/"] - The Azure server url.
|
|
26435
|
+
* @property options.tilesetId - The Azure tileset ID. Valid options are {@link microsoft.imagery}, {@link microsoft.base.road}, and {@link microsoft.base.labels.road}
|
|
26436
|
+
* @property options.subscriptionKey - The public subscription key for the imagery.
|
|
26437
|
+
* @property [options.ellipsoid = Ellipsoid.default] - The ellipsoid. If not specified, the default ellipsoid is used.
|
|
26438
|
+
* @property [options.minimumLevel = 0] - The minimum level-of-detail supported by the imagery provider. Take care when specifying
|
|
26439
|
+
this that the number of tiles at the minimum level is small, such as four or less. A larger number is likely
|
|
26440
|
+
to result in rendering problems.
|
|
26441
|
+
* @property [options.maximumLevel = 22] - The maximum level-of-detail supported by the imagery provider.
|
|
26442
|
+
* @property [options.rectangle = Rectangle.MAX_VALUE] - The rectangle, in radians, covered by the image.
|
|
26443
|
+
*/
|
|
26444
|
+
type ConstructorOptions = {
|
|
26445
|
+
options: {
|
|
26446
|
+
url?: string;
|
|
26447
|
+
tilesetId: string;
|
|
26448
|
+
subscriptionKey: string;
|
|
26449
|
+
ellipsoid?: Ellipsoid;
|
|
26450
|
+
minimumLevel?: number;
|
|
26451
|
+
maximumLevel?: number;
|
|
26452
|
+
rectangle?: Rectangle;
|
|
26453
|
+
};
|
|
26454
|
+
};
|
|
26455
|
+
}
|
|
26456
|
+
|
|
26457
|
+
/**
|
|
26458
|
+
* Provides 2D image tiles from Azure.
|
|
26459
|
+
* @example
|
|
26460
|
+
* // Azure 2D imagery provider
|
|
26461
|
+
const azureImageryProvider = new Cesium.Azure2DImageryProvider({
|
|
26462
|
+
subscriptionKey: "subscription-key",
|
|
26463
|
+
tilesetId: "microsoft.base.road"
|
|
26464
|
+
});
|
|
26465
|
+
* @param options - Object describing initialization options
|
|
26466
|
+
*/
|
|
26467
|
+
export class Azure2DImageryProvider {
|
|
26468
|
+
constructor(options: Azure2DImageryProvider.ConstructorOptions);
|
|
26469
|
+
/**
|
|
26470
|
+
* Gets the URL of the Azure 2D Imagery server.
|
|
26471
|
+
*/
|
|
26472
|
+
readonly url: string;
|
|
26473
|
+
/**
|
|
26474
|
+
* Gets the rectangle, in radians, of the imagery provided by the instance.
|
|
26475
|
+
*/
|
|
26476
|
+
readonly rectangle: Rectangle;
|
|
26477
|
+
/**
|
|
26478
|
+
* Gets the width of each tile, in pixels.
|
|
26479
|
+
*/
|
|
26480
|
+
readonly tileWidth: number;
|
|
26481
|
+
/**
|
|
26482
|
+
* Gets the height of each tile, in pixels.
|
|
26483
|
+
*/
|
|
26484
|
+
readonly tileHeight: number;
|
|
26485
|
+
/**
|
|
26486
|
+
* Gets the maximum level-of-detail that can be requested.
|
|
26487
|
+
*/
|
|
26488
|
+
readonly maximumLevel: number | undefined;
|
|
26489
|
+
/**
|
|
26490
|
+
* Gets the minimum level-of-detail that can be requested. Generally,
|
|
26491
|
+
a minimum level should only be used when the rectangle of the imagery is small
|
|
26492
|
+
enough that the number of tiles at the minimum level is small. An imagery
|
|
26493
|
+
provider with more than a few tiles at the minimum level will lead to
|
|
26494
|
+
rendering problems.
|
|
26495
|
+
*/
|
|
26496
|
+
readonly minimumLevel: number;
|
|
26497
|
+
/**
|
|
26498
|
+
* Gets the tiling scheme used by the provider.
|
|
26499
|
+
*/
|
|
26500
|
+
readonly tilingScheme: TilingScheme;
|
|
26501
|
+
/**
|
|
26502
|
+
* Gets the tile discard policy. If not undefined, the discard policy is responsible
|
|
26503
|
+
for filtering out "missing" tiles via its shouldDiscardImage function. If this function
|
|
26504
|
+
returns undefined, no tiles are filtered.
|
|
26505
|
+
*/
|
|
26506
|
+
readonly tileDiscardPolicy: TileDiscardPolicy;
|
|
26507
|
+
/**
|
|
26508
|
+
* Gets an event that is raised when the imagery provider encounters an asynchronous error.. By subscribing
|
|
26509
|
+
to the event, you will be notified of the error and can potentially recover from it. Event listeners
|
|
26510
|
+
are passed an instance of {@link TileProviderError}.
|
|
26511
|
+
*/
|
|
26512
|
+
readonly errorEvent: Event;
|
|
26513
|
+
/**
|
|
26514
|
+
* Gets the credit to display when this imagery provider is active. Typically this is used to credit
|
|
26515
|
+
the source of the imagery.
|
|
26516
|
+
*/
|
|
26517
|
+
readonly credit: Credit;
|
|
26518
|
+
/**
|
|
26519
|
+
* Gets the proxy used by this provider.
|
|
26520
|
+
*/
|
|
26521
|
+
readonly proxy: Proxy;
|
|
26522
|
+
/**
|
|
26523
|
+
* Gets a value indicating whether or not the images provided by this imagery provider
|
|
26524
|
+
include an alpha channel. If this property is false, an alpha channel, if present, will
|
|
26525
|
+
be ignored. If this property is true, any images without an alpha channel will be treated
|
|
26526
|
+
as if their alpha is 1.0 everywhere. When this property is false, memory usage
|
|
26527
|
+
and texture upload time are reduced.
|
|
26528
|
+
*/
|
|
26529
|
+
readonly hasAlphaChannel: boolean;
|
|
26530
|
+
/**
|
|
26531
|
+
* Gets the credits to be displayed when a given tile is displayed.
|
|
26532
|
+
* @param x - The tile X coordinate.
|
|
26533
|
+
* @param y - The tile Y coordinate.
|
|
26534
|
+
* @param level - The tile level;
|
|
26535
|
+
* @returns The credits to be displayed when the tile is displayed.
|
|
26536
|
+
*/
|
|
26537
|
+
getTileCredits(x: number, y: number, level: number): Credit[] | undefined;
|
|
26538
|
+
/**
|
|
26539
|
+
* Requests the image for a given tile.
|
|
26540
|
+
* @param x - The tile X coordinate.
|
|
26541
|
+
* @param y - The tile Y coordinate.
|
|
26542
|
+
* @param level - The tile level.
|
|
26543
|
+
* @param [request] - The request object. Intended for internal use only.
|
|
26544
|
+
* @returns A promise for the image that will resolve when the image is available, or
|
|
26545
|
+
undefined if there are too many active requests to the server, and the request should be retried later.
|
|
26546
|
+
*/
|
|
26547
|
+
requestImage(x: number, y: number, level: number, request?: Request): Promise<ImageryTypes> | undefined;
|
|
26548
|
+
/**
|
|
26549
|
+
* Picking features is not currently supported by this imagery provider, so this function simply returns
|
|
26550
|
+
undefined.
|
|
26551
|
+
* @param x - The tile X coordinate.
|
|
26552
|
+
* @param y - The tile Y coordinate.
|
|
26553
|
+
* @param level - The tile level.
|
|
26554
|
+
* @param longitude - The longitude at which to pick features.
|
|
26555
|
+
* @param latitude - The latitude at which to pick features.
|
|
26556
|
+
* @returns Undefined since picking is not supported.
|
|
26557
|
+
*/
|
|
26558
|
+
pickFeatures(x: number, y: number, level: number, longitude: number, latitude: number): undefined;
|
|
26559
|
+
}
|
|
26560
|
+
|
|
26430
26561
|
export namespace Billboard {
|
|
26431
26562
|
/**
|
|
26432
26563
|
* Initialization options for the first param of Billboard constructor
|
|
@@ -33475,7 +33606,7 @@ export class Google2DImageryProvider {
|
|
|
33475
33606
|
});
|
|
33476
33607
|
* @example
|
|
33477
33608
|
* // Google 2D roadmap overlay with custom styles
|
|
33478
|
-
const
|
|
33609
|
+
const googleTilesProvider = Cesium.Google2DImageryProvider.fromIonAssetId({
|
|
33479
33610
|
assetId: 3830184,
|
|
33480
33611
|
overlayLayerType: "layerRoadmap",
|
|
33481
33612
|
styles: [
|
|
@@ -33531,7 +33662,7 @@ export class Google2DImageryProvider {
|
|
|
33531
33662
|
* // Google 2D roadmap overlay with custom styles
|
|
33532
33663
|
Cesium.GoogleMaps.defaultApiKey = "your-api-key";
|
|
33533
33664
|
|
|
33534
|
-
const
|
|
33665
|
+
const googleTilesProvider = Cesium.Google2DImageryProvider.fromUrl({
|
|
33535
33666
|
overlayLayerType: "layerRoadmap",
|
|
33536
33667
|
styles: [
|
|
33537
33668
|
{
|