@itwin/ecschema-rpcinterface-tests 4.6.0-dev.18 → 4.6.0-dev.21
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/lib/dist/_bea9.bundled-tests.js.map +1 -1
- package/lib/dist/bundled-tests.js +612 -502
- package/lib/dist/bundled-tests.js.map +1 -1
- package/lib/dist/core_frontend_lib_esm_ApproximateTerrainHeightsProps_js.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_loaders_gl_draco_3_1_6_node_modules_loaders_gl_draco_di-0642a6.bundled-tests.js.map +1 -1
- package/lib/dist/vendors-common_temp_node_modules_pnpm_meshoptimizer_0_20_0_node_modules_meshoptimizer_index_m-a5ae61.bundled-tests.js.map +1 -1
- package/package.json +15 -15
|
@@ -60663,7 +60663,8 @@ class SchemaReadHelper {
|
|
|
60663
60663
|
schema.fromJSONSync(this._parser.parseSchema());
|
|
60664
60664
|
this._schema = schema;
|
|
60665
60665
|
// Need to add this schema to the context to be able to locate schemaItems within the context.
|
|
60666
|
-
this._context.
|
|
60666
|
+
if (!this._context.schemaExists(schema.schemaKey))
|
|
60667
|
+
this._context.addSchemaSync(schema);
|
|
60667
60668
|
// Load schema references first
|
|
60668
60669
|
// Need to figure out if other schemas are present.
|
|
60669
60670
|
for (const reference of this._parser.getReferences()) {
|
|
@@ -77488,6 +77489,10 @@ class SectionAttachment {
|
|
|
77488
77489
|
get zDepth() {
|
|
77489
77490
|
return this._drawingExtents.z;
|
|
77490
77491
|
}
|
|
77492
|
+
get drawingRange() {
|
|
77493
|
+
const frustum3d = this._originalFrustum.transformBy(this._toDrawing);
|
|
77494
|
+
return frustum3d.toRange();
|
|
77495
|
+
}
|
|
77491
77496
|
constructor(view, toDrawing, fromDrawing, toSheet) {
|
|
77492
77497
|
this._viewRect = new _common_ViewRect__WEBPACK_IMPORTED_MODULE_13__.ViewRect(0, 0, 1, 1);
|
|
77493
77498
|
this._originalFrustum = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Frustum();
|
|
@@ -77513,12 +77518,13 @@ class SectionAttachment {
|
|
|
77513
77518
|
},
|
|
77514
77519
|
};
|
|
77515
77520
|
this._viewFlagOverrides = { ...view.viewFlags, lighting: false, shadows: false };
|
|
77516
|
-
this._drawingExtents = this.viewport.viewingSpace.viewDelta.clone();
|
|
77517
|
-
this._toDrawing.multiplyVector(this._drawingExtents, this._drawingExtents);
|
|
77518
|
-
this._drawingExtents.z = Math.abs(this._drawingExtents.z);
|
|
77519
77521
|
// Save off the original frustum (potentially adjusted by viewport).
|
|
77520
77522
|
this.viewport.setupFromView();
|
|
77521
77523
|
this.viewport.viewingSpace.getFrustum(_CoordSystem__WEBPACK_IMPORTED_MODULE_4__.CoordSystem.World, true, this._originalFrustum);
|
|
77524
|
+
const drawingFrustum = this._originalFrustum.transformBy(this._toDrawing);
|
|
77525
|
+
const drawingRange = drawingFrustum.toRange();
|
|
77526
|
+
this._drawingExtents = drawingRange.diagonal();
|
|
77527
|
+
this._drawingExtents.z = Math.abs(this._drawingExtents.z);
|
|
77522
77528
|
}
|
|
77523
77529
|
dispose() {
|
|
77524
77530
|
this.viewport.dispose();
|
|
@@ -77606,12 +77612,10 @@ class DrawingViewState extends _ViewState__WEBPACK_IMPORTED_MODULE_14__.ViewStat
|
|
|
77606
77612
|
super(props, iModel, categories, displayStyle);
|
|
77607
77613
|
if (categories instanceof DrawingViewState) {
|
|
77608
77614
|
this._viewedExtents = categories._viewedExtents.clone();
|
|
77609
|
-
this._modelLimits = { ...categories._modelLimits };
|
|
77610
77615
|
this._attachmentInfo = categories._attachmentInfo.clone(iModel);
|
|
77611
77616
|
}
|
|
77612
77617
|
else {
|
|
77613
77618
|
this._viewedExtents = extents;
|
|
77614
|
-
this._modelLimits = { min: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Constant.oneMillimeter, max: 10 * extents.maxLength() };
|
|
77615
77619
|
this._attachmentInfo = SectionAttachmentInfo.fromJSON(sectionDrawing);
|
|
77616
77620
|
}
|
|
77617
77621
|
}
|
|
@@ -77689,10 +77693,17 @@ class DrawingViewState extends _ViewState__WEBPACK_IMPORTED_MODULE_14__.ViewStat
|
|
|
77689
77693
|
return props;
|
|
77690
77694
|
}
|
|
77691
77695
|
getViewedExtents() {
|
|
77692
|
-
|
|
77696
|
+
const extents = this._viewedExtents.clone();
|
|
77697
|
+
if (this._attachment) {
|
|
77698
|
+
extents.extendRange(this._attachment.drawingRange);
|
|
77699
|
+
}
|
|
77700
|
+
return extents;
|
|
77693
77701
|
}
|
|
77694
77702
|
get defaultExtentLimits() {
|
|
77695
|
-
return
|
|
77703
|
+
return {
|
|
77704
|
+
min: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Constant.oneMillimeter,
|
|
77705
|
+
max: 3 * _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Constant.diameterOfEarth,
|
|
77706
|
+
};
|
|
77696
77707
|
}
|
|
77697
77708
|
/** @internal */
|
|
77698
77709
|
isDrawingView() { return true; }
|
|
@@ -90401,8 +90412,7 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
|
|
|
90401
90412
|
}
|
|
90402
90413
|
/** Get or set the largest and smallest values allowed for the extents for this ViewState
|
|
90403
90414
|
* The default limits vary based on the type of view:
|
|
90404
|
-
* - Spatial view extents cannot exceed the diameter of the earth.
|
|
90405
|
-
* - Drawing view extents cannot exceed twice the longest axis of the drawing model's range.
|
|
90415
|
+
* - Spatial and drawing view extents cannot exceed the diameter of the earth.
|
|
90406
90416
|
* - Sheet view extents cannot exceed ten times the paper size of the sheet.
|
|
90407
90417
|
* Explicitly setting the extent limits overrides the default limits.
|
|
90408
90418
|
* @see [[resetExtentLimits]] to restore the default limits.
|
|
@@ -99611,9 +99621,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
99611
99621
|
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.ArcGISMapLayerImageryProvider),
|
|
99612
99622
|
/* harmony export */ "ArcGISTileMap": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.ArcGISTileMap),
|
|
99613
99623
|
/* harmony export */ "ArcGisErrorCode": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.ArcGisErrorCode),
|
|
99614
|
-
/* harmony export */ "ArcGisGeometryBaseRenderer": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.ArcGisGeometryBaseRenderer),
|
|
99615
99624
|
/* harmony export */ "ArcGisGeometryReaderJSON": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.ArcGisGeometryReaderJSON),
|
|
99616
|
-
/* harmony export */ "ArcGisGraphicsRenderer": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.ArcGisGraphicsRenderer),
|
|
99617
99625
|
/* harmony export */ "ArcGisUtilities": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.ArcGisUtilities),
|
|
99618
99626
|
/* harmony export */ "AuxChannel": () => (/* reexport safe */ _common_render_primitives_AuxChannelTable__WEBPACK_IMPORTED_MODULE_19__.AuxChannel),
|
|
99619
99627
|
/* harmony export */ "AuxChannelTable": () => (/* reexport safe */ _common_render_primitives_AuxChannelTable__WEBPACK_IMPORTED_MODULE_19__.AuxChannelTable),
|
|
@@ -99694,6 +99702,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
99694
99702
|
/* harmony export */ "EnvironmentDecorations": () => (/* reexport safe */ _EnvironmentDecorations__WEBPACK_IMPORTED_MODULE_42__.EnvironmentDecorations),
|
|
99695
99703
|
/* harmony export */ "EventController": () => (/* reexport safe */ _tools_EventController__WEBPACK_IMPORTED_MODULE_148__.EventController),
|
|
99696
99704
|
/* harmony export */ "EventHandled": () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_153__.EventHandled),
|
|
99705
|
+
/* harmony export */ "FeatureGeometryBaseRenderer": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.FeatureGeometryBaseRenderer),
|
|
99706
|
+
/* harmony export */ "FeatureGraphicsRenderer": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.FeatureGraphicsRenderer),
|
|
99697
99707
|
/* harmony export */ "FeatureSymbology": () => (/* reexport safe */ _render_FeatureSymbology__WEBPACK_IMPORTED_MODULE_102__.FeatureSymbology),
|
|
99698
99708
|
/* harmony export */ "FetchCloudStorage": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.FetchCloudStorage),
|
|
99699
99709
|
/* harmony export */ "FitViewTool": () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_157__.FitViewTool),
|
|
@@ -100071,6 +100081,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
100071
100081
|
/* harmony export */ "acquireImdlDecoder": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.acquireImdlDecoder),
|
|
100072
100082
|
/* harmony export */ "acquireImdlParser": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.acquireImdlParser),
|
|
100073
100083
|
/* harmony export */ "addRangeGraphic": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.addRangeGraphic),
|
|
100084
|
+
/* harmony export */ "appendQueryParams": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.appendQueryParams),
|
|
100074
100085
|
/* harmony export */ "areaToEyeHeight": () => (/* reexport safe */ _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_80__.areaToEyeHeight),
|
|
100075
100086
|
/* harmony export */ "areaToEyeHeightFromGcs": () => (/* reexport safe */ _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_80__.areaToEyeHeightFromGcs),
|
|
100076
100087
|
/* harmony export */ "calculateEcefToDbTransformAtLocation": () => (/* reexport safe */ _BackgroundMapGeometry__WEBPACK_IMPORTED_MODULE_158__.calculateEcefToDbTransformAtLocation),
|
|
@@ -100102,6 +100113,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
100102
100113
|
/* harmony export */ "createWorkerProxy": () => (/* reexport safe */ _common_WorkerProxy__WEBPACK_IMPORTED_MODULE_32__.createWorkerProxy),
|
|
100103
100114
|
/* harmony export */ "decodeImdlGraphics": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.decodeImdlGraphics),
|
|
100104
100115
|
/* harmony export */ "decodeMeshoptBuffer": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.decodeMeshoptBuffer),
|
|
100116
|
+
/* harmony export */ "deflateCoordinates": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.deflateCoordinates),
|
|
100105
100117
|
/* harmony export */ "disposeTileTreesForGeometricModels": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.disposeTileTreesForGeometricModels),
|
|
100106
100118
|
/* harmony export */ "edgeParamsFromImdl": () => (/* reexport safe */ _common_imdl_ParseImdlDocument__WEBPACK_IMPORTED_MODULE_16__.edgeParamsFromImdl),
|
|
100107
100119
|
/* harmony export */ "extractImageSourceDimensions": () => (/* reexport safe */ _common_ImageUtil__WEBPACK_IMPORTED_MODULE_13__.extractImageSourceDimensions),
|
|
@@ -149561,28 +149573,28 @@ function createDefaultViewFlagOverrides(options) {
|
|
|
149561
149573
|
"use strict";
|
|
149562
149574
|
__webpack_require__.r(__webpack_exports__);
|
|
149563
149575
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
149564
|
-
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */
|
|
149565
|
-
/* harmony export */ "ArcGISIdentifyRequestUrl": () => (/* reexport safe */
|
|
149566
|
-
/* harmony export */ "ArcGISImageryProvider": () => (/* reexport safe */
|
|
149567
|
-
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* reexport safe */
|
|
149576
|
+
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.AnimatedTreeReference),
|
|
149577
|
+
/* harmony export */ "ArcGISIdentifyRequestUrl": () => (/* reexport safe */ _map_ImageryProviders_ArcGISMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_55__.ArcGISIdentifyRequestUrl),
|
|
149578
|
+
/* harmony export */ "ArcGISImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_ArcGISImageryProvider__WEBPACK_IMPORTED_MODULE_51__.ArcGISImageryProvider),
|
|
149579
|
+
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_ArcGISMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_55__.ArcGISMapLayerImageryProvider),
|
|
149568
149580
|
/* harmony export */ "ArcGISTileMap": () => (/* reexport safe */ _map_ArcGISTileMap__WEBPACK_IMPORTED_MODULE_37__.ArcGISTileMap),
|
|
149569
149581
|
/* harmony export */ "ArcGisErrorCode": () => (/* reexport safe */ _map_ArcGisUtilities__WEBPACK_IMPORTED_MODULE_41__.ArcGisErrorCode),
|
|
149570
|
-
/* harmony export */ "
|
|
149571
|
-
/* harmony export */ "ArcGisGeometryReaderJSON": () => (/* reexport safe */ _map_ImageryProviders_ArcGisGeometryReaderJSON__WEBPACK_IMPORTED_MODULE_51__.ArcGisGeometryReaderJSON),
|
|
149572
|
-
/* harmony export */ "ArcGisGraphicsRenderer": () => (/* reexport safe */ _map_ImageryProviders_ArcGisGraphicsRenderer__WEBPACK_IMPORTED_MODULE_50__.ArcGisGraphicsRenderer),
|
|
149582
|
+
/* harmony export */ "ArcGisGeometryReaderJSON": () => (/* reexport safe */ _map_ImageryProviders_ArcGisGeometryReaderJSON__WEBPACK_IMPORTED_MODULE_54__.ArcGisGeometryReaderJSON),
|
|
149573
149583
|
/* harmony export */ "ArcGisUtilities": () => (/* reexport safe */ _map_ArcGisUtilities__WEBPACK_IMPORTED_MODULE_41__.ArcGisUtilities),
|
|
149574
|
-
/* harmony export */ "AzureMapsLayerImageryProvider": () => (/* reexport safe */
|
|
149584
|
+
/* harmony export */ "AzureMapsLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_AzureMapsLayerImageryProvider__WEBPACK_IMPORTED_MODULE_56__.AzureMapsLayerImageryProvider),
|
|
149575
149585
|
/* harmony export */ "B3dmReader": () => (/* reexport safe */ _B3dmReader__WEBPACK_IMPORTED_MODULE_32__.B3dmReader),
|
|
149576
149586
|
/* harmony export */ "BatchedTileIdMap": () => (/* reexport safe */ _BatchedTileIdMap__WEBPACK_IMPORTED_MODULE_12__.BatchedTileIdMap),
|
|
149577
|
-
/* harmony export */ "BingElevationProvider": () => (/* reexport safe */
|
|
149578
|
-
/* harmony export */ "BingMapsImageryLayerProvider": () => (/* reexport safe */
|
|
149579
|
-
/* harmony export */ "CesiumIonAssetProvider": () => (/* reexport safe */
|
|
149580
|
-
/* harmony export */ "ContextShareProvider": () => (/* reexport safe */
|
|
149587
|
+
/* harmony export */ "BingElevationProvider": () => (/* reexport safe */ _map_BingElevation__WEBPACK_IMPORTED_MODULE_72__.BingElevationProvider),
|
|
149588
|
+
/* harmony export */ "BingMapsImageryLayerProvider": () => (/* reexport safe */ _map_ImageryProviders_BingImageryProvider__WEBPACK_IMPORTED_MODULE_57__.BingMapsImageryLayerProvider),
|
|
149589
|
+
/* harmony export */ "CesiumIonAssetProvider": () => (/* reexport safe */ _CesiumAssetProvider__WEBPACK_IMPORTED_MODULE_87__.CesiumIonAssetProvider),
|
|
149590
|
+
/* harmony export */ "ContextShareProvider": () => (/* reexport safe */ _ContextShareProvider__WEBPACK_IMPORTED_MODULE_88__.ContextShareProvider),
|
|
149581
149591
|
/* harmony export */ "DisclosedTileTreeSet": () => (/* reexport safe */ _DisclosedTileTreeSet__WEBPACK_IMPORTED_MODULE_3__.DisclosedTileTreeSet),
|
|
149582
|
-
/* harmony export */ "DynamicIModelTile": () => (/* reexport safe */
|
|
149583
|
-
/* harmony export */ "EllipsoidTerrainProvider": () => (/* reexport safe */
|
|
149584
|
-
/* harmony export */ "
|
|
149585
|
-
/* harmony export */ "
|
|
149592
|
+
/* harmony export */ "DynamicIModelTile": () => (/* reexport safe */ _DynamicIModelTile__WEBPACK_IMPORTED_MODULE_79__.DynamicIModelTile),
|
|
149593
|
+
/* harmony export */ "EllipsoidTerrainProvider": () => (/* reexport safe */ _map_EllipsoidTerrainProvider__WEBPACK_IMPORTED_MODULE_68__.EllipsoidTerrainProvider),
|
|
149594
|
+
/* harmony export */ "FeatureGeometryBaseRenderer": () => (/* reexport safe */ _map_ImageryProviders_FeatureGeometryRenderer__WEBPACK_IMPORTED_MODULE_52__.FeatureGeometryBaseRenderer),
|
|
149595
|
+
/* harmony export */ "FeatureGraphicsRenderer": () => (/* reexport safe */ _map_ImageryProviders_FeatureGraphicsRenderer__WEBPACK_IMPORTED_MODULE_53__.FeatureGraphicsRenderer),
|
|
149596
|
+
/* harmony export */ "FetchCloudStorage": () => (/* reexport safe */ _FetchCloudStorage__WEBPACK_IMPORTED_MODULE_91__.FetchCloudStorage),
|
|
149597
|
+
/* harmony export */ "GeographicTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_73__.GeographicTilingScheme),
|
|
149586
149598
|
/* harmony export */ "GltfBufferData": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfBufferData),
|
|
149587
149599
|
/* harmony export */ "GltfGraphicsReader": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfGraphicsReader),
|
|
149588
149600
|
/* harmony export */ "GltfMeshData": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfMeshData),
|
|
@@ -149590,60 +149602,60 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
149590
149602
|
/* harmony export */ "GltfReaderProps": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfReaderProps),
|
|
149591
149603
|
/* harmony export */ "GraphicsCollectorDrawArgs": () => (/* reexport safe */ _GraphicsCollector__WEBPACK_IMPORTED_MODULE_11__.GraphicsCollectorDrawArgs),
|
|
149592
149604
|
/* harmony export */ "I3dmReader": () => (/* reexport safe */ _I3dmReader__WEBPACK_IMPORTED_MODULE_31__.I3dmReader),
|
|
149593
|
-
/* harmony export */ "IModelTile": () => (/* reexport safe */
|
|
149605
|
+
/* harmony export */ "IModelTile": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_78__.IModelTile),
|
|
149594
149606
|
/* harmony export */ "IModelTileRequestChannels": () => (/* reexport safe */ _IModelTileRequestChannels__WEBPACK_IMPORTED_MODULE_25__.IModelTileRequestChannels),
|
|
149595
|
-
/* harmony export */ "IModelTileTree": () => (/* reexport safe */
|
|
149596
|
-
/* harmony export */ "ImageryMapLayerFormat": () => (/* reexport safe */
|
|
149597
|
-
/* harmony export */ "ImageryMapLayerTreeReference": () => (/* reexport safe */
|
|
149598
|
-
/* harmony export */ "ImageryMapTile": () => (/* reexport safe */
|
|
149599
|
-
/* harmony export */ "ImageryMapTileTree": () => (/* reexport safe */
|
|
149600
|
-
/* harmony export */ "ImageryTileTreeState": () => (/* reexport safe */
|
|
149607
|
+
/* harmony export */ "IModelTileTree": () => (/* reexport safe */ _IModelTileTree__WEBPACK_IMPORTED_MODULE_80__.IModelTileTree),
|
|
149608
|
+
/* harmony export */ "ImageryMapLayerFormat": () => (/* reexport safe */ _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_62__.ImageryMapLayerFormat),
|
|
149609
|
+
/* harmony export */ "ImageryMapLayerTreeReference": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_84__.ImageryMapLayerTreeReference),
|
|
149610
|
+
/* harmony export */ "ImageryMapTile": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_84__.ImageryMapTile),
|
|
149611
|
+
/* harmony export */ "ImageryMapTileTree": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_84__.ImageryMapTileTree),
|
|
149612
|
+
/* harmony export */ "ImageryTileTreeState": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_84__.ImageryTileTreeState),
|
|
149601
149613
|
/* harmony export */ "ImdlReader": () => (/* reexport safe */ _ImdlReader__WEBPACK_IMPORTED_MODULE_33__.ImdlReader),
|
|
149602
149614
|
/* harmony export */ "LRUTileList": () => (/* reexport safe */ _LRUTileList__WEBPACK_IMPORTED_MODULE_5__.LRUTileList),
|
|
149603
|
-
/* harmony export */ "MapBoxLayerImageryProvider": () => (/* reexport safe */
|
|
149615
|
+
/* harmony export */ "MapBoxLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_MapBoxLayerImageryProvider__WEBPACK_IMPORTED_MODULE_58__.MapBoxLayerImageryProvider),
|
|
149604
149616
|
/* harmony export */ "MapCartoRectangle": () => (/* reexport safe */ _map_MapCartoRectangle__WEBPACK_IMPORTED_MODULE_1__.MapCartoRectangle),
|
|
149605
149617
|
/* harmony export */ "MapFeatureInfoRecord": () => (/* reexport safe */ _map_MapFeatureInfo__WEBPACK_IMPORTED_MODULE_39__.MapFeatureInfoRecord),
|
|
149606
149618
|
/* harmony export */ "MapLayerFeatureRecord": () => (/* reexport safe */ _map_MapFeatureInfo__WEBPACK_IMPORTED_MODULE_39__.MapLayerFeatureRecord),
|
|
149607
149619
|
/* harmony export */ "MapLayerFormat": () => (/* reexport safe */ _map_MapLayerFormatRegistry__WEBPACK_IMPORTED_MODULE_40__.MapLayerFormat),
|
|
149608
149620
|
/* harmony export */ "MapLayerFormatRegistry": () => (/* reexport safe */ _map_MapLayerFormatRegistry__WEBPACK_IMPORTED_MODULE_40__.MapLayerFormatRegistry),
|
|
149609
|
-
/* harmony export */ "MapLayerImageryProvider": () => (/* reexport safe */
|
|
149610
|
-
/* harmony export */ "MapLayerImageryProviderStatus": () => (/* reexport safe */
|
|
149611
|
-
/* harmony export */ "MapLayerSource": () => (/* reexport safe */
|
|
149612
|
-
/* harmony export */ "MapLayerSourceStatus": () => (/* reexport safe */
|
|
149613
|
-
/* harmony export */ "MapLayerSources": () => (/* reexport safe */
|
|
149614
|
-
/* harmony export */ "MapLayerTileTreeReference": () => (/* reexport safe */
|
|
149615
|
-
/* harmony export */ "MapTile": () => (/* reexport safe */
|
|
149616
|
-
/* harmony export */ "MapTileLoader": () => (/* reexport safe */
|
|
149617
|
-
/* harmony export */ "MapTileProjection": () => (/* reexport safe */
|
|
149618
|
-
/* harmony export */ "MapTileTree": () => (/* reexport safe */
|
|
149619
|
-
/* harmony export */ "MapTileTreeReference": () => (/* reexport safe */
|
|
149620
|
-
/* harmony export */ "MapTileTreeScaleRangeVisibility": () => (/* reexport safe */
|
|
149621
|
-
/* harmony export */ "MapTiledGraphicsProvider": () => (/* reexport safe */
|
|
149622
|
-
/* harmony export */ "MapTilingScheme": () => (/* reexport safe */
|
|
149623
|
-
/* harmony export */ "ModelMapLayerTileTreeReference": () => (/* reexport safe */
|
|
149624
|
-
/* harmony export */ "OPCFormatInterpreter": () => (/* reexport safe */
|
|
149625
|
-
/* harmony export */ "OrbitGtTileTree": () => (/* reexport safe */
|
|
149626
|
-
/* harmony export */ "OrbitGtTreeReference": () => (/* reexport safe */
|
|
149627
|
-
/* harmony export */ "PlanarTilePatch": () => (/* reexport safe */
|
|
149621
|
+
/* harmony export */ "MapLayerImageryProvider": () => (/* reexport safe */ _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_47__.MapLayerImageryProvider),
|
|
149622
|
+
/* harmony export */ "MapLayerImageryProviderStatus": () => (/* reexport safe */ _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_47__.MapLayerImageryProviderStatus),
|
|
149623
|
+
/* harmony export */ "MapLayerSource": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_85__.MapLayerSource),
|
|
149624
|
+
/* harmony export */ "MapLayerSourceStatus": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_85__.MapLayerSourceStatus),
|
|
149625
|
+
/* harmony export */ "MapLayerSources": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_85__.MapLayerSources),
|
|
149626
|
+
/* harmony export */ "MapLayerTileTreeReference": () => (/* reexport safe */ _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_63__.MapLayerTileTreeReference),
|
|
149627
|
+
/* harmony export */ "MapTile": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_69__.MapTile),
|
|
149628
|
+
/* harmony export */ "MapTileLoader": () => (/* reexport safe */ _map_MapTileLoader__WEBPACK_IMPORTED_MODULE_71__.MapTileLoader),
|
|
149629
|
+
/* harmony export */ "MapTileProjection": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_69__.MapTileProjection),
|
|
149630
|
+
/* harmony export */ "MapTileTree": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_64__.MapTileTree),
|
|
149631
|
+
/* harmony export */ "MapTileTreeReference": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_64__.MapTileTreeReference),
|
|
149632
|
+
/* harmony export */ "MapTileTreeScaleRangeVisibility": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_64__.MapTileTreeScaleRangeVisibility),
|
|
149633
|
+
/* harmony export */ "MapTiledGraphicsProvider": () => (/* reexport safe */ _map_MapTiledGraphicsProvider__WEBPACK_IMPORTED_MODULE_86__.MapTiledGraphicsProvider),
|
|
149634
|
+
/* harmony export */ "MapTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_73__.MapTilingScheme),
|
|
149635
|
+
/* harmony export */ "ModelMapLayerTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.ModelMapLayerTileTreeReference),
|
|
149636
|
+
/* harmony export */ "OPCFormatInterpreter": () => (/* reexport safe */ _OPCFormatInterpreter__WEBPACK_IMPORTED_MODULE_90__.OPCFormatInterpreter),
|
|
149637
|
+
/* harmony export */ "OrbitGtTileTree": () => (/* reexport safe */ _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_83__.OrbitGtTileTree),
|
|
149638
|
+
/* harmony export */ "OrbitGtTreeReference": () => (/* reexport safe */ _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_83__.OrbitGtTreeReference),
|
|
149639
|
+
/* harmony export */ "PlanarTilePatch": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_69__.PlanarTilePatch),
|
|
149628
149640
|
/* harmony export */ "QuadId": () => (/* reexport safe */ _map_QuadId__WEBPACK_IMPORTED_MODULE_2__.QuadId),
|
|
149629
149641
|
/* harmony export */ "ReadonlyTileUserSet": () => (/* reexport safe */ _TileUserSet__WEBPACK_IMPORTED_MODULE_29__.ReadonlyTileUserSet),
|
|
149630
|
-
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */
|
|
149631
|
-
/* harmony export */ "RealityModelTileUtils": () => (/* reexport safe */
|
|
149642
|
+
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__.RealityModelTileTree),
|
|
149643
|
+
/* harmony export */ "RealityModelTileUtils": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__.RealityModelTileUtils),
|
|
149632
149644
|
/* harmony export */ "RealityTile": () => (/* reexport safe */ _RealityTile__WEBPACK_IMPORTED_MODULE_6__.RealityTile),
|
|
149633
149645
|
/* harmony export */ "RealityTileDrawArgs": () => (/* reexport safe */ _RealityTileDrawArgs__WEBPACK_IMPORTED_MODULE_10__.RealityTileDrawArgs),
|
|
149634
|
-
/* harmony export */ "RealityTileLoader": () => (/* reexport safe */
|
|
149635
|
-
/* harmony export */ "RealityTileRegion": () => (/* reexport safe */
|
|
149646
|
+
/* harmony export */ "RealityTileLoader": () => (/* reexport safe */ _RealityTileLoader__WEBPACK_IMPORTED_MODULE_70__.RealityTileLoader),
|
|
149647
|
+
/* harmony export */ "RealityTileRegion": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__.RealityTileRegion),
|
|
149636
149648
|
/* harmony export */ "RealityTileTree": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.RealityTileTree),
|
|
149637
|
-
/* harmony export */ "RealityTreeReference": () => (/* reexport safe */
|
|
149638
|
-
/* harmony export */ "SelectParent": () => (/* reexport safe */
|
|
149639
|
-
/* harmony export */ "SpatialClassifierTileTreeReference": () => (/* reexport safe */
|
|
149640
|
-
/* harmony export */ "SpatialTileTreeReferences": () => (/* reexport safe */
|
|
149641
|
-
/* harmony export */ "TerrainMeshProvider": () => (/* reexport safe */
|
|
149642
|
-
/* harmony export */ "TerrainProviderRegistry": () => (/* reexport safe */
|
|
149643
|
-
/* harmony export */ "ThreeDTileFormatInterpreter": () => (/* reexport safe */
|
|
149649
|
+
/* harmony export */ "RealityTreeReference": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__.RealityTreeReference),
|
|
149650
|
+
/* harmony export */ "SelectParent": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_78__.SelectParent),
|
|
149651
|
+
/* harmony export */ "SpatialClassifierTileTreeReference": () => (/* reexport safe */ _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_82__.SpatialClassifierTileTreeReference),
|
|
149652
|
+
/* harmony export */ "SpatialTileTreeReferences": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.SpatialTileTreeReferences),
|
|
149653
|
+
/* harmony export */ "TerrainMeshProvider": () => (/* reexport safe */ _map_TerrainMeshProvider__WEBPACK_IMPORTED_MODULE_65__.TerrainMeshProvider),
|
|
149654
|
+
/* harmony export */ "TerrainProviderRegistry": () => (/* reexport safe */ _map_TerrainProvider__WEBPACK_IMPORTED_MODULE_66__.TerrainProviderRegistry),
|
|
149655
|
+
/* harmony export */ "ThreeDTileFormatInterpreter": () => (/* reexport safe */ _ThreeDTileFormatInterpreter__WEBPACK_IMPORTED_MODULE_89__.ThreeDTileFormatInterpreter),
|
|
149644
149656
|
/* harmony export */ "Tile": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.Tile),
|
|
149645
149657
|
/* harmony export */ "TileAdmin": () => (/* reexport safe */ _TileAdmin__WEBPACK_IMPORTED_MODULE_21__.TileAdmin),
|
|
149646
|
-
/* harmony export */ "TileAvailability": () => (/* reexport safe */
|
|
149658
|
+
/* harmony export */ "TileAvailability": () => (/* reexport safe */ _map_MapTileAvailability__WEBPACK_IMPORTED_MODULE_74__.TileAvailability),
|
|
149647
149659
|
/* harmony export */ "TileBoundingBoxes": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.TileBoundingBoxes),
|
|
149648
149660
|
/* harmony export */ "TileDrawArgs": () => (/* reexport safe */ _TileDrawArgs__WEBPACK_IMPORTED_MODULE_9__.TileDrawArgs),
|
|
149649
149661
|
/* harmony export */ "TileGeometryCollector": () => (/* reexport safe */ _TileGeometryCollector__WEBPACK_IMPORTED_MODULE_19__.TileGeometryCollector),
|
|
@@ -149658,7 +149670,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
149658
149670
|
/* harmony export */ "TileTree": () => (/* reexport safe */ _TileTree__WEBPACK_IMPORTED_MODULE_14__.TileTree),
|
|
149659
149671
|
/* harmony export */ "TileTreeLoadStatus": () => (/* reexport safe */ _TileTree__WEBPACK_IMPORTED_MODULE_14__.TileTreeLoadStatus),
|
|
149660
149672
|
/* harmony export */ "TileTreeReference": () => (/* reexport safe */ _TileTreeReference__WEBPACK_IMPORTED_MODULE_18__.TileTreeReference),
|
|
149661
|
-
/* harmony export */ "TileUrlImageryProvider": () => (/* reexport safe */
|
|
149673
|
+
/* harmony export */ "TileUrlImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_TileUrlImageryProvider__WEBPACK_IMPORTED_MODULE_59__.TileUrlImageryProvider),
|
|
149662
149674
|
/* harmony export */ "TileUsageMarker": () => (/* reexport safe */ _TileUsageMarker__WEBPACK_IMPORTED_MODULE_27__.TileUsageMarker),
|
|
149663
149675
|
/* harmony export */ "TileUser": () => (/* reexport safe */ _TileUser__WEBPACK_IMPORTED_MODULE_28__.TileUser),
|
|
149664
149676
|
/* harmony export */ "TileUserIdSet": () => (/* reexport safe */ _LRUTileList__WEBPACK_IMPORTED_MODULE_5__.TileUserIdSet),
|
|
@@ -149669,48 +149681,50 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
149669
149681
|
/* harmony export */ "TraversalDetails": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.TraversalDetails),
|
|
149670
149682
|
/* harmony export */ "TraversalSelectionContext": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.TraversalSelectionContext),
|
|
149671
149683
|
/* harmony export */ "UniqueTileUserSets": () => (/* reexport safe */ _TileUserSet__WEBPACK_IMPORTED_MODULE_29__.UniqueTileUserSets),
|
|
149672
|
-
/* harmony export */ "UpsampledMapTile": () => (/* reexport safe */
|
|
149673
|
-
/* harmony export */ "WebMercator": () => (/* reexport safe */
|
|
149674
|
-
/* harmony export */ "WebMercatorProjection": () => (/* reexport safe */
|
|
149675
|
-
/* harmony export */ "WebMercatorTilingScheme": () => (/* reexport safe */
|
|
149684
|
+
/* harmony export */ "UpsampledMapTile": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_69__.UpsampledMapTile),
|
|
149685
|
+
/* harmony export */ "WebMercator": () => (/* reexport safe */ _map_ImageryProviders_WebMercator__WEBPACK_IMPORTED_MODULE_48__.WebMercator),
|
|
149686
|
+
/* harmony export */ "WebMercatorProjection": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_73__.WebMercatorProjection),
|
|
149687
|
+
/* harmony export */ "WebMercatorTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_73__.WebMercatorTilingScheme),
|
|
149676
149688
|
/* harmony export */ "WmsCapabilities": () => (/* reexport safe */ _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_43__.WmsCapabilities),
|
|
149677
149689
|
/* harmony export */ "WmsCapability": () => (/* reexport safe */ _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_43__.WmsCapability),
|
|
149678
|
-
/* harmony export */ "WmsMapLayerImageryProvider": () => (/* reexport safe */
|
|
149690
|
+
/* harmony export */ "WmsMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_WmsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_60__.WmsMapLayerImageryProvider),
|
|
149679
149691
|
/* harmony export */ "WmsUtilities": () => (/* reexport safe */ _map_WmsUtilities__WEBPACK_IMPORTED_MODULE_42__.WmsUtilities),
|
|
149680
149692
|
/* harmony export */ "WmtsCapabilities": () => (/* reexport safe */ _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_44__.WmtsCapabilities),
|
|
149681
149693
|
/* harmony export */ "WmtsCapability": () => (/* reexport safe */ _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_44__.WmtsCapability),
|
|
149682
149694
|
/* harmony export */ "WmtsConstants": () => (/* reexport safe */ _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_44__.WmtsConstants),
|
|
149683
|
-
/* harmony export */ "WmtsMapLayerImageryProvider": () => (/* reexport safe */
|
|
149695
|
+
/* harmony export */ "WmtsMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_WmtsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_61__.WmtsMapLayerImageryProvider),
|
|
149684
149696
|
/* harmony export */ "acquireImdlDecoder": () => (/* reexport safe */ _ImdlDecoder__WEBPACK_IMPORTED_MODULE_34__.acquireImdlDecoder),
|
|
149685
149697
|
/* harmony export */ "acquireImdlParser": () => (/* reexport safe */ _ImdlParser__WEBPACK_IMPORTED_MODULE_36__.acquireImdlParser),
|
|
149686
149698
|
/* harmony export */ "addRangeGraphic": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.addRangeGraphic),
|
|
149687
|
-
/* harmony export */ "
|
|
149699
|
+
/* harmony export */ "appendQueryParams": () => (/* reexport safe */ _map_UrlUtils__WEBPACK_IMPORTED_MODULE_46__.appendQueryParams),
|
|
149700
|
+
/* harmony export */ "createClassifierTileTreeReference": () => (/* reexport safe */ _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_82__.createClassifierTileTreeReference),
|
|
149688
149701
|
/* harmony export */ "createDefaultViewFlagOverrides": () => (/* reexport safe */ _ViewFlagOverrides__WEBPACK_IMPORTED_MODULE_0__.createDefaultViewFlagOverrides),
|
|
149689
|
-
/* harmony export */ "createMapLayerTreeReference": () => (/* reexport safe */
|
|
149690
|
-
/* harmony export */ "createMaskTreeReference": () => (/* reexport safe */
|
|
149691
|
-
/* harmony export */ "createModelMapLayerTileTreeReference": () => (/* reexport safe */
|
|
149692
|
-
/* harmony export */ "createOrbitGtTileTreeReference": () => (/* reexport safe */
|
|
149693
|
-
/* harmony export */ "createPrimaryTileTreeReference": () => (/* reexport safe */
|
|
149694
|
-
/* harmony export */ "createRealityTileTreeReference": () => (/* reexport safe */
|
|
149695
|
-
/* harmony export */ "createSpatialTileTreeReferences": () => (/* reexport safe */
|
|
149702
|
+
/* harmony export */ "createMapLayerTreeReference": () => (/* reexport safe */ _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_63__.createMapLayerTreeReference),
|
|
149703
|
+
/* harmony export */ "createMaskTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.createMaskTreeReference),
|
|
149704
|
+
/* harmony export */ "createModelMapLayerTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.createModelMapLayerTileTreeReference),
|
|
149705
|
+
/* harmony export */ "createOrbitGtTileTreeReference": () => (/* reexport safe */ _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_83__.createOrbitGtTileTreeReference),
|
|
149706
|
+
/* harmony export */ "createPrimaryTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.createPrimaryTileTreeReference),
|
|
149707
|
+
/* harmony export */ "createRealityTileTreeReference": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__.createRealityTileTreeReference),
|
|
149708
|
+
/* harmony export */ "createSpatialTileTreeReferences": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.createSpatialTileTreeReferences),
|
|
149696
149709
|
/* harmony export */ "decodeImdlGraphics": () => (/* reexport safe */ _ImdlGraphicsCreator__WEBPACK_IMPORTED_MODULE_35__.decodeImdlGraphics),
|
|
149697
|
-
/* harmony export */ "decodeMeshoptBuffer": () => (/* reexport safe */
|
|
149698
|
-
/* harmony export */ "
|
|
149699
|
-
/* harmony export */ "
|
|
149700
|
-
/* harmony export */ "
|
|
149701
|
-
/* harmony export */ "
|
|
149702
|
-
/* harmony export */ "
|
|
149703
|
-
/* harmony export */ "
|
|
149704
|
-
/* harmony export */ "
|
|
149705
|
-
/* harmony export */ "
|
|
149706
|
-
/* harmony export */ "
|
|
149710
|
+
/* harmony export */ "decodeMeshoptBuffer": () => (/* reexport safe */ _MeshoptCompression__WEBPACK_IMPORTED_MODULE_92__.decodeMeshoptBuffer),
|
|
149711
|
+
/* harmony export */ "deflateCoordinates": () => (/* reexport safe */ _map_ImageryProviders_CoordinatesUtils__WEBPACK_IMPORTED_MODULE_45__.deflateCoordinates),
|
|
149712
|
+
/* harmony export */ "disposeTileTreesForGeometricModels": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.disposeTileTreesForGeometricModels),
|
|
149713
|
+
/* harmony export */ "getCesiumAccessTokenAndEndpointUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_67__.getCesiumAccessTokenAndEndpointUrl),
|
|
149714
|
+
/* harmony export */ "getCesiumAssetUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_67__.getCesiumAssetUrl),
|
|
149715
|
+
/* harmony export */ "getCesiumOSMBuildingsUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_67__.getCesiumOSMBuildingsUrl),
|
|
149716
|
+
/* harmony export */ "getCesiumTerrainProvider": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_67__.getCesiumTerrainProvider),
|
|
149717
|
+
/* harmony export */ "getGcsConverterAvailable": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_64__.getGcsConverterAvailable),
|
|
149718
|
+
/* harmony export */ "iModelTileParamsFromJSON": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_78__.iModelTileParamsFromJSON),
|
|
149719
|
+
/* harmony export */ "iModelTileTreeParamsFromJSON": () => (/* reexport safe */ _IModelTileTree__WEBPACK_IMPORTED_MODULE_80__.iModelTileTreeParamsFromJSON),
|
|
149720
|
+
/* harmony export */ "internalMapLayerImageryFormats": () => (/* reexport safe */ _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_62__.internalMapLayerImageryFormats),
|
|
149707
149721
|
/* harmony export */ "overrideRequestTileTreeProps": () => (/* reexport safe */ _TileAdmin__WEBPACK_IMPORTED_MODULE_21__.overrideRequestTileTreeProps),
|
|
149708
149722
|
/* harmony export */ "readElementGraphics": () => (/* reexport safe */ _ImdlReader__WEBPACK_IMPORTED_MODULE_33__.readElementGraphics),
|
|
149709
149723
|
/* harmony export */ "readGltf": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.readGltf),
|
|
149710
149724
|
/* harmony export */ "readGltfGraphics": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.readGltfGraphics),
|
|
149711
149725
|
/* harmony export */ "readImdlContent": () => (/* reexport safe */ _ImdlReader__WEBPACK_IMPORTED_MODULE_33__.readImdlContent),
|
|
149712
|
-
/* harmony export */ "readPointCloudTileContent": () => (/* reexport safe */
|
|
149713
|
-
/* harmony export */ "tileTreeReferenceFromRenderGraphic": () => (/* reexport safe */
|
|
149726
|
+
/* harmony export */ "readPointCloudTileContent": () => (/* reexport safe */ _PntsReader__WEBPACK_IMPORTED_MODULE_75__.readPointCloudTileContent),
|
|
149727
|
+
/* harmony export */ "tileTreeReferenceFromRenderGraphic": () => (/* reexport safe */ _RenderGraphicTileTree__WEBPACK_IMPORTED_MODULE_77__.tileTreeReferenceFromRenderGraphic)
|
|
149714
149728
|
/* harmony export */ });
|
|
149715
149729
|
/* harmony import */ var _ViewFlagOverrides__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ViewFlagOverrides */ "../../core/frontend/lib/esm/tile/ViewFlagOverrides.js");
|
|
149716
149730
|
/* harmony import */ var _map_MapCartoRectangle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map/MapCartoRectangle */ "../../core/frontend/lib/esm/tile/map/MapCartoRectangle.js");
|
|
@@ -149757,51 +149771,54 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
149757
149771
|
/* harmony import */ var _map_WmsUtilities__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./map/WmsUtilities */ "../../core/frontend/lib/esm/tile/map/WmsUtilities.js");
|
|
149758
149772
|
/* harmony import */ var _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./map/WmsCapabilities */ "../../core/frontend/lib/esm/tile/map/WmsCapabilities.js");
|
|
149759
149773
|
/* harmony import */ var _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./map/WmtsCapabilities */ "../../core/frontend/lib/esm/tile/map/WmtsCapabilities.js");
|
|
149760
|
-
/* harmony import */ var
|
|
149761
|
-
/* harmony import */ var
|
|
149762
|
-
/* harmony import */ var
|
|
149763
|
-
/* harmony import */ var
|
|
149764
|
-
/* harmony import */ var
|
|
149765
|
-
/* harmony import */ var
|
|
149766
|
-
/* harmony import */ var
|
|
149767
|
-
/* harmony import */ var
|
|
149768
|
-
/* harmony import */ var
|
|
149769
|
-
/* harmony import */ var
|
|
149770
|
-
/* harmony import */ var
|
|
149771
|
-
/* harmony import */ var
|
|
149772
|
-
/* harmony import */ var
|
|
149773
|
-
/* harmony import */ var
|
|
149774
|
-
/* harmony import */ var
|
|
149775
|
-
/* harmony import */ var
|
|
149776
|
-
/* harmony import */ var
|
|
149777
|
-
/* harmony import */ var
|
|
149778
|
-
/* harmony import */ var
|
|
149779
|
-
/* harmony import */ var
|
|
149780
|
-
/* harmony import */ var
|
|
149781
|
-
/* harmony import */ var
|
|
149782
|
-
/* harmony import */ var
|
|
149783
|
-
/* harmony import */ var
|
|
149784
|
-
/* harmony import */ var
|
|
149785
|
-
/* harmony import */ var
|
|
149786
|
-
/* harmony import */ var
|
|
149787
|
-
/* harmony import */ var
|
|
149788
|
-
/* harmony import */ var
|
|
149789
|
-
/* harmony import */ var
|
|
149790
|
-
/* harmony import */ var
|
|
149791
|
-
/* harmony import */ var
|
|
149792
|
-
/* harmony import */ var
|
|
149793
|
-
/* harmony import */ var
|
|
149794
|
-
/* harmony import */ var
|
|
149795
|
-
/* harmony import */ var
|
|
149796
|
-
/* harmony import */ var
|
|
149797
|
-
/* harmony import */ var
|
|
149798
|
-
/* harmony import */ var
|
|
149799
|
-
/* harmony import */ var
|
|
149800
|
-
/* harmony import */ var
|
|
149801
|
-
/* harmony import */ var
|
|
149802
|
-
/* harmony import */ var
|
|
149803
|
-
/* harmony import */ var
|
|
149804
|
-
/* harmony import */ var
|
|
149774
|
+
/* harmony import */ var _map_ImageryProviders_CoordinatesUtils__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./map/ImageryProviders/CoordinatesUtils */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/CoordinatesUtils.js");
|
|
149775
|
+
/* harmony import */ var _map_UrlUtils__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./map/UrlUtils */ "../../core/frontend/lib/esm/tile/map/UrlUtils.js");
|
|
149776
|
+
/* harmony import */ var _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./map/MapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/MapLayerImageryProvider.js");
|
|
149777
|
+
/* harmony import */ var _map_ImageryProviders_WebMercator__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./map/ImageryProviders/WebMercator */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/WebMercator.js");
|
|
149778
|
+
/* harmony import */ var _map_ImageryProviders_FeatureSymbologyRenderer__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./map/ImageryProviders/FeatureSymbologyRenderer */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureSymbologyRenderer.js");
|
|
149779
|
+
/* harmony import */ var _map_ImageryProviders_FeatureAttributeDrivenSymbology__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./map/ImageryProviders/FeatureAttributeDrivenSymbology */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureAttributeDrivenSymbology.js");
|
|
149780
|
+
/* harmony import */ var _map_ImageryProviders_ArcGISImageryProvider__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./map/ImageryProviders/ArcGISImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js");
|
|
149781
|
+
/* harmony import */ var _map_ImageryProviders_FeatureGeometryRenderer__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./map/ImageryProviders/FeatureGeometryRenderer */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureGeometryRenderer.js");
|
|
149782
|
+
/* harmony import */ var _map_ImageryProviders_FeatureGraphicsRenderer__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./map/ImageryProviders/FeatureGraphicsRenderer */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureGraphicsRenderer.js");
|
|
149783
|
+
/* harmony import */ var _map_ImageryProviders_ArcGisGeometryReaderJSON__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./map/ImageryProviders/ArcGisGeometryReaderJSON */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisGeometryReaderJSON.js");
|
|
149784
|
+
/* harmony import */ var _map_ImageryProviders_ArcGISMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./map/ImageryProviders/ArcGISMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js");
|
|
149785
|
+
/* harmony import */ var _map_ImageryProviders_AzureMapsLayerImageryProvider__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./map/ImageryProviders/AzureMapsLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js");
|
|
149786
|
+
/* harmony import */ var _map_ImageryProviders_BingImageryProvider__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./map/ImageryProviders/BingImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/BingImageryProvider.js");
|
|
149787
|
+
/* harmony import */ var _map_ImageryProviders_MapBoxLayerImageryProvider__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./map/ImageryProviders/MapBoxLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js");
|
|
149788
|
+
/* harmony import */ var _map_ImageryProviders_TileUrlImageryProvider__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./map/ImageryProviders/TileUrlImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/TileUrlImageryProvider.js");
|
|
149789
|
+
/* harmony import */ var _map_ImageryProviders_WmsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./map/ImageryProviders/WmsMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/WmsMapLayerImageryProvider.js");
|
|
149790
|
+
/* harmony import */ var _map_ImageryProviders_WmtsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./map/ImageryProviders/WmtsMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js");
|
|
149791
|
+
/* harmony import */ var _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./map/MapLayerImageryFormats */ "../../core/frontend/lib/esm/tile/map/MapLayerImageryFormats.js");
|
|
149792
|
+
/* harmony import */ var _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./map/MapLayerTileTreeReference */ "../../core/frontend/lib/esm/tile/map/MapLayerTileTreeReference.js");
|
|
149793
|
+
/* harmony import */ var _map_MapTileTree__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./map/MapTileTree */ "../../core/frontend/lib/esm/tile/map/MapTileTree.js");
|
|
149794
|
+
/* harmony import */ var _map_TerrainMeshProvider__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./map/TerrainMeshProvider */ "../../core/frontend/lib/esm/tile/map/TerrainMeshProvider.js");
|
|
149795
|
+
/* harmony import */ var _map_TerrainProvider__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./map/TerrainProvider */ "../../core/frontend/lib/esm/tile/map/TerrainProvider.js");
|
|
149796
|
+
/* harmony import */ var _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./map/CesiumTerrainProvider */ "../../core/frontend/lib/esm/tile/map/CesiumTerrainProvider.js");
|
|
149797
|
+
/* harmony import */ var _map_EllipsoidTerrainProvider__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./map/EllipsoidTerrainProvider */ "../../core/frontend/lib/esm/tile/map/EllipsoidTerrainProvider.js");
|
|
149798
|
+
/* harmony import */ var _map_MapTile__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./map/MapTile */ "../../core/frontend/lib/esm/tile/map/MapTile.js");
|
|
149799
|
+
/* harmony import */ var _RealityTileLoader__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./RealityTileLoader */ "../../core/frontend/lib/esm/tile/RealityTileLoader.js");
|
|
149800
|
+
/* harmony import */ var _map_MapTileLoader__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./map/MapTileLoader */ "../../core/frontend/lib/esm/tile/map/MapTileLoader.js");
|
|
149801
|
+
/* harmony import */ var _map_BingElevation__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./map/BingElevation */ "../../core/frontend/lib/esm/tile/map/BingElevation.js");
|
|
149802
|
+
/* harmony import */ var _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./map/MapTilingScheme */ "../../core/frontend/lib/esm/tile/map/MapTilingScheme.js");
|
|
149803
|
+
/* harmony import */ var _map_MapTileAvailability__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./map/MapTileAvailability */ "../../core/frontend/lib/esm/tile/map/MapTileAvailability.js");
|
|
149804
|
+
/* harmony import */ var _PntsReader__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./PntsReader */ "../../core/frontend/lib/esm/tile/PntsReader.js");
|
|
149805
|
+
/* harmony import */ var _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./RealityModelTileTree */ "../../core/frontend/lib/esm/tile/RealityModelTileTree.js");
|
|
149806
|
+
/* harmony import */ var _RenderGraphicTileTree__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./RenderGraphicTileTree */ "../../core/frontend/lib/esm/tile/RenderGraphicTileTree.js");
|
|
149807
|
+
/* harmony import */ var _IModelTile__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./IModelTile */ "../../core/frontend/lib/esm/tile/IModelTile.js");
|
|
149808
|
+
/* harmony import */ var _DynamicIModelTile__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./DynamicIModelTile */ "../../core/frontend/lib/esm/tile/DynamicIModelTile.js");
|
|
149809
|
+
/* harmony import */ var _IModelTileTree__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./IModelTileTree */ "../../core/frontend/lib/esm/tile/IModelTileTree.js");
|
|
149810
|
+
/* harmony import */ var _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./PrimaryTileTree */ "../../core/frontend/lib/esm/tile/PrimaryTileTree.js");
|
|
149811
|
+
/* harmony import */ var _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./ClassifierTileTree */ "../../core/frontend/lib/esm/tile/ClassifierTileTree.js");
|
|
149812
|
+
/* harmony import */ var _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./OrbitGtTileTree */ "../../core/frontend/lib/esm/tile/OrbitGtTileTree.js");
|
|
149813
|
+
/* harmony import */ var _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./map/ImageryTileTree */ "../../core/frontend/lib/esm/tile/map/ImageryTileTree.js");
|
|
149814
|
+
/* harmony import */ var _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./map/MapLayerSources */ "../../core/frontend/lib/esm/tile/map/MapLayerSources.js");
|
|
149815
|
+
/* harmony import */ var _map_MapTiledGraphicsProvider__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./map/MapTiledGraphicsProvider */ "../../core/frontend/lib/esm/tile/map/MapTiledGraphicsProvider.js");
|
|
149816
|
+
/* harmony import */ var _CesiumAssetProvider__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./CesiumAssetProvider */ "../../core/frontend/lib/esm/tile/CesiumAssetProvider.js");
|
|
149817
|
+
/* harmony import */ var _ContextShareProvider__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./ContextShareProvider */ "../../core/frontend/lib/esm/tile/ContextShareProvider.js");
|
|
149818
|
+
/* harmony import */ var _ThreeDTileFormatInterpreter__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./ThreeDTileFormatInterpreter */ "../../core/frontend/lib/esm/tile/ThreeDTileFormatInterpreter.js");
|
|
149819
|
+
/* harmony import */ var _OPCFormatInterpreter__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./OPCFormatInterpreter */ "../../core/frontend/lib/esm/tile/OPCFormatInterpreter.js");
|
|
149820
|
+
/* harmony import */ var _FetchCloudStorage__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./FetchCloudStorage */ "../../core/frontend/lib/esm/tile/FetchCloudStorage.js");
|
|
149821
|
+
/* harmony import */ var _MeshoptCompression__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ./MeshoptCompression */ "../../core/frontend/lib/esm/tile/MeshoptCompression.js");
|
|
149805
149822
|
/*---------------------------------------------------------------------------------------------
|
|
149806
149823
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
149807
149824
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -149906,6 +149923,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
149906
149923
|
|
|
149907
149924
|
|
|
149908
149925
|
|
|
149926
|
+
|
|
149927
|
+
|
|
149928
|
+
|
|
149909
149929
|
|
|
149910
149930
|
|
|
149911
149931
|
|
|
@@ -151723,7 +151743,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_2
|
|
|
151723
151743
|
const tolerancePixel = options?.tolerance ?? 7;
|
|
151724
151744
|
const json = await this.getIdentifyData(quadId, carto, tolerancePixel, true, maxAllowableOffset);
|
|
151725
151745
|
if (json && Array.isArray(json.results)) {
|
|
151726
|
-
const renderer = new _internal__WEBPACK_IMPORTED_MODULE_2__.
|
|
151746
|
+
const renderer = new _internal__WEBPACK_IMPORTED_MODULE_2__.FeatureGraphicsRenderer({ viewport: hit.viewport, crs: "webMercator" });
|
|
151727
151747
|
const layerInfo = { layerName: this._settings.name, subLayerInfos: [] };
|
|
151728
151748
|
// The 'identify' service returns us a flat/unordered list of records..
|
|
151729
151749
|
// results may represent features for the a common subLayer.
|
|
@@ -151787,26 +151807,6 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_2
|
|
|
151787
151807
|
}
|
|
151788
151808
|
|
|
151789
151809
|
|
|
151790
|
-
/***/ }),
|
|
151791
|
-
|
|
151792
|
-
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisAttributeDrivenSymbology.js":
|
|
151793
|
-
/*!***********************************************************************************************!*\
|
|
151794
|
-
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisAttributeDrivenSymbology.js ***!
|
|
151795
|
-
\***********************************************************************************************/
|
|
151796
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
151797
|
-
|
|
151798
|
-
"use strict";
|
|
151799
|
-
__webpack_require__.r(__webpack_exports__);
|
|
151800
|
-
/*---------------------------------------------------------------------------------------------
|
|
151801
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
151802
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
151803
|
-
*--------------------------------------------------------------------------------------------*/
|
|
151804
|
-
/** @packageDocumentation
|
|
151805
|
-
* @module Tiles
|
|
151806
|
-
*/
|
|
151807
|
-
|
|
151808
|
-
|
|
151809
|
-
|
|
151810
151810
|
/***/ }),
|
|
151811
151811
|
|
|
151812
151812
|
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisGeometryReaderJSON.js":
|
|
@@ -151820,6 +151820,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
151820
151820
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
151821
151821
|
/* harmony export */ "ArcGisGeometryReaderJSON": () => (/* binding */ ArcGisGeometryReaderJSON)
|
|
151822
151822
|
/* harmony export */ });
|
|
151823
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
151824
|
+
/*---------------------------------------------------------------------------------------------
|
|
151825
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
151826
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
151827
|
+
*--------------------------------------------------------------------------------------------*/
|
|
151828
|
+
|
|
151823
151829
|
/** @internal */
|
|
151824
151830
|
class ArcGisGeometryReaderJSON {
|
|
151825
151831
|
constructor(geometryType, renderer, relativeCoords = false) {
|
|
@@ -151843,13 +151849,13 @@ class ArcGisGeometryReaderJSON {
|
|
|
151843
151849
|
const coords = [];
|
|
151844
151850
|
if (geometry?.rings) {
|
|
151845
151851
|
for (const ring of geometry?.rings) {
|
|
151846
|
-
offset =
|
|
151852
|
+
offset = (0,_internal__WEBPACK_IMPORTED_MODULE_0__.deflateCoordinates)(ring, coords, 2, offset);
|
|
151847
151853
|
lengths.push(ring.length);
|
|
151848
151854
|
}
|
|
151849
151855
|
}
|
|
151850
151856
|
else if (geometry?.paths) {
|
|
151851
151857
|
for (const path of geometry?.paths) {
|
|
151852
|
-
offset =
|
|
151858
|
+
offset = (0,_internal__WEBPACK_IMPORTED_MODULE_0__.deflateCoordinates)(path, coords, 2, offset);
|
|
151853
151859
|
lengths.push(path.length);
|
|
151854
151860
|
}
|
|
151855
151861
|
}
|
|
@@ -151862,281 +151868,6 @@ class ArcGisGeometryReaderJSON {
|
|
|
151862
151868
|
await renderer.renderPoint(lengths, coords, 2, relativeCoords);
|
|
151863
151869
|
}
|
|
151864
151870
|
}
|
|
151865
|
-
// Converts an [[x1,y1], [x2,y2], ...] to [x1,y1,x2,y2, ...]
|
|
151866
|
-
// stride is the number of dimensions
|
|
151867
|
-
// https://github.com/openlayers/openlayers/blob/7a2f87caca9ddc1912d910f56eb5637445fc11f6/src/ol/geom/flat/deflate.js#L26
|
|
151868
|
-
static deflateCoordinates(coordinates, flatCoordinates, stride, offset) {
|
|
151869
|
-
for (let i = 0, ii = coordinates.length; i < ii; ++i) {
|
|
151870
|
-
const coordinate = coordinates[i];
|
|
151871
|
-
for (let j = 0; j < stride; ++j)
|
|
151872
|
-
flatCoordinates[offset++] = coordinate[j];
|
|
151873
|
-
}
|
|
151874
|
-
return offset;
|
|
151875
|
-
}
|
|
151876
|
-
}
|
|
151877
|
-
|
|
151878
|
-
|
|
151879
|
-
/***/ }),
|
|
151880
|
-
|
|
151881
|
-
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisGeometryRenderer.js":
|
|
151882
|
-
/*!***************************************************************************************!*\
|
|
151883
|
-
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisGeometryRenderer.js ***!
|
|
151884
|
-
\***************************************************************************************/
|
|
151885
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
151886
|
-
|
|
151887
|
-
"use strict";
|
|
151888
|
-
__webpack_require__.r(__webpack_exports__);
|
|
151889
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
151890
|
-
/* harmony export */ "ArcGisGeometryBaseRenderer": () => (/* binding */ ArcGisGeometryBaseRenderer)
|
|
151891
|
-
/* harmony export */ });
|
|
151892
|
-
/** Internal implementation of [[ArcGisGeometryRenderer]]
|
|
151893
|
-
* @internal
|
|
151894
|
-
*/
|
|
151895
|
-
class ArcGisGeometryBaseRenderer {
|
|
151896
|
-
constructor(world2PixelTransform) {
|
|
151897
|
-
this._transform = world2PixelTransform;
|
|
151898
|
-
}
|
|
151899
|
-
get transform() { return this._transform; }
|
|
151900
|
-
/**
|
|
151901
|
-
* Render a path on the renderer's context.
|
|
151902
|
-
* Note: Inputs are designed based on the PBF format, to avoid any data transformation.
|
|
151903
|
-
* @param geometryLengths Array be used to determine the start and end of each sub-path / rings. (i.e. [5,5] = two rings of 5 vertices)
|
|
151904
|
-
* @param geometryCoords Array that linearly encodes the vertices of each sub-path of a polyline / ring of a polygon
|
|
151905
|
-
* @param fill Indicates if the path should be filled or not.
|
|
151906
|
-
* @param stride Dimension of each vertices (i.e. 2 or 3. 3 could be X,Y,Z, X,YM) Currently 3rd dimension is ignored.
|
|
151907
|
-
*/
|
|
151908
|
-
async renderPath(geometryLengths, geometryCoords, fill, stride, relativeCoords) {
|
|
151909
|
-
if (stride < 2 || stride > 3) {
|
|
151910
|
-
return;
|
|
151911
|
-
}
|
|
151912
|
-
// Keep track of our position in the in the 'coords' array:
|
|
151913
|
-
// Every time we loop on the 'lengths' array, the position
|
|
151914
|
-
// to start reading vertices in the 'coords' must be the sum of all previously read vertices.
|
|
151915
|
-
let coordsOffset = 0;
|
|
151916
|
-
// Begin the path here.
|
|
151917
|
-
// Note: Even though path is closed inside the 'geometryLengths' loop,
|
|
151918
|
-
// it's import to begin the path only once.
|
|
151919
|
-
this.beginPath();
|
|
151920
|
-
for (const vertexCount of geometryLengths) {
|
|
151921
|
-
let lastPtX = 0, lastPtY = 0;
|
|
151922
|
-
for (let vertexIdx = 0; vertexIdx < vertexCount; vertexIdx++) {
|
|
151923
|
-
let pX = geometryCoords[coordsOffset + (vertexIdx * stride)];
|
|
151924
|
-
let pY = geometryCoords[coordsOffset + (vertexIdx * stride) + 1];
|
|
151925
|
-
if (vertexIdx === 0) {
|
|
151926
|
-
// first vertex is always "absolute" and must be drawn as 'moveTo' (i.e. not lineTo)
|
|
151927
|
-
if (relativeCoords) {
|
|
151928
|
-
lastPtX = pX;
|
|
151929
|
-
lastPtY = pY;
|
|
151930
|
-
}
|
|
151931
|
-
if (this._transform) {
|
|
151932
|
-
const transformedPoint = this._transform.multiplyPoint2d({ x: pX, y: pY });
|
|
151933
|
-
pX = transformedPoint.x;
|
|
151934
|
-
pY = transformedPoint.y;
|
|
151935
|
-
}
|
|
151936
|
-
this.moveTo(pX, pY);
|
|
151937
|
-
}
|
|
151938
|
-
else {
|
|
151939
|
-
// Following vertices are relative to the previous one (sadly not really well documented by ESRI)
|
|
151940
|
-
// typically this happens when 'coordinates quantization' is active (i.e. no client side transformation is needed)
|
|
151941
|
-
if (relativeCoords) {
|
|
151942
|
-
pX = lastPtX = lastPtX + pX;
|
|
151943
|
-
pY = lastPtY = lastPtY + pY;
|
|
151944
|
-
}
|
|
151945
|
-
if (this._transform) {
|
|
151946
|
-
const transformedPoint = this._transform.multiplyPoint2d({ x: pX, y: pY });
|
|
151947
|
-
pX = transformedPoint.x;
|
|
151948
|
-
pY = transformedPoint.y;
|
|
151949
|
-
}
|
|
151950
|
-
this.lineTo(pX, pY);
|
|
151951
|
-
}
|
|
151952
|
-
}
|
|
151953
|
-
coordsOffset += stride * vertexCount;
|
|
151954
|
-
if (fill) {
|
|
151955
|
-
// ClosePath but do not 'fill' here, only at the very end (otherwise it will mess up holes)
|
|
151956
|
-
this.closePath();
|
|
151957
|
-
}
|
|
151958
|
-
}
|
|
151959
|
-
if (fill) {
|
|
151960
|
-
await this.fill();
|
|
151961
|
-
}
|
|
151962
|
-
await this.stroke(); // draw line path or polygon outline
|
|
151963
|
-
}
|
|
151964
|
-
/**
|
|
151965
|
-
* Render a point on the renderer's context.
|
|
151966
|
-
* Note: Inputs are designed based on the PBF format, to avoid any data transformation.
|
|
151967
|
-
* @param geometryLengths Array be used to determine the start and end of each multi-point array, empty for single point.
|
|
151968
|
-
* @param geometryCoords Array that linearly encodes vertices.
|
|
151969
|
-
* @param stride Dimension of each vertices (i.e. 2 or 3. 3 could be X,Y,Z, X,YM) Currently 3rd dimension is ignored.
|
|
151970
|
-
*/
|
|
151971
|
-
async renderPoint(geometryLengths, geometryCoords, stride, relativeCoords) {
|
|
151972
|
-
if (stride < 2 || stride > 3) {
|
|
151973
|
-
return;
|
|
151974
|
-
}
|
|
151975
|
-
let coordsOffset = 0;
|
|
151976
|
-
if (geometryLengths.length === 0) {
|
|
151977
|
-
// Strangely, for points, 'lengths' array is empty, so we assume there is a single vertex in 'coords' array.
|
|
151978
|
-
if (geometryCoords.length >= stride) {
|
|
151979
|
-
if (this._transform) {
|
|
151980
|
-
const transformedPoint = this._transform.multiplyPoint2d({ x: geometryCoords[0], y: geometryCoords[1] });
|
|
151981
|
-
this.drawPoint(transformedPoint.x, transformedPoint.y);
|
|
151982
|
-
}
|
|
151983
|
-
else {
|
|
151984
|
-
this.drawPoint(geometryCoords[0], geometryCoords[1]);
|
|
151985
|
-
}
|
|
151986
|
-
}
|
|
151987
|
-
}
|
|
151988
|
-
else {
|
|
151989
|
-
// MULTI-POINTS: Needs testing
|
|
151990
|
-
// I assume 'lengths' array will get populated and 'coords' array will look similar to line/polygons.
|
|
151991
|
-
for (const vertexCount of geometryLengths) {
|
|
151992
|
-
let lastPtX = 0, lastPtY = 0;
|
|
151993
|
-
for (let vertexIdx = 0; vertexIdx < vertexCount; vertexIdx++) {
|
|
151994
|
-
let pX = geometryCoords[coordsOffset + (vertexIdx * stride)];
|
|
151995
|
-
let pY = geometryCoords[coordsOffset + (vertexIdx * stride) + 1];
|
|
151996
|
-
if (relativeCoords) {
|
|
151997
|
-
pX = lastPtX = lastPtX + pX;
|
|
151998
|
-
pY = lastPtY = lastPtY + pY;
|
|
151999
|
-
}
|
|
152000
|
-
if (this._transform) {
|
|
152001
|
-
const transformedPoint = this._transform.multiplyPoint2d({ x: pX, y: pY });
|
|
152002
|
-
pX = transformedPoint.x;
|
|
152003
|
-
pY = transformedPoint.y;
|
|
152004
|
-
}
|
|
152005
|
-
this.drawPoint(pX, pY);
|
|
152006
|
-
}
|
|
152007
|
-
coordsOffset += stride * vertexCount;
|
|
152008
|
-
}
|
|
152009
|
-
}
|
|
152010
|
-
await this.finishPoints();
|
|
152011
|
-
}
|
|
152012
|
-
}
|
|
152013
|
-
|
|
152014
|
-
|
|
152015
|
-
/***/ }),
|
|
152016
|
-
|
|
152017
|
-
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisGraphicsRenderer.js":
|
|
152018
|
-
/*!***************************************************************************************!*\
|
|
152019
|
-
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisGraphicsRenderer.js ***!
|
|
152020
|
-
\***************************************************************************************/
|
|
152021
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
152022
|
-
|
|
152023
|
-
"use strict";
|
|
152024
|
-
__webpack_require__.r(__webpack_exports__);
|
|
152025
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
152026
|
-
/* harmony export */ "ArcGisGraphicsRenderer": () => (/* binding */ ArcGisGraphicsRenderer)
|
|
152027
|
-
/* harmony export */ });
|
|
152028
|
-
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
152029
|
-
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
152030
|
-
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
152031
|
-
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
152032
|
-
/*---------------------------------------------------------------------------------------------
|
|
152033
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
152034
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
152035
|
-
*--------------------------------------------------------------------------------------------*/
|
|
152036
|
-
|
|
152037
|
-
|
|
152038
|
-
|
|
152039
|
-
|
|
152040
|
-
const loggerCategory = "MapLayerImageryProvider.ArcGisGraphicsRenderer";
|
|
152041
|
-
/** ArcGIS geometry renderer implementation that will "render" a list of [GraphicPrimitive]($frontend)
|
|
152042
|
-
* This renderer initial objective is to read geometries when a call to [[MapLayerImageryProvider.getFeatureInfo]] is performed.
|
|
152043
|
-
* @internal
|
|
152044
|
-
*/
|
|
152045
|
-
class ArcGisGraphicsRenderer extends _internal__WEBPACK_IMPORTED_MODULE_3__.ArcGisGeometryBaseRenderer {
|
|
152046
|
-
get attributeSymbology() { return undefined; } // No symbology is applied in this renderer
|
|
152047
|
-
constructor(props) {
|
|
152048
|
-
super();
|
|
152049
|
-
this._scratchPointsArray = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.GrowableXYZArray();
|
|
152050
|
-
this._scratchPaths = [];
|
|
152051
|
-
this._graphics = [];
|
|
152052
|
-
this._viewport = props.viewport;
|
|
152053
|
-
this._iModel = props.viewport.iModel;
|
|
152054
|
-
}
|
|
152055
|
-
moveGraphics() {
|
|
152056
|
-
const graphics = this._graphics;
|
|
152057
|
-
this._graphics = [];
|
|
152058
|
-
return graphics;
|
|
152059
|
-
}
|
|
152060
|
-
beginPath() {
|
|
152061
|
-
this._scratchPointsArray.clear();
|
|
152062
|
-
this._scratchPaths = [];
|
|
152063
|
-
}
|
|
152064
|
-
closePath() {
|
|
152065
|
-
if (this._scratchPointsArray.length > 0) {
|
|
152066
|
-
this._scratchPaths.push(this._scratchPointsArray.getArray());
|
|
152067
|
-
this._scratchPointsArray.clear();
|
|
152068
|
-
}
|
|
152069
|
-
}
|
|
152070
|
-
async lineTo(x, y) {
|
|
152071
|
-
this._scratchPointsArray.push({ x, y, z: 0 });
|
|
152072
|
-
}
|
|
152073
|
-
async moveTo(x, y) {
|
|
152074
|
-
if (this._scratchPointsArray.length > 0) {
|
|
152075
|
-
this._scratchPaths.push(this._scratchPointsArray.getArray());
|
|
152076
|
-
this._scratchPointsArray.clear();
|
|
152077
|
-
}
|
|
152078
|
-
this._scratchPointsArray.push({ x, y, z: 0 });
|
|
152079
|
-
}
|
|
152080
|
-
async fill() {
|
|
152081
|
-
if (this._scratchPaths.length > 0) {
|
|
152082
|
-
const loops = [];
|
|
152083
|
-
const pathPromises = [];
|
|
152084
|
-
for (const points of this._scratchPaths) {
|
|
152085
|
-
pathPromises.push(this.toSpatial(points));
|
|
152086
|
-
}
|
|
152087
|
-
const pathsArray = await Promise.all(pathPromises);
|
|
152088
|
-
for (const pointsArray of pathsArray) {
|
|
152089
|
-
loops.push(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Loop.create(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.LineString3d.create(pointsArray)));
|
|
152090
|
-
}
|
|
152091
|
-
const mergedLoops = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.RegionOps.constructAllXYRegionLoops(loops);
|
|
152092
|
-
for (const loop of mergedLoops) {
|
|
152093
|
-
for (const negativeLoop of loop.negativeAreaLoops) {
|
|
152094
|
-
this._graphics.push({ type: "loop", loop: negativeLoop });
|
|
152095
|
-
}
|
|
152096
|
-
}
|
|
152097
|
-
this._scratchPaths = [];
|
|
152098
|
-
}
|
|
152099
|
-
}
|
|
152100
|
-
async stroke() {
|
|
152101
|
-
if (this._scratchPointsArray.length > 0) {
|
|
152102
|
-
this._scratchPaths.push(this._scratchPointsArray.getArray());
|
|
152103
|
-
this._scratchPointsArray.clear();
|
|
152104
|
-
}
|
|
152105
|
-
const pathPromises = [];
|
|
152106
|
-
for (const geoPt of this._scratchPaths) {
|
|
152107
|
-
pathPromises.push(this.toSpatial(geoPt));
|
|
152108
|
-
}
|
|
152109
|
-
const reprojectedPaths = await Promise.all(pathPromises);
|
|
152110
|
-
for (const path of reprojectedPaths) {
|
|
152111
|
-
this._graphics.push({ type: "linestring", points: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Point3dArray.clonePoint3dArray(path) });
|
|
152112
|
-
}
|
|
152113
|
-
this._scratchPaths = [];
|
|
152114
|
-
}
|
|
152115
|
-
drawPoint(x, y) {
|
|
152116
|
-
this._scratchPointsArray.push({ x, y, z: 0 });
|
|
152117
|
-
}
|
|
152118
|
-
async finishPoints() {
|
|
152119
|
-
if (this._scratchPointsArray.length > 0) {
|
|
152120
|
-
// Backend reprojection
|
|
152121
|
-
const pointsArray = this._scratchPointsArray.getArray();
|
|
152122
|
-
try {
|
|
152123
|
-
const spatialPoints = await this.toSpatial(pointsArray);
|
|
152124
|
-
this._graphics.push({ type: "pointstring", points: spatialPoints });
|
|
152125
|
-
}
|
|
152126
|
-
catch (error) {
|
|
152127
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(loggerCategory, "ArcGisFeatureGraphicsRenderer: Could not reproject points");
|
|
152128
|
-
}
|
|
152129
|
-
this._scratchPointsArray.clear();
|
|
152130
|
-
}
|
|
152131
|
-
}
|
|
152132
|
-
async toSpatial(geoPoints) {
|
|
152133
|
-
const bgMapGeom = this._viewport.displayStyle.getBackgroundMapGeometry();
|
|
152134
|
-
if (bgMapGeom) {
|
|
152135
|
-
const cartoPts = geoPoints.map((pt) => _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Cartographic.fromDegrees({ longitude: _internal__WEBPACK_IMPORTED_MODULE_3__.WebMercator.getEPSG4326Lon(pt.x), latitude: _internal__WEBPACK_IMPORTED_MODULE_3__.WebMercator.getEPSG4326Lat(pt.y), height: pt.z }));
|
|
152136
|
-
return bgMapGeom.cartographicToDbFromWgs84Gcs(cartoPts);
|
|
152137
|
-
}
|
|
152138
|
-
return [];
|
|
152139
|
-
}
|
|
152140
151871
|
}
|
|
152141
151872
|
|
|
152142
151873
|
|
|
@@ -152380,6 +152111,343 @@ class BingMapsImageryLayerProvider extends _internal__WEBPACK_IMPORTED_MODULE_3_
|
|
|
152380
152111
|
}
|
|
152381
152112
|
|
|
152382
152113
|
|
|
152114
|
+
/***/ }),
|
|
152115
|
+
|
|
152116
|
+
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/CoordinatesUtils.js":
|
|
152117
|
+
/*!*********************************************************************************!*\
|
|
152118
|
+
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/CoordinatesUtils.js ***!
|
|
152119
|
+
\*********************************************************************************/
|
|
152120
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
152121
|
+
|
|
152122
|
+
"use strict";
|
|
152123
|
+
__webpack_require__.r(__webpack_exports__);
|
|
152124
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
152125
|
+
/* harmony export */ "deflateCoordinates": () => (/* binding */ deflateCoordinates)
|
|
152126
|
+
/* harmony export */ });
|
|
152127
|
+
/*---------------------------------------------------------------------------------------------
|
|
152128
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
152129
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
152130
|
+
*--------------------------------------------------------------------------------------------*/
|
|
152131
|
+
/** Converts an [[x1,y1], [x2,y2], ...] to [x1,y1,x2,y2, ...]
|
|
152132
|
+
* stride is the number of dimensions
|
|
152133
|
+
* https://github.com/openlayers/openlayers/blob/7a2f87caca9ddc1912d910f56eb5637445fc11f6/src/ol/geom/flat/deflate.js#L26
|
|
152134
|
+
* @internal
|
|
152135
|
+
*/
|
|
152136
|
+
function deflateCoordinates(coordinates, flatCoordinates, stride, offset) {
|
|
152137
|
+
for (let i = 0, ii = coordinates.length; i < ii; ++i) {
|
|
152138
|
+
const coordinate = coordinates[i];
|
|
152139
|
+
for (let j = 0; j < stride; ++j)
|
|
152140
|
+
flatCoordinates[offset++] = coordinate[j];
|
|
152141
|
+
}
|
|
152142
|
+
return offset;
|
|
152143
|
+
}
|
|
152144
|
+
|
|
152145
|
+
|
|
152146
|
+
/***/ }),
|
|
152147
|
+
|
|
152148
|
+
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureAttributeDrivenSymbology.js":
|
|
152149
|
+
/*!************************************************************************************************!*\
|
|
152150
|
+
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureAttributeDrivenSymbology.js ***!
|
|
152151
|
+
\************************************************************************************************/
|
|
152152
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
152153
|
+
|
|
152154
|
+
"use strict";
|
|
152155
|
+
__webpack_require__.r(__webpack_exports__);
|
|
152156
|
+
/*---------------------------------------------------------------------------------------------
|
|
152157
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
152158
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
152159
|
+
*--------------------------------------------------------------------------------------------*/
|
|
152160
|
+
/** @packageDocumentation
|
|
152161
|
+
* @module Tiles
|
|
152162
|
+
*/
|
|
152163
|
+
|
|
152164
|
+
|
|
152165
|
+
|
|
152166
|
+
/***/ }),
|
|
152167
|
+
|
|
152168
|
+
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureGeometryRenderer.js":
|
|
152169
|
+
/*!****************************************************************************************!*\
|
|
152170
|
+
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureGeometryRenderer.js ***!
|
|
152171
|
+
\****************************************************************************************/
|
|
152172
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
152173
|
+
|
|
152174
|
+
"use strict";
|
|
152175
|
+
__webpack_require__.r(__webpack_exports__);
|
|
152176
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
152177
|
+
/* harmony export */ "FeatureGeometryBaseRenderer": () => (/* binding */ FeatureGeometryBaseRenderer)
|
|
152178
|
+
/* harmony export */ });
|
|
152179
|
+
/** Internal implementation of [[FeatureGeometryRenderer]]
|
|
152180
|
+
* @internal
|
|
152181
|
+
*/
|
|
152182
|
+
class FeatureGeometryBaseRenderer {
|
|
152183
|
+
constructor(world2PixelTransform) {
|
|
152184
|
+
this._transform = world2PixelTransform;
|
|
152185
|
+
}
|
|
152186
|
+
get transform() { return this._transform; }
|
|
152187
|
+
/**
|
|
152188
|
+
* Render a path on the renderer's context.
|
|
152189
|
+
* Note: Inputs are designed based on the PBF format, to avoid any data transformation.
|
|
152190
|
+
* @param geometryLengths Array be used to determine the start and end of each sub-path / rings. (i.e. [5,5] = two rings of 5 vertices)
|
|
152191
|
+
* @param geometryCoords Array that linearly encodes the vertices of each sub-path of a polyline / ring of a polygon
|
|
152192
|
+
* @param fill Indicates if the path should be filled or not.
|
|
152193
|
+
* @param stride Dimension of each vertices (i.e. 2 or 3. 3 could be X,Y,Z, X,YM) Currently 3rd dimension is ignored.
|
|
152194
|
+
*/
|
|
152195
|
+
async renderPath(geometryLengths, geometryCoords, fill, stride, relativeCoords) {
|
|
152196
|
+
if (stride < 2 || stride > 3) {
|
|
152197
|
+
return;
|
|
152198
|
+
}
|
|
152199
|
+
// Keep track of our position in the in the 'coords' array:
|
|
152200
|
+
// Every time we loop on the 'lengths' array, the position
|
|
152201
|
+
// to start reading vertices in the 'coords' must be the sum of all previously read vertices.
|
|
152202
|
+
let coordsOffset = 0;
|
|
152203
|
+
// Begin the path here.
|
|
152204
|
+
// Note: Even though path is closed inside the 'geometryLengths' loop,
|
|
152205
|
+
// it's import to begin the path only once.
|
|
152206
|
+
this.beginPath();
|
|
152207
|
+
for (const vertexCount of geometryLengths) {
|
|
152208
|
+
let lastPtX = 0, lastPtY = 0;
|
|
152209
|
+
for (let vertexIdx = 0; vertexIdx < vertexCount; vertexIdx++) {
|
|
152210
|
+
let pX = geometryCoords[coordsOffset + (vertexIdx * stride)];
|
|
152211
|
+
let pY = geometryCoords[coordsOffset + (vertexIdx * stride) + 1];
|
|
152212
|
+
if (vertexIdx === 0) {
|
|
152213
|
+
// first vertex is always "absolute" and must be drawn as 'moveTo' (i.e. not lineTo)
|
|
152214
|
+
if (relativeCoords) {
|
|
152215
|
+
lastPtX = pX;
|
|
152216
|
+
lastPtY = pY;
|
|
152217
|
+
}
|
|
152218
|
+
if (this._transform) {
|
|
152219
|
+
const transformedPoint = this._transform.multiplyPoint2d({ x: pX, y: pY });
|
|
152220
|
+
pX = transformedPoint.x;
|
|
152221
|
+
pY = transformedPoint.y;
|
|
152222
|
+
}
|
|
152223
|
+
this.moveTo(pX, pY);
|
|
152224
|
+
}
|
|
152225
|
+
else {
|
|
152226
|
+
// Following vertices are relative to the previous one (sadly not really well documented by ESRI)
|
|
152227
|
+
// typically this happens when 'coordinates quantization' is active (i.e. no client side transformation is needed)
|
|
152228
|
+
if (relativeCoords) {
|
|
152229
|
+
pX = lastPtX = lastPtX + pX;
|
|
152230
|
+
pY = lastPtY = lastPtY + pY;
|
|
152231
|
+
}
|
|
152232
|
+
if (this._transform) {
|
|
152233
|
+
const transformedPoint = this._transform.multiplyPoint2d({ x: pX, y: pY });
|
|
152234
|
+
pX = transformedPoint.x;
|
|
152235
|
+
pY = transformedPoint.y;
|
|
152236
|
+
}
|
|
152237
|
+
this.lineTo(pX, pY);
|
|
152238
|
+
}
|
|
152239
|
+
}
|
|
152240
|
+
coordsOffset += stride * vertexCount;
|
|
152241
|
+
if (fill) {
|
|
152242
|
+
// ClosePath but do not 'fill' here, only at the very end (otherwise it will mess up holes)
|
|
152243
|
+
this.closePath();
|
|
152244
|
+
}
|
|
152245
|
+
}
|
|
152246
|
+
if (fill) {
|
|
152247
|
+
await this.fill();
|
|
152248
|
+
}
|
|
152249
|
+
await this.stroke(); // draw line path or polygon outline
|
|
152250
|
+
}
|
|
152251
|
+
/**
|
|
152252
|
+
* Render a point on the renderer's context.
|
|
152253
|
+
* Note: Inputs are designed based on the PBF format, to avoid any data transformation.
|
|
152254
|
+
* @param geometryLengths Array be used to determine the start and end of each multi-point array, empty for single point.
|
|
152255
|
+
* @param geometryCoords Array that linearly encodes vertices.
|
|
152256
|
+
* @param stride Dimension of each vertices (i.e. 2 or 3. 3 could be X,Y,Z, X,YM) Currently 3rd dimension is ignored.
|
|
152257
|
+
*/
|
|
152258
|
+
async renderPoint(geometryLengths, geometryCoords, stride, relativeCoords) {
|
|
152259
|
+
if (stride < 2 || stride > 3) {
|
|
152260
|
+
return;
|
|
152261
|
+
}
|
|
152262
|
+
let coordsOffset = 0;
|
|
152263
|
+
if (geometryLengths.length === 0) {
|
|
152264
|
+
// Strangely, for points, 'lengths' array is empty, so we assume there is a single vertex in 'coords' array.
|
|
152265
|
+
if (geometryCoords.length >= stride) {
|
|
152266
|
+
if (this._transform) {
|
|
152267
|
+
const transformedPoint = this._transform.multiplyPoint2d({ x: geometryCoords[0], y: geometryCoords[1] });
|
|
152268
|
+
this.drawPoint(transformedPoint.x, transformedPoint.y);
|
|
152269
|
+
}
|
|
152270
|
+
else {
|
|
152271
|
+
this.drawPoint(geometryCoords[0], geometryCoords[1]);
|
|
152272
|
+
}
|
|
152273
|
+
}
|
|
152274
|
+
}
|
|
152275
|
+
else {
|
|
152276
|
+
// MULTI-POINTS: Needs testing
|
|
152277
|
+
// I assume 'lengths' array will get populated and 'coords' array will look similar to line/polygons.
|
|
152278
|
+
for (const vertexCount of geometryLengths) {
|
|
152279
|
+
let lastPtX = 0, lastPtY = 0;
|
|
152280
|
+
for (let vertexIdx = 0; vertexIdx < vertexCount; vertexIdx++) {
|
|
152281
|
+
let pX = geometryCoords[coordsOffset + (vertexIdx * stride)];
|
|
152282
|
+
let pY = geometryCoords[coordsOffset + (vertexIdx * stride) + 1];
|
|
152283
|
+
if (relativeCoords) {
|
|
152284
|
+
pX = lastPtX = lastPtX + pX;
|
|
152285
|
+
pY = lastPtY = lastPtY + pY;
|
|
152286
|
+
}
|
|
152287
|
+
if (this._transform) {
|
|
152288
|
+
const transformedPoint = this._transform.multiplyPoint2d({ x: pX, y: pY });
|
|
152289
|
+
pX = transformedPoint.x;
|
|
152290
|
+
pY = transformedPoint.y;
|
|
152291
|
+
}
|
|
152292
|
+
this.drawPoint(pX, pY);
|
|
152293
|
+
}
|
|
152294
|
+
coordsOffset += stride * vertexCount;
|
|
152295
|
+
}
|
|
152296
|
+
}
|
|
152297
|
+
await this.finishPoints();
|
|
152298
|
+
}
|
|
152299
|
+
}
|
|
152300
|
+
|
|
152301
|
+
|
|
152302
|
+
/***/ }),
|
|
152303
|
+
|
|
152304
|
+
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureGraphicsRenderer.js":
|
|
152305
|
+
/*!****************************************************************************************!*\
|
|
152306
|
+
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureGraphicsRenderer.js ***!
|
|
152307
|
+
\****************************************************************************************/
|
|
152308
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
152309
|
+
|
|
152310
|
+
"use strict";
|
|
152311
|
+
__webpack_require__.r(__webpack_exports__);
|
|
152312
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
152313
|
+
/* harmony export */ "FeatureGraphicsRenderer": () => (/* binding */ FeatureGraphicsRenderer)
|
|
152314
|
+
/* harmony export */ });
|
|
152315
|
+
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
152316
|
+
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
152317
|
+
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
152318
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
152319
|
+
/*---------------------------------------------------------------------------------------------
|
|
152320
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
152321
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
152322
|
+
*--------------------------------------------------------------------------------------------*/
|
|
152323
|
+
|
|
152324
|
+
|
|
152325
|
+
|
|
152326
|
+
|
|
152327
|
+
const loggerCategory = "MapLayerImageryProvider.FeatureGraphicsRenderer";
|
|
152328
|
+
/** Feature geometry renderer implementation that will "render" a list of [GraphicPrimitive]($frontend)
|
|
152329
|
+
* This renderer initial objective is to read geometries when a call to [[MapLayerImageryProvider.getFeatureInfo]] is performed.
|
|
152330
|
+
* @internal
|
|
152331
|
+
*/
|
|
152332
|
+
class FeatureGraphicsRenderer extends _internal__WEBPACK_IMPORTED_MODULE_3__.FeatureGeometryBaseRenderer {
|
|
152333
|
+
hasSymbologyRenderer() { return false; }
|
|
152334
|
+
constructor(props) {
|
|
152335
|
+
super();
|
|
152336
|
+
this._scratchPointsArray = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.GrowableXYZArray();
|
|
152337
|
+
this._scratchPaths = [];
|
|
152338
|
+
this._graphics = [];
|
|
152339
|
+
this._viewport = props.viewport;
|
|
152340
|
+
this._crs = props.crs;
|
|
152341
|
+
}
|
|
152342
|
+
moveGraphics() {
|
|
152343
|
+
const graphics = this._graphics;
|
|
152344
|
+
this._graphics = [];
|
|
152345
|
+
return graphics;
|
|
152346
|
+
}
|
|
152347
|
+
beginPath() {
|
|
152348
|
+
this._scratchPointsArray.clear();
|
|
152349
|
+
this._scratchPaths = [];
|
|
152350
|
+
}
|
|
152351
|
+
closePath() {
|
|
152352
|
+
if (this._scratchPointsArray.length > 0) {
|
|
152353
|
+
this._scratchPaths.push(this._scratchPointsArray.getArray());
|
|
152354
|
+
this._scratchPointsArray.clear();
|
|
152355
|
+
}
|
|
152356
|
+
}
|
|
152357
|
+
async lineTo(x, y) {
|
|
152358
|
+
this._scratchPointsArray.push({ x, y, z: 0 });
|
|
152359
|
+
}
|
|
152360
|
+
async moveTo(x, y) {
|
|
152361
|
+
if (this._scratchPointsArray.length > 0) {
|
|
152362
|
+
this._scratchPaths.push(this._scratchPointsArray.getArray());
|
|
152363
|
+
this._scratchPointsArray.clear();
|
|
152364
|
+
}
|
|
152365
|
+
this._scratchPointsArray.push({ x, y, z: 0 });
|
|
152366
|
+
}
|
|
152367
|
+
async fill() {
|
|
152368
|
+
if (this._scratchPaths.length > 0) {
|
|
152369
|
+
const loops = [];
|
|
152370
|
+
const pathPromises = [];
|
|
152371
|
+
for (const points of this._scratchPaths) {
|
|
152372
|
+
pathPromises.push(this.toSpatial(points));
|
|
152373
|
+
}
|
|
152374
|
+
const pathsArray = await Promise.all(pathPromises);
|
|
152375
|
+
for (const pointsArray of pathsArray) {
|
|
152376
|
+
loops.push(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Loop.create(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.LineString3d.create(pointsArray)));
|
|
152377
|
+
}
|
|
152378
|
+
const mergedLoops = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.RegionOps.constructAllXYRegionLoops(loops);
|
|
152379
|
+
for (const loop of mergedLoops) {
|
|
152380
|
+
for (const negativeLoop of loop.negativeAreaLoops) {
|
|
152381
|
+
this._graphics.push({ type: "loop", loop: negativeLoop });
|
|
152382
|
+
}
|
|
152383
|
+
}
|
|
152384
|
+
this._scratchPaths = [];
|
|
152385
|
+
}
|
|
152386
|
+
}
|
|
152387
|
+
async stroke() {
|
|
152388
|
+
if (this._scratchPointsArray.length > 0) {
|
|
152389
|
+
this._scratchPaths.push(this._scratchPointsArray.getArray());
|
|
152390
|
+
this._scratchPointsArray.clear();
|
|
152391
|
+
}
|
|
152392
|
+
const pathPromises = [];
|
|
152393
|
+
for (const geoPt of this._scratchPaths) {
|
|
152394
|
+
pathPromises.push(this.toSpatial(geoPt));
|
|
152395
|
+
}
|
|
152396
|
+
const reprojectedPaths = await Promise.all(pathPromises);
|
|
152397
|
+
for (const path of reprojectedPaths) {
|
|
152398
|
+
this._graphics.push({ type: "linestring", points: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Point3dArray.clonePoint3dArray(path) });
|
|
152399
|
+
}
|
|
152400
|
+
this._scratchPaths = [];
|
|
152401
|
+
}
|
|
152402
|
+
drawPoint(x, y) {
|
|
152403
|
+
this._scratchPointsArray.push({ x, y, z: 0 });
|
|
152404
|
+
}
|
|
152405
|
+
async finishPoints() {
|
|
152406
|
+
if (this._scratchPointsArray.length > 0) {
|
|
152407
|
+
// Backend reprojection
|
|
152408
|
+
const pointsArray = this._scratchPointsArray.getArray();
|
|
152409
|
+
try {
|
|
152410
|
+
const spatialPoints = await this.toSpatial(pointsArray);
|
|
152411
|
+
this._graphics.push({ type: "pointstring", points: spatialPoints });
|
|
152412
|
+
}
|
|
152413
|
+
catch (error) {
|
|
152414
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(loggerCategory, "FeatureGraphicsRenderer: Could not reproject points");
|
|
152415
|
+
}
|
|
152416
|
+
this._scratchPointsArray.clear();
|
|
152417
|
+
}
|
|
152418
|
+
}
|
|
152419
|
+
async toSpatial(geoPoints) {
|
|
152420
|
+
const bgMapGeom = this._viewport.displayStyle.getBackgroundMapGeometry();
|
|
152421
|
+
if (bgMapGeom) {
|
|
152422
|
+
const cartoPts = geoPoints.map((pt) => _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Cartographic.fromDegrees({
|
|
152423
|
+
longitude: this._crs === "webMercator" ? _internal__WEBPACK_IMPORTED_MODULE_3__.WebMercator.getEPSG4326Lon(pt.x) : pt.x,
|
|
152424
|
+
latitude: this._crs === "webMercator" ? _internal__WEBPACK_IMPORTED_MODULE_3__.WebMercator.getEPSG4326Lat(pt.y) : pt.y,
|
|
152425
|
+
height: pt.z,
|
|
152426
|
+
}));
|
|
152427
|
+
return bgMapGeom.cartographicToDbFromWgs84Gcs(cartoPts);
|
|
152428
|
+
}
|
|
152429
|
+
return [];
|
|
152430
|
+
}
|
|
152431
|
+
}
|
|
152432
|
+
|
|
152433
|
+
|
|
152434
|
+
/***/ }),
|
|
152435
|
+
|
|
152436
|
+
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureSymbologyRenderer.js":
|
|
152437
|
+
/*!*****************************************************************************************!*\
|
|
152438
|
+
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureSymbologyRenderer.js ***!
|
|
152439
|
+
\*****************************************************************************************/
|
|
152440
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
152441
|
+
|
|
152442
|
+
"use strict";
|
|
152443
|
+
__webpack_require__.r(__webpack_exports__);
|
|
152444
|
+
/*---------------------------------------------------------------------------------------------
|
|
152445
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
152446
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
152447
|
+
*--------------------------------------------------------------------------------------------*/
|
|
152448
|
+
|
|
152449
|
+
|
|
152450
|
+
|
|
152383
152451
|
/***/ }),
|
|
152384
152452
|
|
|
152385
152453
|
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js":
|
|
@@ -152668,7 +152736,7 @@ class WmsMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_3__.
|
|
|
152668
152736
|
// For instance, for EPSG:4326 the axis ordering is latitude/longitude, or north/east.
|
|
152669
152737
|
// WMS 1.1.0 always requires the axis ordering to be longitude/latitude. *sigh*
|
|
152670
152738
|
if (this._capabilities !== undefined) {
|
|
152671
|
-
bboxString = this.
|
|
152739
|
+
bboxString = this.getEPSG4326TileExtentString(row, column, zoomLevel, this._capabilities?.isVersion13); // lat/long ordering
|
|
152672
152740
|
crsString = "EPSG%3A4326";
|
|
152673
152741
|
}
|
|
152674
152742
|
}
|
|
@@ -154057,7 +154125,7 @@ class MapLayerImageryProvider {
|
|
|
154057
154125
|
}
|
|
154058
154126
|
}
|
|
154059
154127
|
/** @internal */
|
|
154060
|
-
async makeTileRequest(url) {
|
|
154128
|
+
async makeTileRequest(url, timeoutMs) {
|
|
154061
154129
|
// We want to complete the first request before letting other requests go;
|
|
154062
154130
|
// this done to avoid flooding server with requests missing credentials
|
|
154063
154131
|
if (!this._firstRequestPromise)
|
|
@@ -154066,28 +154134,7 @@ class MapLayerImageryProvider {
|
|
|
154066
154134
|
await this._firstRequestPromise;
|
|
154067
154135
|
let response;
|
|
154068
154136
|
try {
|
|
154069
|
-
|
|
154070
|
-
let hasCreds = false;
|
|
154071
|
-
if (this._settings.userName && this._settings.password) {
|
|
154072
|
-
hasCreds = true;
|
|
154073
|
-
headers = new Headers();
|
|
154074
|
-
this.setRequestAuthorization(headers);
|
|
154075
|
-
}
|
|
154076
|
-
response = await fetch(url, {
|
|
154077
|
-
method: "GET",
|
|
154078
|
-
headers,
|
|
154079
|
-
credentials: this._includeUserCredentials ? "include" : undefined,
|
|
154080
|
-
});
|
|
154081
|
-
if (response.status === 401
|
|
154082
|
-
&& (0,_request_utils__WEBPACK_IMPORTED_MODULE_6__.headersIncludeAuthMethod)(response.headers, ["ntlm", "negotiate"])
|
|
154083
|
-
&& !this._includeUserCredentials
|
|
154084
|
-
&& !hasCreds) {
|
|
154085
|
-
// We got a http 401 challenge, lets try again with SSO enabled (i.e. Windows Authentication)
|
|
154086
|
-
response = await fetch(url, { method: "GET", credentials: "include" });
|
|
154087
|
-
if (response.status === 200) {
|
|
154088
|
-
this._includeUserCredentials = true; // avoid going through 401 challenges over and over
|
|
154089
|
-
}
|
|
154090
|
-
}
|
|
154137
|
+
response = await this.makeRequest(url, timeoutMs);
|
|
154091
154138
|
}
|
|
154092
154139
|
finally {
|
|
154093
154140
|
this.onFirstRequestCompleted.raiseEvent();
|
|
@@ -154096,6 +154143,39 @@ class MapLayerImageryProvider {
|
|
|
154096
154143
|
throw new Error("fetch call failed");
|
|
154097
154144
|
return response;
|
|
154098
154145
|
}
|
|
154146
|
+
/** @internal */
|
|
154147
|
+
async makeRequest(url, timeoutMs) {
|
|
154148
|
+
let response;
|
|
154149
|
+
let headers;
|
|
154150
|
+
let hasCreds = false;
|
|
154151
|
+
if (this._settings.userName && this._settings.password) {
|
|
154152
|
+
hasCreds = true;
|
|
154153
|
+
headers = new Headers();
|
|
154154
|
+
this.setRequestAuthorization(headers);
|
|
154155
|
+
}
|
|
154156
|
+
const opts = {
|
|
154157
|
+
method: "GET",
|
|
154158
|
+
headers,
|
|
154159
|
+
credentials: this._includeUserCredentials ? "include" : undefined,
|
|
154160
|
+
};
|
|
154161
|
+
if (timeoutMs !== undefined)
|
|
154162
|
+
(0,_request_utils__WEBPACK_IMPORTED_MODULE_6__.setRequestTimeout)(opts, timeoutMs);
|
|
154163
|
+
response = await fetch(url, opts);
|
|
154164
|
+
if (response.status === 401
|
|
154165
|
+
&& (0,_request_utils__WEBPACK_IMPORTED_MODULE_6__.headersIncludeAuthMethod)(response.headers, ["ntlm", "negotiate"])
|
|
154166
|
+
&& !this._includeUserCredentials
|
|
154167
|
+
&& !hasCreds) {
|
|
154168
|
+
// Removed the previous headers and make sure "include" credentials is set
|
|
154169
|
+
opts.headers = undefined;
|
|
154170
|
+
opts.credentials = "include";
|
|
154171
|
+
// We got a http 401 challenge, lets try again with SSO enabled (i.e. Windows Authentication)
|
|
154172
|
+
response = await fetch(url, opts);
|
|
154173
|
+
if (response.status === 200) {
|
|
154174
|
+
this._includeUserCredentials = true; // avoid going through 401 challenges over and over
|
|
154175
|
+
}
|
|
154176
|
+
}
|
|
154177
|
+
return response;
|
|
154178
|
+
}
|
|
154099
154179
|
/** Returns a map layer tile at the specified settings. */
|
|
154100
154180
|
async loadTile(row, column, zoomLevel) {
|
|
154101
154181
|
try {
|
|
@@ -154231,57 +154311,28 @@ class MapLayerImageryProvider {
|
|
|
154231
154311
|
return `${tileExtent.left.toFixed(2)},${tileExtent.bottom.toFixed(2)},${tileExtent.right.toFixed(2)},${tileExtent.top.toFixed(2)}`;
|
|
154232
154312
|
}
|
|
154233
154313
|
/** @internal */
|
|
154234
|
-
|
|
154314
|
+
getEPSG4326TileExtentString(row, column, zoomLevel, latLongAxisOrdering) {
|
|
154235
154315
|
const tileExtent = this.getEPSG4326Extent(row, column, zoomLevel);
|
|
154316
|
+
return this.getEPSG4326ExtentString(tileExtent, latLongAxisOrdering);
|
|
154317
|
+
}
|
|
154318
|
+
/** @internal */
|
|
154319
|
+
getEPSG4326ExtentString(tileExtent, latLongAxisOrdering) {
|
|
154236
154320
|
if (latLongAxisOrdering) {
|
|
154237
|
-
return `${tileExtent.latitudeBottom.toFixed(8)},${tileExtent.longitudeLeft.toFixed(8)}
|
|
154238
|
-
${tileExtent.latitudeTop.toFixed(8)},${tileExtent.longitudeRight.toFixed(8)}`;
|
|
154321
|
+
return `${tileExtent.latitudeBottom.toFixed(8)},${tileExtent.longitudeLeft.toFixed(8)},${tileExtent.latitudeTop.toFixed(8)},${tileExtent.longitudeRight.toFixed(8)}`;
|
|
154239
154322
|
}
|
|
154240
154323
|
else {
|
|
154241
|
-
return `${tileExtent.longitudeLeft.toFixed(8)},${tileExtent.latitudeBottom.toFixed(8)}
|
|
154242
|
-
${tileExtent.longitudeRight.toFixed(8)},${tileExtent.latitudeTop.toFixed(8)}`;
|
|
154324
|
+
return `${tileExtent.longitudeLeft.toFixed(8)},${tileExtent.latitudeBottom.toFixed(8)},${tileExtent.longitudeRight.toFixed(8)},${tileExtent.latitudeTop.toFixed(8)}`;
|
|
154243
154325
|
}
|
|
154244
154326
|
}
|
|
154245
154327
|
/** Append custom parameters for settings to provided URL object.
|
|
154246
|
-
* Make sure custom parameters do no override query parameters already part of the URL (lower case comparison)
|
|
154247
154328
|
* @internal
|
|
154248
154329
|
*/
|
|
154249
154330
|
appendCustomParams(url) {
|
|
154250
154331
|
if (!this._settings.savedQueryParams && !this._settings.unsavedQueryParams)
|
|
154251
154332
|
return url;
|
|
154252
|
-
|
|
154253
|
-
|
|
154254
|
-
|
|
154255
|
-
currentUrl.searchParams.forEach((_value, key, _parent) => {
|
|
154256
|
-
currentParams.push(key.toLowerCase());
|
|
154257
|
-
});
|
|
154258
|
-
const urlParamsFromIndexArray = (indexArray, result) => {
|
|
154259
|
-
const urlParams = (result ? result : new URLSearchParams());
|
|
154260
|
-
if (!indexArray)
|
|
154261
|
-
return urlParams;
|
|
154262
|
-
Object.keys(indexArray).forEach((key) => {
|
|
154263
|
-
if (!currentParams.includes(key.toLowerCase()))
|
|
154264
|
-
urlParams.append(key, indexArray[key]);
|
|
154265
|
-
});
|
|
154266
|
-
return urlParams;
|
|
154267
|
-
};
|
|
154268
|
-
const params = urlParamsFromIndexArray(this._settings.savedQueryParams);
|
|
154269
|
-
urlParamsFromIndexArray(this._settings.unsavedQueryParams, params);
|
|
154270
|
-
const getSeparator = (u) => {
|
|
154271
|
-
let separator = "&";
|
|
154272
|
-
if (u.includes("?")) {
|
|
154273
|
-
if (u.endsWith("?"))
|
|
154274
|
-
separator = "";
|
|
154275
|
-
}
|
|
154276
|
-
else {
|
|
154277
|
-
separator = "?";
|
|
154278
|
-
}
|
|
154279
|
-
return separator;
|
|
154280
|
-
};
|
|
154281
|
-
if (params.size > 0) {
|
|
154282
|
-
url = `${url}${getSeparator(url)}${params.toString()}`;
|
|
154283
|
-
}
|
|
154284
|
-
return url;
|
|
154333
|
+
let tmpUrl = (0,_internal__WEBPACK_IMPORTED_MODULE_5__.appendQueryParams)(url, this._settings.savedQueryParams);
|
|
154334
|
+
tmpUrl = (0,_internal__WEBPACK_IMPORTED_MODULE_5__.appendQueryParams)(tmpUrl, this._settings.unsavedQueryParams);
|
|
154335
|
+
return tmpUrl;
|
|
154285
154336
|
}
|
|
154286
154337
|
}
|
|
154287
154338
|
|
|
@@ -157330,6 +157381,65 @@ class TerrainProviderRegistry {
|
|
|
157330
157381
|
}
|
|
157331
157382
|
|
|
157332
157383
|
|
|
157384
|
+
/***/ }),
|
|
157385
|
+
|
|
157386
|
+
/***/ "../../core/frontend/lib/esm/tile/map/UrlUtils.js":
|
|
157387
|
+
/*!********************************************************!*\
|
|
157388
|
+
!*** ../../core/frontend/lib/esm/tile/map/UrlUtils.js ***!
|
|
157389
|
+
\********************************************************/
|
|
157390
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
157391
|
+
|
|
157392
|
+
"use strict";
|
|
157393
|
+
__webpack_require__.r(__webpack_exports__);
|
|
157394
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
157395
|
+
/* harmony export */ "appendQueryParams": () => (/* binding */ appendQueryParams)
|
|
157396
|
+
/* harmony export */ });
|
|
157397
|
+
/*---------------------------------------------------------------------------------------------
|
|
157398
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
157399
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
157400
|
+
*--------------------------------------------------------------------------------------------*/
|
|
157401
|
+
/** Append custom parameters for settings to provided URL object.
|
|
157402
|
+
* Make sure custom parameters do no override query parameters already part of the URL (lower case comparison)
|
|
157403
|
+
* @internal
|
|
157404
|
+
*/
|
|
157405
|
+
function appendQueryParams(url, queryParams) {
|
|
157406
|
+
if (!queryParams)
|
|
157407
|
+
return url;
|
|
157408
|
+
// create a lower-case array of keys
|
|
157409
|
+
const currentParams = [];
|
|
157410
|
+
const currentUrl = new URL(url);
|
|
157411
|
+
currentUrl.searchParams.forEach((_value, key, _parent) => {
|
|
157412
|
+
currentParams.push(key.toLowerCase());
|
|
157413
|
+
});
|
|
157414
|
+
const urlParamsFromIndexArray = (indexArray, result) => {
|
|
157415
|
+
const urlParams = (result ? result : new URLSearchParams());
|
|
157416
|
+
if (!indexArray)
|
|
157417
|
+
return urlParams;
|
|
157418
|
+
Object.keys(indexArray).forEach((key) => {
|
|
157419
|
+
if (!currentParams.includes(key.toLowerCase()))
|
|
157420
|
+
urlParams.append(key, indexArray[key]);
|
|
157421
|
+
});
|
|
157422
|
+
return urlParams;
|
|
157423
|
+
};
|
|
157424
|
+
const params = urlParamsFromIndexArray(queryParams);
|
|
157425
|
+
const getSeparator = (u) => {
|
|
157426
|
+
let separator = "&";
|
|
157427
|
+
if (u.includes("?")) {
|
|
157428
|
+
if (u.endsWith("?"))
|
|
157429
|
+
separator = "";
|
|
157430
|
+
}
|
|
157431
|
+
else {
|
|
157432
|
+
separator = "?";
|
|
157433
|
+
}
|
|
157434
|
+
return separator;
|
|
157435
|
+
};
|
|
157436
|
+
if (params.size > 0) {
|
|
157437
|
+
url = `${url}${getSeparator(url)}${params.toString()}`;
|
|
157438
|
+
}
|
|
157439
|
+
return url;
|
|
157440
|
+
}
|
|
157441
|
+
|
|
157442
|
+
|
|
157333
157443
|
/***/ }),
|
|
157334
157444
|
|
|
157335
157445
|
/***/ "../../core/frontend/lib/esm/tile/map/WmsCapabilities.js":
|
|
@@ -184599,7 +184709,7 @@ class Arc3d extends _CurvePrimitive__WEBPACK_IMPORTED_MODULE_0__.CurvePrimitive
|
|
|
184599
184709
|
cloneAtZ(z) {
|
|
184600
184710
|
if (z === undefined)
|
|
184601
184711
|
z = this._center.z;
|
|
184602
|
-
return Arc3d.createXYZXYZXYZ(this._center.x, this._center.y,
|
|
184712
|
+
return Arc3d.createXYZXYZXYZ(this._center.x, this._center.y, z, this._matrix.coffs[0], this._matrix.coffs[3], 0, this._matrix.coffs[1], this._matrix.coffs[4], 0, this._sweep);
|
|
184603
184713
|
}
|
|
184604
184714
|
/**
|
|
184605
184715
|
* Create an arc by center (cx,cy,xz) with vectors (ux,uy,uz) and (vx,vy,vz) to points at 0 and 90 degrees in
|
|
@@ -297212,7 +297322,7 @@ var loadLanguages = instance.loadLanguages;
|
|
|
297212
297322
|
/***/ ((module) => {
|
|
297213
297323
|
|
|
297214
297324
|
"use strict";
|
|
297215
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.6.0-dev.
|
|
297325
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.6.0-dev.21","description":"iTwin.js frontend components","main":"lib/cjs/core-frontend.js","module":"lib/esm/core-frontend.js","typings":"lib/cjs/core-frontend","license":"MIT","scripts":{"build":"npm run -s copy:public && npm run -s build:cjs && npm run -s build:esm && npm run -s webpackWorkers && npm run -s copy:workers","build:cjs":"npm run -s copy:js:cjs && tsc 1>&2 --outDir lib/cjs","build:esm":"npm run -s copy:js:esm && tsc 1>&2 --module ES2020 --outDir lib/esm","clean":"rimraf lib .rush/temp/package-deps*.json","copy:public":"cpx \\"./src/public/**/*\\" ./lib/public","copy:js:cjs":"cpx \\"./src/**/*.js\\" ./lib/cjs","copy:js:esm":"cpx \\"./src/**/*.js\\" ./lib/esm","copy:workers":"cpx \\"./lib/workers/webpack/parse-imdl-worker.js\\" ./lib/public/scripts","docs":"betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/core-frontend/file.json --tsIndexFile=./core-frontend.ts --onlyJson --excludes=webgl/**/*,**/map/*.d.ts,**/tile/*.d.ts,**/*-css.ts","extract-api":"betools extract-api --entry=core-frontend && npm run extract-extension-api","extract-extension-api":"eslint -c extraction.eslint.config.js \\"./src/**/*.ts\\" 1>&2","lint":"eslint -f visualstudio \\"./src/**/*.ts\\" 1>&2","lint-fix":"eslint --fix -f visualstudio \\"./src/**/*.ts\\" 1>&2","pseudolocalize":"betools pseudolocalize --englishDir ./src/public/locales/en --out ./public/locales/en-PSEUDO","test":"npm run -s webpackTests && certa -r chrome","cover":"npm -s test","test:debug":"certa -r chrome --debug","webpackTests":"webpack --config ./src/test/utils/webpack.config.js 1>&2 && npm run -s webpackTestWorker","webpackTestWorker":"webpack --config ./src/test/worker/webpack.config.js 1>&2 && cpx \\"./lib/test/test-worker.js\\" ./lib/test","webpackWorkers":"webpack --config ./src/workers/ImdlParser/webpack.config.js 1>&2"},"repository":{"type":"git","url":"https://github.com/iTwin/itwinjs-core.git","directory":"core/frontend"},"keywords":["Bentley","BIM","iModel","digital-twin","iTwin"],"author":{"name":"Bentley Systems, Inc.","url":"http://www.bentley.com"},"peerDependencies":{"@itwin/appui-abstract":"workspace:^4.6.0-dev.21","@itwin/core-bentley":"workspace:^4.6.0-dev.21","@itwin/core-common":"workspace:^4.6.0-dev.21","@itwin/core-geometry":"workspace:^4.6.0-dev.21","@itwin/core-orbitgt":"workspace:^4.6.0-dev.21","@itwin/core-quantity":"workspace:^4.6.0-dev.21"},"//devDependencies":["NOTE: All peerDependencies should also be listed as devDependencies since peerDependencies are not considered by npm install","NOTE: All tools used by scripts in this package must be listed as devDependencies"],"devDependencies":{"@itwin/appui-abstract":"workspace:*","@itwin/build-tools":"workspace:*","@itwin/core-bentley":"workspace:*","@itwin/core-common":"workspace:*","@itwin/core-geometry":"workspace:*","@itwin/core-orbitgt":"workspace:*","@itwin/core-quantity":"workspace:*","@itwin/certa":"workspace:*","@itwin/eslint-plugin":"4.0.0-dev.44","@types/chai":"4.3.1","@types/chai-as-promised":"^7","@types/mocha":"^10.0.6","@types/sinon":"^17.0.2","babel-loader":"~8.2.5","babel-plugin-istanbul":"~6.1.1","chai":"^4.3.10","chai-as-promised":"^7.1.1","cpx2":"^3.0.0","eslint":"^8.44.0","glob":"^10.3.12","mocha":"^10.2.0","nyc":"^15.1.0","rimraf":"^3.0.2","sinon":"^17.0.1","source-map-loader":"^4.0.0","typescript":"~5.0.2","typemoq":"^2.1.0","webpack":"^5.76.0"},"//dependencies":["NOTE: these dependencies should be only for things that DO NOT APPEAR IN THE API","NOTE: core-frontend should remain UI technology agnostic, so no react/angular dependencies are allowed"],"dependencies":{"@itwin/cloud-agnostic-core":"^2.1.0","@itwin/object-storage-core":"^2.2.2","@itwin/core-i18n":"workspace:*","@itwin/core-telemetry":"workspace:*","@itwin/webgl-compatibility":"workspace:*","@loaders.gl/core":"^3.1.6","@loaders.gl/draco":"^3.1.6","fuse.js":"^3.3.0","meshoptimizer":"~0.20.0","wms-capabilities":"0.4.0"},"nyc":{"extends":"./node_modules/@itwin/build-tools/.nycrc"}}');
|
|
297216
297326
|
|
|
297217
297327
|
/***/ })
|
|
297218
297328
|
|