bruce-models 0.7.5 → 0.7.7
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-models.es5.js +183 -16
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +180 -14
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/account/account.js +244 -244
- package/dist/lib/ann-document/ann-document.js +116 -116
- package/dist/lib/api/abstract-api.js +269 -267
- package/dist/lib/api/abstract-api.js.map +1 -1
- package/dist/lib/api/api.js +85 -85
- package/dist/lib/api/bruce-api.js +228 -202
- package/dist/lib/api/bruce-api.js.map +1 -1
- package/dist/lib/api/cam-api.js +132 -132
- package/dist/lib/api/cam-api.js.map +1 -1
- package/dist/lib/api/global-api.js +131 -131
- package/dist/lib/api/global-api.js.map +1 -1
- package/dist/lib/api/idm-api.js +132 -132
- package/dist/lib/api/idm-api.js.map +1 -1
- package/dist/lib/bruce-models.js +84 -83
- package/dist/lib/bruce-models.js.map +1 -1
- package/dist/lib/calculator/calculator.js +158 -158
- package/dist/lib/client-file/client-file.js +188 -188
- package/dist/lib/common/bounds.js +2 -2
- package/dist/lib/common/bruce-event.js +48 -48
- package/dist/lib/common/bruce-variable.js +54 -54
- package/dist/lib/common/cache.js +86 -86
- package/dist/lib/common/camera.js +11 -11
- package/dist/lib/common/cartes.js +55 -55
- package/dist/lib/common/carto.js +60 -60
- package/dist/lib/common/color.js +86 -86
- package/dist/lib/common/delay-queue.js +60 -60
- package/dist/lib/common/dictionary.js +2 -2
- package/dist/lib/common/geometry.js +120 -120
- package/dist/lib/common/transform.js +2 -2
- package/dist/lib/common/utc.js +39 -39
- package/dist/lib/custom-form/custom-form.js +136 -136
- package/dist/lib/data-lab/data-lab.js +90 -90
- package/dist/lib/entity/entity-attachment-type.js +132 -132
- package/dist/lib/entity/entity-attachment.js +208 -208
- package/dist/lib/entity/entity-comment.js +132 -132
- package/dist/lib/entity/entity-coords.js +181 -181
- package/dist/lib/entity/entity-link.js +132 -132
- package/dist/lib/entity/entity-lod.js +189 -189
- package/dist/lib/entity/entity-relation-type.js +150 -150
- package/dist/lib/entity/entity-relation.js +189 -189
- package/dist/lib/entity/entity-source.js +176 -176
- package/dist/lib/entity/entity-tag.js +229 -229
- package/dist/lib/entity/entity-type.js +163 -163
- package/dist/lib/entity/entity.js +358 -358
- package/dist/lib/entity/getters/batched-data-getter.js +91 -91
- package/dist/lib/entity/getters/entity-filter-getter.js +344 -344
- package/dist/lib/entity/getters/entity-globe.js +135 -135
- package/dist/lib/entity/getters/view-monitor.js +2 -2
- package/dist/lib/import/import-cad.js +82 -82
- package/dist/lib/import/import-csv.js +51 -51
- package/dist/lib/import/import-json.js +51 -51
- package/dist/lib/import/import-kml.js +51 -51
- package/dist/lib/import/imported-file.js +121 -121
- package/dist/lib/markup/markup.js +40 -40
- package/dist/lib/program-key/program-key.js +152 -152
- package/dist/lib/project/menu-item.js +115 -115
- package/dist/lib/project/project-view-bookmark.js +183 -172
- package/dist/lib/project/project-view-bookmark.js.map +1 -1
- package/dist/lib/project/{project-view-tile-source.js → project-view-legacy-tile.js} +116 -116
- package/dist/lib/project/project-view-legacy-tile.js.map +1 -0
- package/dist/lib/project/project-view-tile.js +120 -0
- package/dist/lib/project/project-view-tile.js.map +1 -0
- package/dist/lib/project/project-view.js +177 -166
- package/dist/lib/project/project-view.js.map +1 -1
- package/dist/lib/project/zoom-control.js +17 -17
- package/dist/lib/server/pending-action.js +106 -106
- package/dist/lib/server/task.js +113 -113
- package/dist/lib/style/style.js +152 -152
- package/dist/lib/tileset/tileset-cad.js +2 -2
- package/dist/lib/tileset/tileset-entities-map-tiles.js +18 -18
- package/dist/lib/tileset/tileset-entities.js +2 -2
- package/dist/lib/tileset/tileset-ext-map-tiles.js +17 -17
- package/dist/lib/tileset/tileset-ext-terrain-tiles.js +2 -2
- package/dist/lib/tileset/tileset-map-tiles.js +2 -2
- package/dist/lib/tileset/tileset-pointcloud.js +2 -2
- package/dist/lib/tileset/tileset-terrain-tiles.js +2 -2
- package/dist/lib/tileset/tileset.js +403 -403
- package/dist/lib/user/permission.js +20 -20
- package/dist/lib/user/session.js +160 -160
- package/dist/lib/user/user-group.js +139 -139
- package/dist/lib/user/user.js +451 -451
- package/dist/lib/util/encrypt-utils.js +20 -20
- package/dist/lib/util/math-utils.js +41 -41
- package/dist/lib/util/object-utils.js +17 -17
- package/dist/lib/util/path-utils.js +61 -61
- package/dist/lib/util/url-utils.js +107 -107
- package/dist/types/api/abstract-api.d.ts +1 -1
- package/dist/types/api/bruce-api.d.ts +22 -2
- package/dist/types/api/cam-api.d.ts +1 -1
- package/dist/types/api/global-api.d.ts +1 -1
- package/dist/types/api/idm-api.d.ts +1 -1
- package/dist/types/bruce-models.d.ts +2 -1
- package/dist/types/project/project-view-bookmark.d.ts +85 -36
- package/dist/types/project/{project-view-tile-source.d.ts → project-view-legacy-tile.d.ts} +1 -1
- package/dist/types/project/project-view-tile.d.ts +68 -0
- package/dist/types/project/project-view.d.ts +64 -39
- package/package.json +1 -1
- package/dist/lib/project/project-view-tile-source.js.map +0 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -463,20 +463,22 @@ var AbstractApi = /** @class */ (function () {
|
|
|
463
463
|
var _a;
|
|
464
464
|
return __awaiter(this, void 0, void 0, function () {
|
|
465
465
|
var res;
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
switch (_c.label) {
|
|
466
|
+
return __generator(this, function (_b) {
|
|
467
|
+
switch (_b.label) {
|
|
469
468
|
case 0:
|
|
470
469
|
if (!params) {
|
|
471
470
|
params = {};
|
|
472
471
|
}
|
|
473
472
|
params.headers = params.headers || {};
|
|
474
|
-
params.headers = __assign(
|
|
473
|
+
params.headers = __assign({ "Content-Type": "application/json;" }, params.headers);
|
|
474
|
+
if (this.ssidHeader) {
|
|
475
|
+
params.headers[this.ssidHeader] = this.ssid;
|
|
476
|
+
}
|
|
475
477
|
return [4 /*yield*/, fetch(url, {
|
|
476
478
|
headers: params.headers
|
|
477
479
|
})];
|
|
478
480
|
case 1:
|
|
479
|
-
res =
|
|
481
|
+
res = _b.sent();
|
|
480
482
|
return [2 /*return*/, parseResult(res, (_a = params.response) === null || _a === void 0 ? void 0 : _a.encoding)];
|
|
481
483
|
}
|
|
482
484
|
});
|
|
@@ -923,22 +925,30 @@ var BruceApi;
|
|
|
923
925
|
*/
|
|
924
926
|
var Api$$1 = /** @class */ (function (_super) {
|
|
925
927
|
__extends(Api$$1, _super);
|
|
926
|
-
|
|
928
|
+
/**
|
|
929
|
+
* @param accountId
|
|
930
|
+
* @param env (Optional) environment to use, this will default to PROD.
|
|
931
|
+
* @param cam (Optional) cam instance to use for loading the regional base url.
|
|
932
|
+
*/
|
|
933
|
+
function Api$$1(accountId, env, cam) {
|
|
927
934
|
var _this = _super.call(this, "x-sessionid") || this;
|
|
928
935
|
_this.baseUrl = "";
|
|
936
|
+
_this.loadCancelled = false;
|
|
929
937
|
_this.accountId = accountId;
|
|
930
938
|
_this.env = env !== null && env !== void 0 ? env : Api.EEnv.PROD;
|
|
931
|
-
_this.loadProm = _this.setBaseUrl();
|
|
939
|
+
_this.loadProm = _this.setBaseUrl(cam);
|
|
932
940
|
return _this;
|
|
933
941
|
}
|
|
934
942
|
Object.defineProperty(Api$$1.prototype, "Loading", {
|
|
943
|
+
// Indicates if the init process has finished loading.
|
|
944
|
+
// This means the regional base url has been set.
|
|
935
945
|
get: function () {
|
|
936
946
|
return this.loadProm;
|
|
937
947
|
},
|
|
938
948
|
enumerable: false,
|
|
939
949
|
configurable: true
|
|
940
950
|
});
|
|
941
|
-
Api$$1.prototype.setBaseUrl = function () {
|
|
951
|
+
Api$$1.prototype.setBaseUrl = function (cam) {
|
|
942
952
|
var _a;
|
|
943
953
|
return __awaiter(this, void 0, void 0, function () {
|
|
944
954
|
var prefix, url, env, camApi, settings, endpoint, e_1;
|
|
@@ -967,10 +977,14 @@ var BruceApi;
|
|
|
967
977
|
_b.label = 1;
|
|
968
978
|
case 1:
|
|
969
979
|
_b.trys.push([1, 3, , 4]);
|
|
970
|
-
camApi = new CamApi.Api(env);
|
|
980
|
+
camApi = cam ? cam : new CamApi.Api(env);
|
|
971
981
|
return [4 /*yield*/, Account.GetAppSettings(camApi, this.accountId, Account.EAppId.BruceApi)];
|
|
972
982
|
case 2:
|
|
973
983
|
settings = _b.sent();
|
|
984
|
+
if (this.loadCancelled) {
|
|
985
|
+
console.warn("BruceApi: Loading was cancelled due to SetBaseUrl being called, not setting regional base url.");
|
|
986
|
+
return [2 /*return*/];
|
|
987
|
+
}
|
|
974
988
|
endpoint = (_a = settings.BruceAPIURL) === null || _a === void 0 ? void 0 : _a[env];
|
|
975
989
|
if (typeof endpoint == "string") {
|
|
976
990
|
if (!endpoint.endsWith("/")) {
|
|
@@ -988,14 +1002,28 @@ var BruceApi;
|
|
|
988
1002
|
});
|
|
989
1003
|
});
|
|
990
1004
|
};
|
|
1005
|
+
/**
|
|
1006
|
+
* Warning: This method does not wait for init to finish loading.
|
|
1007
|
+
* This means the url could be changed once fully initialized.
|
|
1008
|
+
* The url will be valid either way, but the loaded one may be faster as it is region specific.
|
|
1009
|
+
* Await the "Loading" promise if you care about this.
|
|
1010
|
+
* @returns
|
|
1011
|
+
*/
|
|
991
1012
|
Api$$1.prototype.GetBaseUrl = function () {
|
|
992
1013
|
return this.baseUrl;
|
|
993
1014
|
};
|
|
1015
|
+
/**
|
|
1016
|
+
* Warning: This will cancel the init process.
|
|
1017
|
+
* The init process loads a region specific endpoint.
|
|
1018
|
+
* Setting a base url will stop that process from completing.
|
|
1019
|
+
* @param url
|
|
1020
|
+
*/
|
|
994
1021
|
Api$$1.prototype.SetBaseUrl = function (url) {
|
|
995
1022
|
this.baseUrl = url;
|
|
996
1023
|
if (!this.baseUrl.endsWith("/")) {
|
|
997
1024
|
this.baseUrl += "/";
|
|
998
1025
|
}
|
|
1026
|
+
this.loadCancelled = true;
|
|
999
1027
|
};
|
|
1000
1028
|
Api$$1.prototype.GET = function (url, params) {
|
|
1001
1029
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -5018,6 +5046,17 @@ var ProjectViewBookmark;
|
|
|
5018
5046
|
return "" + Api.ECacheKey.ProjectViewBookmark + Api.ECacheKey.Id + viewId;
|
|
5019
5047
|
}
|
|
5020
5048
|
ProjectViewBookmark.GetListCacheKey = GetListCacheKey;
|
|
5049
|
+
// This is the expected default version for the DataVersion value.
|
|
5050
|
+
// This value should NOT be changed without looking at our API and seeing what the default value is.
|
|
5051
|
+
ProjectViewBookmark.DEFAULT_DATA_VERSION = 1;
|
|
5052
|
+
var V1;
|
|
5053
|
+
(function (V1) {
|
|
5054
|
+
V1.DATA_VERSION = 1;
|
|
5055
|
+
})(V1 = ProjectViewBookmark.V1 || (ProjectViewBookmark.V1 = {}));
|
|
5056
|
+
var V2;
|
|
5057
|
+
(function (V2) {
|
|
5058
|
+
V2.DATA_VERSION = 2;
|
|
5059
|
+
})(V2 = ProjectViewBookmark.V2 || (ProjectViewBookmark.V2 = {}));
|
|
5021
5060
|
function Get(api, viewId, bookmarkId) {
|
|
5022
5061
|
return __awaiter(this, void 0, void 0, function () {
|
|
5023
5062
|
var key, cacheData, req;
|
|
@@ -5149,6 +5188,17 @@ var ProjectView;
|
|
|
5149
5188
|
return Api.ECacheKey.ProjectView;
|
|
5150
5189
|
}
|
|
5151
5190
|
ProjectView.GetListCacheKey = GetListCacheKey;
|
|
5191
|
+
// This is the expected default version for the DataVersion value.
|
|
5192
|
+
// This value should NOT be changed without looking at our API and seeing what the default value is.
|
|
5193
|
+
ProjectView.DEFAULT_DATA_VERSION = 1;
|
|
5194
|
+
var V1;
|
|
5195
|
+
(function (V1) {
|
|
5196
|
+
V1.DATA_VERSION = 1;
|
|
5197
|
+
})(V1 = ProjectView.V1 || (ProjectView.V1 = {}));
|
|
5198
|
+
var V2;
|
|
5199
|
+
(function (V2) {
|
|
5200
|
+
V2.DATA_VERSION = 2;
|
|
5201
|
+
})(V2 = ProjectView.V2 || (ProjectView.V2 = {}));
|
|
5152
5202
|
function Get(api, viewId) {
|
|
5153
5203
|
return __awaiter(this, void 0, void 0, function () {
|
|
5154
5204
|
var key, cacheData, req;
|
|
@@ -5266,7 +5316,7 @@ function getTemplateSettings(apiGetter) {
|
|
|
5266
5316
|
var view;
|
|
5267
5317
|
return __generator(this, function (_b) {
|
|
5268
5318
|
switch (_b.label) {
|
|
5269
|
-
case 0: return [4 /*yield*/, ProjectView.Get(apiGetter.getApi(Api.TEMPLATE_ACCOUNT_ID
|
|
5319
|
+
case 0: return [4 /*yield*/, ProjectView.Get(apiGetter.getApi(Api.TEMPLATE_ACCOUNT_ID), "default")];
|
|
5270
5320
|
case 1:
|
|
5271
5321
|
view = _b.sent();
|
|
5272
5322
|
return [2 /*return*/, (_a = view.Settings) !== null && _a !== void 0 ? _a : {}];
|
|
@@ -5291,8 +5341,8 @@ function checkSourceToTemplate(items, templateItem, addIfMissing) {
|
|
|
5291
5341
|
* This is a concept we want to trash as we're moving towards storing tileset ids instead.
|
|
5292
5342
|
* This will help at least understand and manage this dying concept.
|
|
5293
5343
|
*/
|
|
5294
|
-
var
|
|
5295
|
-
(function (
|
|
5344
|
+
var ProjectViewLegacyTile;
|
|
5345
|
+
(function (ProjectViewLegacyTile) {
|
|
5296
5346
|
function MergeMapTemplateData(getter, items, addIfMissing) {
|
|
5297
5347
|
var _a;
|
|
5298
5348
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -5312,7 +5362,7 @@ var ProjectViewTileSource;
|
|
|
5312
5362
|
});
|
|
5313
5363
|
});
|
|
5314
5364
|
}
|
|
5315
|
-
|
|
5365
|
+
ProjectViewLegacyTile.MergeMapTemplateData = MergeMapTemplateData;
|
|
5316
5366
|
function MergeTerrainTemplateData(getter, items, addIfMissing) {
|
|
5317
5367
|
var _a;
|
|
5318
5368
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -5332,8 +5382,125 @@ var ProjectViewTileSource;
|
|
|
5332
5382
|
});
|
|
5333
5383
|
});
|
|
5334
5384
|
}
|
|
5335
|
-
|
|
5336
|
-
})(
|
|
5385
|
+
ProjectViewLegacyTile.MergeTerrainTemplateData = MergeTerrainTemplateData;
|
|
5386
|
+
})(ProjectViewLegacyTile || (ProjectViewLegacyTile = {}));
|
|
5387
|
+
|
|
5388
|
+
var ProjectViewTile;
|
|
5389
|
+
(function (ProjectViewTile) {
|
|
5390
|
+
var EDefaultImagery;
|
|
5391
|
+
(function (EDefaultImagery) {
|
|
5392
|
+
EDefaultImagery["BingMapsAerial"] = "bingmapsaerial";
|
|
5393
|
+
EDefaultImagery["BingMapsAerialWithLabels"] = "bingmapsaerialwithlabels";
|
|
5394
|
+
EDefaultImagery["BingMapsRoads"] = "bingmapsroads";
|
|
5395
|
+
EDefaultImagery["MapboxSatellite"] = "mapboxsatellite";
|
|
5396
|
+
EDefaultImagery["MapBoxStreets"] = "mapboxstreets";
|
|
5397
|
+
EDefaultImagery["MapBoxStreetsClassic"] = "mapboxstreetsclassic";
|
|
5398
|
+
EDefaultImagery["EsriWorldImagery"] = "esriworldimagery";
|
|
5399
|
+
EDefaultImagery["EsriWorldStreetMap"] = "esriworldstreetmap";
|
|
5400
|
+
EDefaultImagery["EsriNationalGeographic"] = "esrinationalgeographic";
|
|
5401
|
+
EDefaultImagery["OpenStreetMap"] = "openstreetmap";
|
|
5402
|
+
EDefaultImagery["StamenWaterColor"] = "stamenwatercolor";
|
|
5403
|
+
EDefaultImagery["StamenToner"] = "stamentoner";
|
|
5404
|
+
EDefaultImagery["Grid"] = "grid";
|
|
5405
|
+
})(EDefaultImagery = ProjectViewTile.EDefaultImagery || (ProjectViewTile.EDefaultImagery = {}));
|
|
5406
|
+
/**
|
|
5407
|
+
* Prepared array for UI.
|
|
5408
|
+
* TODO: Im not happy with icon urls sitting in the code. I'd prefer we ship these icons in the library as files.
|
|
5409
|
+
*/
|
|
5410
|
+
ProjectViewTile.DefaultImagery = [
|
|
5411
|
+
{
|
|
5412
|
+
id: EDefaultImagery.BingMapsAerial,
|
|
5413
|
+
name: "Bing Maps Aerial",
|
|
5414
|
+
iconUrl: "https://template.ui.nextspace.host/Default/media/Cesium/ImageryProviders/bingAerial.png"
|
|
5415
|
+
},
|
|
5416
|
+
{
|
|
5417
|
+
id: EDefaultImagery.BingMapsAerialWithLabels,
|
|
5418
|
+
name: "Bing Maps Aerial with Labels",
|
|
5419
|
+
iconUrl: "https://template.ui.nextspace.host/Default/media/Cesium/ImageryProviders/bingAerialLabels.png"
|
|
5420
|
+
},
|
|
5421
|
+
{
|
|
5422
|
+
id: EDefaultImagery.BingMapsRoads,
|
|
5423
|
+
name: "Bing Maps Roads",
|
|
5424
|
+
iconUrl: "https://template.ui.nextspace.host/Default/media/Cesium/ImageryProviders/bingRoads.png"
|
|
5425
|
+
},
|
|
5426
|
+
{
|
|
5427
|
+
id: EDefaultImagery.MapboxSatellite,
|
|
5428
|
+
name: "Mapbox Satellite",
|
|
5429
|
+
iconUrl: "https://template.ui.nextspace.host/Default/media/Cesium/ImageryProviders/mapboxSatellite.png"
|
|
5430
|
+
},
|
|
5431
|
+
{
|
|
5432
|
+
id: EDefaultImagery.MapBoxStreets,
|
|
5433
|
+
name: "Mapbox Streets",
|
|
5434
|
+
iconUrl: "https://template.ui.nextspace.host/Default/media/Cesium/ImageryProviders/mapboxTerrain.png"
|
|
5435
|
+
},
|
|
5436
|
+
{
|
|
5437
|
+
id: EDefaultImagery.MapBoxStreetsClassic,
|
|
5438
|
+
name: "Mapbox Streets Classic",
|
|
5439
|
+
iconUrl: "https://template.ui.nextspace.host/Default/media/Cesium/ImageryProviders/mapboxStreets.png"
|
|
5440
|
+
},
|
|
5441
|
+
{
|
|
5442
|
+
id: EDefaultImagery.EsriWorldImagery,
|
|
5443
|
+
name: "Esri World Imagery",
|
|
5444
|
+
iconUrl: "https://template.ui.nextspace.host/Default/media/Cesium/ImageryProviders/esriWorldImagery.png"
|
|
5445
|
+
},
|
|
5446
|
+
{
|
|
5447
|
+
id: EDefaultImagery.EsriWorldStreetMap,
|
|
5448
|
+
name: "Esri World Street Map",
|
|
5449
|
+
iconUrl: "https://template.ui.nextspace.host/Default/media/Cesium/ImageryProviders/esriWorldStreetMap.png"
|
|
5450
|
+
},
|
|
5451
|
+
{
|
|
5452
|
+
id: EDefaultImagery.EsriNationalGeographic,
|
|
5453
|
+
name: "Esri National Geographic",
|
|
5454
|
+
iconUrl: "https://template.ui.nextspace.host/Default/media/Cesium/ImageryProviders/esriNationalGeographic.png"
|
|
5455
|
+
},
|
|
5456
|
+
{
|
|
5457
|
+
id: EDefaultImagery.OpenStreetMap,
|
|
5458
|
+
name: "Open Street Map",
|
|
5459
|
+
iconUrl: "https://template.ui.nextspace.host/Default/media/Cesium/ImageryProviders/openStreetMap.png"
|
|
5460
|
+
},
|
|
5461
|
+
{
|
|
5462
|
+
id: EDefaultImagery.StamenWaterColor,
|
|
5463
|
+
name: "Stamen Water Color",
|
|
5464
|
+
iconUrl: "https://template.ui.nextspace.host/Default/media/Cesium/ImageryProviders/stamenWatercolor.png"
|
|
5465
|
+
},
|
|
5466
|
+
{
|
|
5467
|
+
id: EDefaultImagery.StamenToner,
|
|
5468
|
+
name: "Stamen Toner",
|
|
5469
|
+
iconUrl: "https://template.ui.nextspace.host/Default/media/Cesium/ImageryProviders/stamenToner.png"
|
|
5470
|
+
},
|
|
5471
|
+
{
|
|
5472
|
+
id: EDefaultImagery.Grid,
|
|
5473
|
+
name: "Grid",
|
|
5474
|
+
iconUrl: "https://template.api.nextspace-uat.net/file/2885d8df-028b-4f5c-80b3-2634f7e7cf69.png"
|
|
5475
|
+
}
|
|
5476
|
+
];
|
|
5477
|
+
var EDefaultTerrain;
|
|
5478
|
+
(function (EDefaultTerrain) {
|
|
5479
|
+
EDefaultTerrain["CesiumWorldTerrain"] = "cesiumworldterrain";
|
|
5480
|
+
EDefaultTerrain["FlatTerrain"] = "flatterrain";
|
|
5481
|
+
EDefaultTerrain["LINZ"] = "linz";
|
|
5482
|
+
})(EDefaultTerrain = ProjectViewTile.EDefaultTerrain || (ProjectViewTile.EDefaultTerrain = {}));
|
|
5483
|
+
/**
|
|
5484
|
+
* Prepared array for UI.
|
|
5485
|
+
* TODO: Im not happy with icon urls sitting in the code. I'd prefer we ship these icons in the library as files.
|
|
5486
|
+
*/
|
|
5487
|
+
ProjectViewTile.DefaultTerrains = [
|
|
5488
|
+
{
|
|
5489
|
+
id: EDefaultTerrain.CesiumWorldTerrain,
|
|
5490
|
+
name: "Cesium World Terrain",
|
|
5491
|
+
iconUrl: "https://template.ui.nextspace.host/Default/media/Cesium/TerrainProviders/CesiumWorldTerrain.png"
|
|
5492
|
+
},
|
|
5493
|
+
{
|
|
5494
|
+
id: EDefaultTerrain.LINZ,
|
|
5495
|
+
name: "LINZ",
|
|
5496
|
+
iconUrl: "https://template.ui.nextspace.host/media/linz.jpg"
|
|
5497
|
+
},
|
|
5498
|
+
{
|
|
5499
|
+
id: EDefaultTerrain.FlatTerrain,
|
|
5500
|
+
name: "Flat Terrain",
|
|
5501
|
+
}
|
|
5502
|
+
];
|
|
5503
|
+
})(ProjectViewTile || (ProjectViewTile = {}));
|
|
5337
5504
|
|
|
5338
5505
|
/**
|
|
5339
5506
|
* Describes the "Pending Action" concept within Bruce.
|
|
@@ -6532,5 +6699,5 @@ var ImportedFile;
|
|
|
6532
6699
|
ImportedFile.Get = Get;
|
|
6533
6700
|
})(ImportedFile || (ImportedFile = {}));
|
|
6534
6701
|
|
|
6535
|
-
export { AnnDocument, CustomForm, AbstractApi, Api, BruceApi, CamApi, IdmApi, GlobalApi, Calculator, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityGlobe, EntityFilterGetter, BatchedDataGetter, EntityCoords, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView,
|
|
6702
|
+
export { AnnDocument, CustomForm, AbstractApi, Api, BruceApi, CamApi, IdmApi, GlobalApi, Calculator, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityGlobe, EntityFilterGetter, BatchedDataGetter, EntityCoords, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, PendingAction, Style, TilesetEntitiesMapTiles, TilesetExtMapTiles, Tileset, Permission, Session, UserGroup, User, Account, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile };
|
|
6536
6703
|
//# sourceMappingURL=bruce-models.es5.js.map
|