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.umd.js
CHANGED
|
@@ -19527,7 +19527,7 @@
|
|
|
19527
19527
|
`?location=${location.latitude},${location.longitude}` +
|
|
19528
19528
|
`&radius=1000` +
|
|
19529
19529
|
`&keyword=${encodeURIComponent(keyword)}`;
|
|
19530
|
-
const response = await api.
|
|
19530
|
+
const response = await api.GET(url);
|
|
19531
19531
|
const status = response === null || response === void 0 ? void 0 : response.status;
|
|
19532
19532
|
if (status === "ZERO_RESULTS") {
|
|
19533
19533
|
throw "ZERO_RESULTS";
|
|
@@ -23790,7 +23790,7 @@
|
|
|
23790
23790
|
await bruceApi.Loading;
|
|
23791
23791
|
// Proxy path: token injected server-side.
|
|
23792
23792
|
if (bruceApi.IsVersionAtLeast(BModels.BruceApi.VERSION_WITH_PROXIES)) {
|
|
23793
|
-
Cesium.Ion.defaultServer = bruceApi.GetBaseUrl() + "proxy/cesium-ion";
|
|
23793
|
+
Cesium.Ion.defaultServer = bruceApi.GetBaseUrl() + "proxy/cesium-ion/";
|
|
23794
23794
|
Cesium.Ion.defaultAccessToken = "proxy";
|
|
23795
23795
|
cTokenSet = true;
|
|
23796
23796
|
}
|
|
@@ -35732,7 +35732,7 @@
|
|
|
35732
35732
|
const api = BModels.ENVIRONMENT.Api().GetBruceApi();
|
|
35733
35733
|
await api.Loading;
|
|
35734
35734
|
if (api.IsVersionAtLeast(BModels.BruceApi.VERSION_WITH_PROXIES)) {
|
|
35735
|
-
return api.
|
|
35735
|
+
return api.GET(`proxy/cesium-ion/v1/geocode/autocomplete?text=${encodeURIComponent(text)}&access_token=proxy`);
|
|
35736
35736
|
}
|
|
35737
35737
|
// Legacy: "Ion.defaultAccessToken" is the real token set by viewer init on old API versions.
|
|
35738
35738
|
const token = (_a = Cesium.Ion.defaultAccessToken) !== null && _a !== void 0 ? _a : "";
|
|
@@ -36226,7 +36226,7 @@
|
|
|
36226
36226
|
}
|
|
36227
36227
|
}
|
|
36228
36228
|
|
|
36229
|
-
const VERSION = "6.6.
|
|
36229
|
+
const VERSION = "6.6.8";
|
|
36230
36230
|
/**
|
|
36231
36231
|
* Updates the environment instance used by bruce-cesium to one specified.
|
|
36232
36232
|
* This can be used to ensure that the instance a parent is referencing is shared between bruce-cesium, bruce-models, and the parent app.
|