Skip to content

Commit

Permalink
Merge branch 'main' into control-characters-in-labels-causes-the-rend…
Browse files Browse the repository at this point in the history
…er-to-stop-CesiumGS#12278-PR
  • Loading branch information
MNPCMW6444 authored Nov 3, 2024
2 parents 3884d92 + 57857b0 commit 344a3b3
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
name: "CZML Model",
version: "1.0",
clock: {
interval: "2015-01-01T00:00:00Z/2015-01-01T00:00:20Z",
currentTime: "2015-01-01T00:00:00Z",
interval: "2015-01-01T12:00:00Z/2015-01-01T12:00:20Z",
currentTime: "2015-01-01T12:00:00Z",
multiplier: 20,
},
},
Expand All @@ -55,7 +55,7 @@
nodeTransformations: {
Skeleton_arm_joint_L__3_: {
rotation: {
epoch: "2015-01-01T00:00:00Z",
epoch: "2015-01-01T12:00:00Z",
unitQuaternion: [
0, -0.23381920887303329, -0.6909886782144156, -0.0938384854833712,
0.6775378681547408, 10, -0.4924076887347565, -0.6304934596091216,
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
- New constructor options: `options.shouldAnimate`, `options.automaticallyTrackDataSourceClocks`, `options.dataSources`
- New properties: `dataSourceDisplay`, `entities`, `dataSources`, `allowDataSourcesToSuspendAnimation`, `trackedEntity`, `trackedEntityChanged`, `clockTrackedDataSource`
- New functions: `zoomTo()`, `flyTo()`
- Update Bing Maps attribution link [#12229] (https://github.com/CesiumGS/cesium/pull/12265)
- Update Bing Maps attribution link [#12265](https://github.com/CesiumGS/cesium/pull/12265)

##### Fixes :wrench:

Expand Down
4 changes: 2 additions & 2 deletions ThirdParty.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"license": [
"BSD-3-Clause"
],
"version": "2.7.52",
"version": "2.7.53",
"url": "https://www.npmjs.com/package/@zip.js/zip.js"
},
{
Expand Down Expand Up @@ -133,7 +133,7 @@
"license": [
"MIT"
],
"version": "0.21.0",
"version": "0.22.0",
"url": "https://www.npmjs.com/package/meshoptimizer"
},
{
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cesium",
"version": "1.122.0",
"version": "1.123.0",
"description": "CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.",
"homepage": "http://cesium.com/cesiumjs/",
"license": "Apache-2.0",
Expand Down Expand Up @@ -51,8 +51,8 @@
"./Specs/**/*"
],
"dependencies": {
"@cesium/engine": "^11.1.0",
"@cesium/widgets": "^8.1.0"
"@cesium/engine": "^12.0.0",
"@cesium/widgets": "^9.0.0"
},
"devDependencies": {
"@playwright/test": "^1.41.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/engine/Source/Core/Ion.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Resource from "./Resource.js";

let defaultTokenCredit;
const defaultAccessToken =
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI1ZjJlYTllMy1kYWRiLTQwYjctOGZhOS02NGJkOTJhYTA1ODUiLCJpZCI6MjU5LCJpYXQiOjE3Mjc3OTI2NzB9.XbfI79d1v3T5OpMl4CznrcBuctSfW1lycPWlt8bq_1A";
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJiZjBmMDE4Ny05M2JlLTRlMzgtYjIxYi05YmJjM2QwMzJkYWMiLCJpZCI6MjU5LCJpYXQiOjE3MzA0NjY3MDl9.t-7gCGPUe-oGCyCoeXPtYmlMVdgqUQD9mn-Da23yUoI";
/**
* Default settings for accessing the Cesium ion API.
*
Expand Down
2 changes: 1 addition & 1 deletion packages/engine/Source/Scene/ArcGisMapService.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Resource from "../Core/Resource.js";

let defaultTokenCredit;
const defaultAccessToken =
"AAPTxy8BH1VEsoebNVZXo8HurEOF051kAEKlhkOhBEc9BmRQoHkV6yy7n-w7RwBvqWZInYtbyiKcHHbPb4eH54WQnfJ6TQhd3sKcL6dutvEZajLojeHefo1qcBMplg4hb9OtcvtchKPzwRyH1-W_12nt2rhP3xbk8peiMvgIWZ__JYvZ8Wqw-8UWulEjXnpLRjclKf3NYHCTQgaw6Y6labxudMrnBgOODrJ1WdRxek-flc8.AT1_UW44TSnh";
"AAPTxy8BH1VEsoebNVZXo8HurEOF051kAEKlhkOhBEc9BmQpcUfxe1Yndhf82d5oKkQJ4_7VPaBQGYSISOMaRew7Sy-eTX1JQ4XwaC8v5aCvV72O6LCPs5Ss1pXXH-0uEw6bSRhTeQYHOmikutC2OMyZt6lu0VfT7FA-jVMO_UsunWNTf2cycP2O4IeDN_UV9G-VNmUu2jRvCHioi8o72ua4238s2219cYLEmcoGRJGVJTA.AT1_PjLvyih0";
/**
* Default options for accessing the ArcGIS image tile service.
*
Expand Down
2 changes: 1 addition & 1 deletion packages/engine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cesium/engine",
"version": "11.1.0",
"version": "12.0.0",
"description": "CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.",
"keywords": [
"3D",
Expand Down
8 changes: 8 additions & 0 deletions packages/widgets/Source/Viewer/Viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1926,6 +1926,14 @@ Viewer.prototype._onDataSourceAdded = function (
dataSourceCollection,
dataSource,
) {
if (
this._cesiumWidget._automaticallyTrackDataSourceClocks &&
dataSource === this.clockTrackedDataSource
) {
// When data sources are added to the CesiumWidget they may be automatically
// tracked in that class but we also need to update the timeline in this class
linkTimelineToDataSourceClock(this._timeline, dataSource);
}
const id = dataSource.entities.id;
const removalFunc = this._eventHelper.add(
dataSource.changedEvent,
Expand Down
4 changes: 2 additions & 2 deletions packages/widgets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cesium/widgets",
"version": "8.1.0",
"version": "9.0.0",
"description": "A widgets library for use with CesiumJS. CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.",
"keywords": [
"3D",
Expand Down Expand Up @@ -28,7 +28,7 @@
"node": ">=14.0.0"
},
"dependencies": {
"@cesium/engine": "^11.1.0",
"@cesium/engine": "^12.0.0",
"nosleep.js": "^0.12.0"
},
"type": "module",
Expand Down

0 comments on commit 344a3b3

Please sign in to comment.