Commit cc0d3839 authored by iSergio's avatar iSergio
Browse files

CesiumJS version up to 1.74

parent c381ee9e
Loading
Loading
Loading
Loading
+48 −58
Original line number Diff line number Diff line
@@ -846,28 +846,6 @@ export class AxisAlignedBoundingBox {
    equals(right?: AxisAlignedBoundingBox): boolean;
}
/**
 * Object for setting and retrieving the default Bing Maps API key.
 *
 * A Bing API key is only required if you are using {@link BingMapsImageryProvider}
 * or {@link BingMapsGeocoderService}. You can create your own key at
 * {@link https://www.bingmapsportal.com/}.
 */
export namespace BingMapsApi {
    /**
     * The default Bing Maps API key to use if one is not provided to the
     * constructor of an object that uses the Bing Maps API.
     */
    var defaultKey: string;
    /**
     * Gets the key to use to access the Bing Maps API. If the provided
     * key is defined, it is returned. Otherwise, returns {@link BingMapsApi.defaultKey}.
     * @param providedKey - The provided key to use if defined.
     * @returns The Bing Maps API key to use.
     */
    function getKey(providedKey: string | null | undefined): string | undefined;
}
/**
 * Provides geocoding through Bing Maps.
 * @param options - Object with the following properties:
@@ -4366,15 +4344,15 @@ export class CompressedTextureBuffer {
/**
 * A description of a polygon composed of arbitrary coplanar positions.
 * @example
 * var polygon = new Cesium.CoplanarPolygonGeometry({
 *   positions : Cesium.Cartesian3.fromDegreesArrayHeights([
 * var polygonGeometry = new Cesium.CoplanarPolygonGeometry({
 *  polygonHierarchy: new Cesium.PolygonHierarchy(
 *     Cesium.Cartesian3.fromDegreesArrayHeights([
 *      -90.0, 30.0, 0.0,
 *      -90.0, 30.0, 1000.0,
 *      -80.0, 30.0, 1000.0,
 *      -90.0, 30.0, 300000.0,
 *      -80.0, 30.0, 300000.0,
 *      -80.0, 30.0, 0.0
 *   ])
 *   ]))
 * });
 * var geometry = Cesium.CoplanarPolygonGeometry.createGeometry(polygon);
 * @param options - Object with the following properties:
 * @param options.polygonHierarchy - A polygon hierarchy that can include holes.
 * @param [options.stRotation = 0.0] - The rotation of the texture coordinates, in radians. A positive rotation is counter-clockwise.
@@ -8705,19 +8683,6 @@ export class MapProjection {
    unproject(cartesian: Cartesian3, result?: Cartographic): Cartographic;
}
export namespace MapboxApi {
    /**
     * The default Mapbox API access token to use if one is not provided to the
     * constructor of an object that uses the Mapbox API.  If this property is undefined,
     * Cesium's default access token is used, which is only suitable for use early in development.
     * Please supply your own access token as soon as possible and prior to deployment.
     * Visit {@link https://www.mapbox.com/help/create-api-access-token/} for details.
     * When Cesium's default access token is used, a message is printed to the console the first
     * time the Mapbox API is used.
     */
    var defaultAccessToken: string;
}
/**
 * Math functions.
 */
