bruce-cesium 6.6.7 → 6.6.8
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/dist/bruce-cesium.es5.js +6 -6
- package/dist/bruce-cesium.es5.js.map +1 -1
- package/dist/bruce-cesium.umd.js +4 -4
- package/dist/bruce-cesium.umd.js.map +1 -1
- package/dist/lib/bruce-cesium.js +1 -1
- package/dist/lib/rendering/render-managers/other/google-search-render-manager.js +1 -1
- package/dist/lib/rendering/render-managers/other/google-search-render-manager.js.map +1 -1
- package/dist/lib/rendering/view-render-engine.js +1 -1
- package/dist/lib/rendering/view-render-engine.js.map +1 -1
- package/dist/lib/widgets/controls-view-bar/widget-control-view-bar-search.js +1 -1
- package/dist/types/bruce-cesium.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-cesium.es5.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Cartes, Entity as Entity$1, Geometry, ProjectViewTile, ENVIRONMENT, EntityRelationType, EntityType, Calculator, Style, DelayQueue, LRUCache, BruceEvent, ObjectUtils, AccountConcept, EntityHistoricData, EntityLod, RecordChangeFeed, ZoomControl, EntityTag, Tileset, EntityCoords, Api, DataLab, EntitySource, ClientFile, MenuItem, EntityRelation, BruceApi, ProgramKey, Bounds, Carto, ProjectView, ProjectViewBookmark,
|
|
1
|
+
import { Cartes, Entity as Entity$1, Geometry, ProjectViewTile, ENVIRONMENT, EntityRelationType, EntityType, Calculator, Style, DelayQueue, LRUCache, BruceEvent, ObjectUtils, AccountConcept, EntityHistoricData, EntityLod, RecordChangeFeed, ZoomControl, EntityTag, Tileset, EntityCoords, Api, DataLab, EntitySource, ClientFile, MenuItem, EntityRelation, BruceApi, ProgramKey, Bounds, Carto, ProjectView, ProjectViewBookmark, ProjectViewLegacyTile, Camera, EntityAttachment, EntityAttachmentType, EntityAttribute, MathUtils, Session } from 'bruce-models';
|
|
2
2
|
import * as Cesium from 'cesium';
|
|
3
|
-
import { Cartographic, ColorMaterialProperty, Entity, Color, ConstantProperty, CallbackProperty, Primitive, Cesium3DTileFeature,
|
|
3
|
+
import { Cartographic, ColorMaterialProperty, Entity, Color, ConstantProperty, CallbackProperty, Primitive, Cesium3DTileFeature, Math as Math$1, Cartesian3, JulianDate, Quaternion, Transforms, HeadingPitchRoll, Matrix4, DistanceDisplayCondition, HeightReference, ColorBlendMode, ShadowMode, ClassificationType, Model, HorizontalOrigin, VerticalOrigin, ConstantPositionProperty, PolygonHierarchy, PolylineGraphics, ArcType, CornerType, Cartesian2, SceneTransforms, NearFarScalar, Matrix3, Rectangle, KmlDataSource, GeoJsonDataSource, SceneMode, Cesium3DTileStyle, HeadingPitchRange, Cesium3DTileColorBlendMode, Ion, Cesium3DTileset, IonResource, EllipsoidTerrainProvider, IonImageryProvider, createWorldImagery, createWorldImageryAsync, BingMapsImageryProvider, BingMapsStyle, MapboxImageryProvider, MapboxStyleImageryProvider, ArcGisMapServerImageryProvider, OpenStreetMapImageryProvider, UrlTemplateImageryProvider, GridImageryProvider, GeographicTilingScheme, ImageryLayer, TileMapServiceImageryProvider, CesiumTerrainProvider, OrthographicFrustum, EasingFunction, ModelGraphics, PolygonGraphics, CorridorGraphics, PointGraphics, BillboardGraphics, EllipseGraphics, PolylineDashMaterialProperty, EllipsoidGeodesic, sampleTerrainMostDetailed, defined, BoundingSphere, GeometryInstance, PolygonPipeline, CesiumInspector, ClockRange, ScreenSpaceEventHandler, ScreenSpaceEventType, Intersect, CzmlDataSource, Fullscreen } from 'cesium';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Ensures a number is returned from a given value.
|
|
@@ -19584,7 +19584,7 @@ async function getPlaces(params) {
|
|
|
19584
19584
|
`?location=${location.latitude},${location.longitude}` +
|
|
19585
19585
|
`&radius=1000` +
|
|
19586
19586
|
`&keyword=${encodeURIComponent(keyword)}`;
|
|
19587
|
-
const response = await api.
|
|
19587
|
+
const response = await api.GET(url);
|
|
19588
19588
|
const status = response === null || response === void 0 ? void 0 : response.status;
|
|
19589
19589
|
if (status === "ZERO_RESULTS") {
|
|
19590
19590
|
throw "ZERO_RESULTS";
|
|
@@ -23873,7 +23873,7 @@ async function renderNavigator(iteration, params, bookmark, view, getters) {
|
|
|
23873
23873
|
await bruceApi.Loading;
|
|
23874
23874
|
// Proxy path: token injected server-side.
|
|
23875
23875
|
if (bruceApi.IsVersionAtLeast(BruceApi.VERSION_WITH_PROXIES)) {
|
|
23876
|
-
Ion.defaultServer = bruceApi.GetBaseUrl() + "proxy/cesium-ion";
|
|
23876
|
+
Ion.defaultServer = bruceApi.GetBaseUrl() + "proxy/cesium-ion/";
|
|
23877
23877
|
Ion.defaultAccessToken = "proxy";
|
|
23878
23878
|
cTokenSet = true;
|
|
23879
23879
|
}
|
|
@@ -35843,7 +35843,7 @@ class WidgetControlViewBarSearch extends WidgetControlViewBar.AControl {
|
|
|
35843
35843
|
const api = ENVIRONMENT.Api().GetBruceApi();
|
|
35844
35844
|
await api.Loading;
|
|
35845
35845
|
if (api.IsVersionAtLeast(BruceApi.VERSION_WITH_PROXIES)) {
|
|
35846
|
-
return api.
|
|
35846
|
+
return api.GET(`proxy/cesium-ion/v1/geocode/autocomplete?text=${encodeURIComponent(text)}&access_token=proxy`);
|
|
35847
35847
|
}
|
|
35848
35848
|
// Legacy: "Ion.defaultAccessToken" is the real token set by viewer init on old API versions.
|
|
35849
35849
|
const token = (_a = Ion.defaultAccessToken) !== null && _a !== void 0 ? _a : "";
|
|
@@ -36337,7 +36337,7 @@ class WidgetViewBar extends Widget.AWidget {
|
|
|
36337
36337
|
}
|
|
36338
36338
|
}
|
|
36339
36339
|
|
|
36340
|
-
const VERSION = "6.6.
|
|
36340
|
+
const VERSION = "6.6.8";
|
|
36341
36341
|
/**
|
|
36342
36342
|
* Updates the environment instance used by bruce-cesium to one specified.
|
|
36343
36343
|
* This can be used to ensure that the instance a parent is referencing is shared between bruce-cesium, bruce-models, and the parent app.
|