@@ -9900,6 +9865,13 @@ export class Matrix3 implements ArrayLike<number> {
     * @returns The modified result parameter.
     */
    static inverse(matrix: Matrix3, result: Matrix3): Matrix3;
    /**
     * Computes the inverse transpose of a matrix.
     * @param matrix - The matrix to transpose and invert.
     * @param result - The object onto which to store the result.
     * @returns The modified result parameter.
     */
    static inverseTranspose(matrix: Matrix3, result: Matrix3): Matrix3;
    /**
     * Compares the provided matrices componentwise and returns
     * <code>true</code> if they are equal, <code>false</code> otherwise.
@@ -10697,6 +10669,13 @@ export class Matrix4 implements ArrayLike<number> {
     * @returns The modified result parameter.
     */
    static inverseTransformation(matrix: Matrix4, result: Matrix4): Matrix4;
    /**
     * Computes the inverse transpose of a matrix.
     * @param matrix - The matrix to transpose and invert.
     * @param result - The object onto which to store the result.
     * @returns The modified result parameter.
     */
    static inverseTranspose(matrix: Matrix4, result: Matrix4): Matrix4;
    /**
     * An immutable Matrix4 instance initialized to the identity matrix.
     */
@@ -25190,7 +25169,6 @@ export namespace BingMapsImageryProvider {
     * @property url - The url of the Bing Maps server hosting the imagery.
     * @property key - The Bing Maps key for your application, which can be
     *        created at {@link https://www.bingmapsportal.com/}.
     *        If this parameter is not provided, {@link BingMapsApi.defaultKey} is used, which is undefined by default.
     * @property [tileProtocol] - The protocol to use when loading tiles, e.g. 'http' or 'https'.
     *        By default, tiles are loaded using the same protocol as the page.
     * @property [mapStyle = BingMapsStyle.AERIAL] - The type of Bing Maps imagery to load.
@@ -30374,20 +30352,31 @@ export class GoogleEarthEnterpriseMapsProvider {
export namespace GridImageryProvider {
    /**
     * Initialization options for the GridImageryProvider constructor
     * @param [tilingScheme = new GeographicTilingScheme()] - The tiling scheme for which to draw tiles.
     * @param [ellipsoid] - The ellipsoid.  If the tilingScheme is specified,
     * @property [tilingScheme = new GeographicTilingScheme()] - The tiling scheme for which to draw tiles.
     * @property [ellipsoid] - The ellipsoid.  If the tilingScheme is specified,
     *                    this parameter is ignored and the tiling scheme's ellipsoid is used instead. If neither
     *                    parameter is specified, the WGS84 ellipsoid is used.
     * @param [cells = 8] - The number of grids cells.
     * @param [color = Color(1.0, 1.0, 1.0, 0.4)] - The color to draw grid lines.
     * @param [glowColor = Color(0.0, 1.0, 0.0, 0.05)] - The color to draw glow for grid lines.
     * @param [glowWidth = 6] - The width of lines used for rendering the line glow effect.
     * @param [backgroundColor = Color(0.0, 0.5, 0.0, 0.2)] - Background fill color.
     * @param [tileWidth = 256] - The width of the tile for level-of-detail selection purposes.
     * @param [tileHeight = 256] - The height of the tile for level-of-detail selection purposes.
     * @param [canvasSize = 256] - The size of the canvas used for rendering.
     * @property [cells = 8] - The number of grids cells.
     * @property [color = Color(1.0, 1.0, 1.0, 0.4)] - The color to draw grid lines.
     * @property [glowColor = Color(0.0, 1.0, 0.0, 0.05)] - The color to draw glow for grid lines.
     * @property [glowWidth = 6] - The width of lines used for rendering the line glow effect.
     * @property [backgroundColor = Color(0.0, 0.5, 0.0, 0.2)] - Background fill color.
     * @property [tileWidth = 256] - The width of the tile for level-of-detail selection purposes.
     * @property [tileHeight = 256] - The height of the tile for level-of-detail selection purposes.
     * @property [canvasSize = 256] - The size of the canvas used for rendering.
     */
    type ConstructorOptions = any;
    type ConstructorOptions = {
        tilingScheme?: TilingScheme;
        ellipsoid?: Ellipsoid;
        cells?: number;
        color?: Color;
        glowColor?: Color;
        glowWidth?: number;
        backgroundColor?: Color;
        tileWidth?: number;
        tileHeight?: number;
        canvasSize?: number;
    };
}
/**
@@ -36467,8 +36456,7 @@ export class PrimitiveCollection {
     * @example
     * var billboards = scene.primitives.add(new Cesium.BillboardCollection());
     * @param primitive - The primitive to add.
     * @param [index] - the index to add the layer at.  If omitted, the primitive will
     *                         added at the bottom  of all existing primitives.
     * @param [index] - The index to add the layer at.  If omitted, the primitive will be added at the bottom of all existing primitives.
     * @returns The primitive added to the collection.
     */
    add(primitive: any, index?: number): any;
@@ -42044,6 +42032,10 @@ export class Viewer {
    trackedEntity: Entity | undefined;
    /**
     * Gets or sets the object instance for which to display a selection indicator.
     *
     * If a user interactively picks a Cesium3DTilesFeature instance, then this property
     * will contain a transient Entity instance with a property named "feature" that is
     * the instance that was picked.
     */
    selectedEntity: Entity | undefined;
    /**
@@ -42227,7 +42219,6 @@ declare module "cesium/Source/Core/ArcGISTiledElevationTerrainProvider" { import
declare module "cesium/Source/Core/ArcType" { import { ArcType } from 'cesium'; export default ArcType; }
declare module "cesium/Source/Core/AssociativeArray" { import { AssociativeArray } from 'cesium'; export default AssociativeArray; }
declare module "cesium/Source/Core/AxisAlignedBoundingBox" { import { AxisAlignedBoundingBox } from 'cesium'; export default AxisAlignedBoundingBox; }
declare module "cesium/Source/Core/BingMapsApi" { import { BingMapsApi } from 'cesium'; export default BingMapsApi; }
declare module "cesium/Source/Core/BingMapsGeocoderService" { import { BingMapsGeocoderService } from 'cesium'; export default BingMapsGeocoderService; }
declare module "cesium/Source/Core/BoundingRectangle" { import { BoundingRectangle } from 'cesium'; export default BoundingRectangle; }
declare module "cesium/Source/Core/BoundingSphere" { import { BoundingSphere } from 'cesium'; export default BoundingSphere; }
@@ -42319,7 +42310,6 @@ declare module "cesium/Source/Core/LeapSecond" { import { LeapSecond } from 'ces
declare module "cesium/Source/Core/LinearApproximation" { import { LinearApproximation } from 'cesium'; export default LinearApproximation; }
declare module "cesium/Source/Core/LinearSpline" { import { LinearSpline } from 'cesium'; export default LinearSpline; }
declare module "cesium/Source/Core/MapProjection" { import { MapProjection } from 'cesium'; export default MapProjection; }
declare module "cesium/Source/Core/MapboxApi" { import { MapboxApi } from 'cesium'; export default MapboxApi; }
declare module "cesium/Source/Core/Math" { import { Math } from 'cesium'; export default Math; }
declare module "cesium/Source/Core/Matrix2" { import { Matrix2 } from 'cesium'; export default Matrix2; }
declare module "cesium/Source/Core/Matrix3" { import { Matrix3 } from 'cesium'; export default Matrix3; }
+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

Loading