@itwin/rpcinterface-full-stack-tests 4.6.0-dev.18 → 4.6.0-dev.19
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/bundled-tests.js +612 -502
- package/lib/dist/bundled-tests.js.map +1 -1
- package/package.json +13 -13
|
@@ -66919,7 +66919,8 @@ class SchemaReadHelper {
|
|
|
66919
66919
|
schema.fromJSONSync(this._parser.parseSchema());
|
|
66920
66920
|
this._schema = schema;
|
|
66921
66921
|
// Need to add this schema to the context to be able to locate schemaItems within the context.
|
|
66922
|
-
this._context.
|
|
66922
|
+
if (!this._context.schemaExists(schema.schemaKey))
|
|
66923
|
+
this._context.addSchemaSync(schema);
|
|
66923
66924
|
// Load schema references first
|
|
66924
66925
|
// Need to figure out if other schemas are present.
|
|
66925
66926
|
for (const reference of this._parser.getReferences()) {
|
|
@@ -83575,6 +83576,10 @@ class SectionAttachment {
|
|
|
83575
83576
|
get zDepth() {
|
|
83576
83577
|
return this._drawingExtents.z;
|
|
83577
83578
|
}
|
|
83579
|
+
get drawingRange() {
|
|
83580
|
+
const frustum3d = this._originalFrustum.transformBy(this._toDrawing);
|
|
83581
|
+
return frustum3d.toRange();
|
|
83582
|
+
}
|
|
83578
83583
|
constructor(view, toDrawing, fromDrawing, toSheet) {
|
|
83579
83584
|
this._viewRect = new _common_ViewRect__WEBPACK_IMPORTED_MODULE_13__.ViewRect(0, 0, 1, 1);
|
|
83580
83585
|
this._originalFrustum = new _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Frustum();
|
|
@@ -83600,12 +83605,13 @@ class SectionAttachment {
|
|
|
83600
83605
|
},
|
|
83601
83606
|
};
|
|
83602
83607
|
this._viewFlagOverrides = { ...view.viewFlags, lighting: false, shadows: false };
|
|
83603
|
-
this._drawingExtents = this.viewport.viewingSpace.viewDelta.clone();
|
|
83604
|
-
this._toDrawing.multiplyVector(this._drawingExtents, this._drawingExtents);
|
|
83605
|
-
this._drawingExtents.z = Math.abs(this._drawingExtents.z);
|
|
83606
83608
|
// Save off the original frustum (potentially adjusted by viewport).
|
|
83607
83609
|
this.viewport.setupFromView();
|
|
83608
83610
|
this.viewport.viewingSpace.getFrustum(_CoordSystem__WEBPACK_IMPORTED_MODULE_4__.CoordSystem.World, true, this._originalFrustum);
|
|
83611
|
+
const drawingFrustum = this._originalFrustum.transformBy(this._toDrawing);
|
|
83612
|
+
const drawingRange = drawingFrustum.toRange();
|
|
83613
|
+
this._drawingExtents = drawingRange.diagonal();
|
|
83614
|
+
this._drawingExtents.z = Math.abs(this._drawingExtents.z);
|
|
83609
83615
|
}
|
|
83610
83616
|
dispose() {
|
|
83611
83617
|
this.viewport.dispose();
|
|
@@ -83693,12 +83699,10 @@ class DrawingViewState extends _ViewState__WEBPACK_IMPORTED_MODULE_14__.ViewStat
|
|
|
83693
83699
|
super(props, iModel, categories, displayStyle);
|
|
83694
83700
|
if (categories instanceof DrawingViewState) {
|
|
83695
83701
|
this._viewedExtents = categories._viewedExtents.clone();
|
|
83696
|
-
this._modelLimits = { ...categories._modelLimits };
|
|
83697
83702
|
this._attachmentInfo = categories._attachmentInfo.clone(iModel);
|
|
83698
83703
|
}
|
|
83699
83704
|
else {
|
|
83700
83705
|
this._viewedExtents = extents;
|
|
83701
|
-
this._modelLimits = { min: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Constant.oneMillimeter, max: 10 * extents.maxLength() };
|
|
83702
83706
|
this._attachmentInfo = SectionAttachmentInfo.fromJSON(sectionDrawing);
|
|
83703
83707
|
}
|
|
83704
83708
|
}
|
|
@@ -83776,10 +83780,17 @@ class DrawingViewState extends _ViewState__WEBPACK_IMPORTED_MODULE_14__.ViewStat
|
|
|
83776
83780
|
return props;
|
|
83777
83781
|
}
|
|
83778
83782
|
getViewedExtents() {
|
|
83779
|
-
|
|
83783
|
+
const extents = this._viewedExtents.clone();
|
|
83784
|
+
if (this._attachment) {
|
|
83785
|
+
extents.extendRange(this._attachment.drawingRange);
|
|
83786
|
+
}
|
|
83787
|
+
return extents;
|
|
83780
83788
|
}
|
|
83781
83789
|
get defaultExtentLimits() {
|
|
83782
|
-
return
|
|
83790
|
+
return {
|
|
83791
|
+
min: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Constant.oneMillimeter,
|
|
83792
|
+
max: 3 * _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Constant.diameterOfEarth,
|
|
83793
|
+
};
|
|
83783
83794
|
}
|
|
83784
83795
|
/** @internal */
|
|
83785
83796
|
isDrawingView() { return true; }
|
|
@@ -96488,8 +96499,7 @@ class ViewState extends _EntityState__WEBPACK_IMPORTED_MODULE_5__.ElementState {
|
|
|
96488
96499
|
}
|
|
96489
96500
|
/** Get or set the largest and smallest values allowed for the extents for this ViewState
|
|
96490
96501
|
* The default limits vary based on the type of view:
|
|
96491
|
-
* - Spatial view extents cannot exceed the diameter of the earth.
|
|
96492
|
-
* - Drawing view extents cannot exceed twice the longest axis of the drawing model's range.
|
|
96502
|
+
* - Spatial and drawing view extents cannot exceed the diameter of the earth.
|
|
96493
96503
|
* - Sheet view extents cannot exceed ten times the paper size of the sheet.
|
|
96494
96504
|
* Explicitly setting the extent limits overrides the default limits.
|
|
96495
96505
|
* @see [[resetExtentLimits]] to restore the default limits.
|
|
@@ -105698,9 +105708,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
105698
105708
|
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.ArcGISMapLayerImageryProvider),
|
|
105699
105709
|
/* harmony export */ "ArcGISTileMap": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.ArcGISTileMap),
|
|
105700
105710
|
/* harmony export */ "ArcGisErrorCode": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.ArcGisErrorCode),
|
|
105701
|
-
/* harmony export */ "ArcGisGeometryBaseRenderer": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.ArcGisGeometryBaseRenderer),
|
|
105702
105711
|
/* harmony export */ "ArcGisGeometryReaderJSON": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.ArcGisGeometryReaderJSON),
|
|
105703
|
-
/* harmony export */ "ArcGisGraphicsRenderer": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.ArcGisGraphicsRenderer),
|
|
105704
105712
|
/* harmony export */ "ArcGisUtilities": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.ArcGisUtilities),
|
|
105705
105713
|
/* harmony export */ "AuxChannel": () => (/* reexport safe */ _common_render_primitives_AuxChannelTable__WEBPACK_IMPORTED_MODULE_19__.AuxChannel),
|
|
105706
105714
|
/* harmony export */ "AuxChannelTable": () => (/* reexport safe */ _common_render_primitives_AuxChannelTable__WEBPACK_IMPORTED_MODULE_19__.AuxChannelTable),
|
|
@@ -105781,6 +105789,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
105781
105789
|
/* harmony export */ "EnvironmentDecorations": () => (/* reexport safe */ _EnvironmentDecorations__WEBPACK_IMPORTED_MODULE_42__.EnvironmentDecorations),
|
|
105782
105790
|
/* harmony export */ "EventController": () => (/* reexport safe */ _tools_EventController__WEBPACK_IMPORTED_MODULE_148__.EventController),
|
|
105783
105791
|
/* harmony export */ "EventHandled": () => (/* reexport safe */ _tools_Tool__WEBPACK_IMPORTED_MODULE_153__.EventHandled),
|
|
105792
|
+
/* harmony export */ "FeatureGeometryBaseRenderer": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.FeatureGeometryBaseRenderer),
|
|
105793
|
+
/* harmony export */ "FeatureGraphicsRenderer": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.FeatureGraphicsRenderer),
|
|
105784
105794
|
/* harmony export */ "FeatureSymbology": () => (/* reexport safe */ _render_FeatureSymbology__WEBPACK_IMPORTED_MODULE_102__.FeatureSymbology),
|
|
105785
105795
|
/* harmony export */ "FetchCloudStorage": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.FetchCloudStorage),
|
|
105786
105796
|
/* harmony export */ "FitViewTool": () => (/* reexport safe */ _tools_ViewTool__WEBPACK_IMPORTED_MODULE_157__.FitViewTool),
|
|
@@ -106158,6 +106168,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
106158
106168
|
/* harmony export */ "acquireImdlDecoder": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.acquireImdlDecoder),
|
|
106159
106169
|
/* harmony export */ "acquireImdlParser": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.acquireImdlParser),
|
|
106160
106170
|
/* harmony export */ "addRangeGraphic": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.addRangeGraphic),
|
|
106171
|
+
/* harmony export */ "appendQueryParams": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.appendQueryParams),
|
|
106161
106172
|
/* harmony export */ "areaToEyeHeight": () => (/* reexport safe */ _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_80__.areaToEyeHeight),
|
|
106162
106173
|
/* harmony export */ "areaToEyeHeightFromGcs": () => (/* reexport safe */ _ViewGlobalLocation__WEBPACK_IMPORTED_MODULE_80__.areaToEyeHeightFromGcs),
|
|
106163
106174
|
/* harmony export */ "calculateEcefToDbTransformAtLocation": () => (/* reexport safe */ _BackgroundMapGeometry__WEBPACK_IMPORTED_MODULE_158__.calculateEcefToDbTransformAtLocation),
|
|
@@ -106189,6 +106200,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
106189
106200
|
/* harmony export */ "createWorkerProxy": () => (/* reexport safe */ _common_WorkerProxy__WEBPACK_IMPORTED_MODULE_32__.createWorkerProxy),
|
|
106190
106201
|
/* harmony export */ "decodeImdlGraphics": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.decodeImdlGraphics),
|
|
106191
106202
|
/* harmony export */ "decodeMeshoptBuffer": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.decodeMeshoptBuffer),
|
|
106203
|
+
/* harmony export */ "deflateCoordinates": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.deflateCoordinates),
|
|
106192
106204
|
/* harmony export */ "disposeTileTreesForGeometricModels": () => (/* reexport safe */ _tile_internal__WEBPACK_IMPORTED_MODULE_143__.disposeTileTreesForGeometricModels),
|
|
106193
106205
|
/* harmony export */ "edgeParamsFromImdl": () => (/* reexport safe */ _common_imdl_ParseImdlDocument__WEBPACK_IMPORTED_MODULE_16__.edgeParamsFromImdl),
|
|
106194
106206
|
/* harmony export */ "extractImageSourceDimensions": () => (/* reexport safe */ _common_ImageUtil__WEBPACK_IMPORTED_MODULE_13__.extractImageSourceDimensions),
|
|
@@ -155648,28 +155660,28 @@ function createDefaultViewFlagOverrides(options) {
|
|
|
155648
155660
|
"use strict";
|
|
155649
155661
|
__webpack_require__.r(__webpack_exports__);
|
|
155650
155662
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
155651
|
-
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */
|
|
155652
|
-
/* harmony export */ "ArcGISIdentifyRequestUrl": () => (/* reexport safe */
|
|
155653
|
-
/* harmony export */ "ArcGISImageryProvider": () => (/* reexport safe */
|
|
155654
|
-
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* reexport safe */
|
|
155663
|
+
/* harmony export */ "AnimatedTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.AnimatedTreeReference),
|
|
155664
|
+
/* harmony export */ "ArcGISIdentifyRequestUrl": () => (/* reexport safe */ _map_ImageryProviders_ArcGISMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_55__.ArcGISIdentifyRequestUrl),
|
|
155665
|
+
/* harmony export */ "ArcGISImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_ArcGISImageryProvider__WEBPACK_IMPORTED_MODULE_51__.ArcGISImageryProvider),
|
|
155666
|
+
/* harmony export */ "ArcGISMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_ArcGISMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_55__.ArcGISMapLayerImageryProvider),
|
|
155655
155667
|
/* harmony export */ "ArcGISTileMap": () => (/* reexport safe */ _map_ArcGISTileMap__WEBPACK_IMPORTED_MODULE_37__.ArcGISTileMap),
|
|
155656
155668
|
/* harmony export */ "ArcGisErrorCode": () => (/* reexport safe */ _map_ArcGisUtilities__WEBPACK_IMPORTED_MODULE_41__.ArcGisErrorCode),
|
|
155657
|
-
/* harmony export */ "
|
|
155658
|
-
/* harmony export */ "ArcGisGeometryReaderJSON": () => (/* reexport safe */ _map_ImageryProviders_ArcGisGeometryReaderJSON__WEBPACK_IMPORTED_MODULE_51__.ArcGisGeometryReaderJSON),
|
|
155659
|
-
/* harmony export */ "ArcGisGraphicsRenderer": () => (/* reexport safe */ _map_ImageryProviders_ArcGisGraphicsRenderer__WEBPACK_IMPORTED_MODULE_50__.ArcGisGraphicsRenderer),
|
|
155669
|
+
/* harmony export */ "ArcGisGeometryReaderJSON": () => (/* reexport safe */ _map_ImageryProviders_ArcGisGeometryReaderJSON__WEBPACK_IMPORTED_MODULE_54__.ArcGisGeometryReaderJSON),
|
|
155660
155670
|
/* harmony export */ "ArcGisUtilities": () => (/* reexport safe */ _map_ArcGisUtilities__WEBPACK_IMPORTED_MODULE_41__.ArcGisUtilities),
|
|
155661
|
-
/* harmony export */ "AzureMapsLayerImageryProvider": () => (/* reexport safe */
|
|
155671
|
+
/* harmony export */ "AzureMapsLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_AzureMapsLayerImageryProvider__WEBPACK_IMPORTED_MODULE_56__.AzureMapsLayerImageryProvider),
|
|
155662
155672
|
/* harmony export */ "B3dmReader": () => (/* reexport safe */ _B3dmReader__WEBPACK_IMPORTED_MODULE_32__.B3dmReader),
|
|
155663
155673
|
/* harmony export */ "BatchedTileIdMap": () => (/* reexport safe */ _BatchedTileIdMap__WEBPACK_IMPORTED_MODULE_12__.BatchedTileIdMap),
|
|
155664
|
-
/* harmony export */ "BingElevationProvider": () => (/* reexport safe */
|
|
155665
|
-
/* harmony export */ "BingMapsImageryLayerProvider": () => (/* reexport safe */
|
|
155666
|
-
/* harmony export */ "CesiumIonAssetProvider": () => (/* reexport safe */
|
|
155667
|
-
/* harmony export */ "ContextShareProvider": () => (/* reexport safe */
|
|
155674
|
+
/* harmony export */ "BingElevationProvider": () => (/* reexport safe */ _map_BingElevation__WEBPACK_IMPORTED_MODULE_72__.BingElevationProvider),
|
|
155675
|
+
/* harmony export */ "BingMapsImageryLayerProvider": () => (/* reexport safe */ _map_ImageryProviders_BingImageryProvider__WEBPACK_IMPORTED_MODULE_57__.BingMapsImageryLayerProvider),
|
|
155676
|
+
/* harmony export */ "CesiumIonAssetProvider": () => (/* reexport safe */ _CesiumAssetProvider__WEBPACK_IMPORTED_MODULE_87__.CesiumIonAssetProvider),
|
|
155677
|
+
/* harmony export */ "ContextShareProvider": () => (/* reexport safe */ _ContextShareProvider__WEBPACK_IMPORTED_MODULE_88__.ContextShareProvider),
|
|
155668
155678
|
/* harmony export */ "DisclosedTileTreeSet": () => (/* reexport safe */ _DisclosedTileTreeSet__WEBPACK_IMPORTED_MODULE_3__.DisclosedTileTreeSet),
|
|
155669
|
-
/* harmony export */ "DynamicIModelTile": () => (/* reexport safe */
|
|
155670
|
-
/* harmony export */ "EllipsoidTerrainProvider": () => (/* reexport safe */
|
|
155671
|
-
/* harmony export */ "
|
|
155672
|
-
/* harmony export */ "
|
|
155679
|
+
/* harmony export */ "DynamicIModelTile": () => (/* reexport safe */ _DynamicIModelTile__WEBPACK_IMPORTED_MODULE_79__.DynamicIModelTile),
|
|
155680
|
+
/* harmony export */ "EllipsoidTerrainProvider": () => (/* reexport safe */ _map_EllipsoidTerrainProvider__WEBPACK_IMPORTED_MODULE_68__.EllipsoidTerrainProvider),
|
|
155681
|
+
/* harmony export */ "FeatureGeometryBaseRenderer": () => (/* reexport safe */ _map_ImageryProviders_FeatureGeometryRenderer__WEBPACK_IMPORTED_MODULE_52__.FeatureGeometryBaseRenderer),
|
|
155682
|
+
/* harmony export */ "FeatureGraphicsRenderer": () => (/* reexport safe */ _map_ImageryProviders_FeatureGraphicsRenderer__WEBPACK_IMPORTED_MODULE_53__.FeatureGraphicsRenderer),
|
|
155683
|
+
/* harmony export */ "FetchCloudStorage": () => (/* reexport safe */ _FetchCloudStorage__WEBPACK_IMPORTED_MODULE_91__.FetchCloudStorage),
|
|
155684
|
+
/* harmony export */ "GeographicTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_73__.GeographicTilingScheme),
|
|
155673
155685
|
/* harmony export */ "GltfBufferData": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfBufferData),
|
|
155674
155686
|
/* harmony export */ "GltfGraphicsReader": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfGraphicsReader),
|
|
155675
155687
|
/* harmony export */ "GltfMeshData": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfMeshData),
|
|
@@ -155677,60 +155689,60 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
155677
155689
|
/* harmony export */ "GltfReaderProps": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.GltfReaderProps),
|
|
155678
155690
|
/* harmony export */ "GraphicsCollectorDrawArgs": () => (/* reexport safe */ _GraphicsCollector__WEBPACK_IMPORTED_MODULE_11__.GraphicsCollectorDrawArgs),
|
|
155679
155691
|
/* harmony export */ "I3dmReader": () => (/* reexport safe */ _I3dmReader__WEBPACK_IMPORTED_MODULE_31__.I3dmReader),
|
|
155680
|
-
/* harmony export */ "IModelTile": () => (/* reexport safe */
|
|
155692
|
+
/* harmony export */ "IModelTile": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_78__.IModelTile),
|
|
155681
155693
|
/* harmony export */ "IModelTileRequestChannels": () => (/* reexport safe */ _IModelTileRequestChannels__WEBPACK_IMPORTED_MODULE_25__.IModelTileRequestChannels),
|
|
155682
|
-
/* harmony export */ "IModelTileTree": () => (/* reexport safe */
|
|
155683
|
-
/* harmony export */ "ImageryMapLayerFormat": () => (/* reexport safe */
|
|
155684
|
-
/* harmony export */ "ImageryMapLayerTreeReference": () => (/* reexport safe */
|
|
155685
|
-
/* harmony export */ "ImageryMapTile": () => (/* reexport safe */
|
|
155686
|
-
/* harmony export */ "ImageryMapTileTree": () => (/* reexport safe */
|
|
155687
|
-
/* harmony export */ "ImageryTileTreeState": () => (/* reexport safe */
|
|
155694
|
+
/* harmony export */ "IModelTileTree": () => (/* reexport safe */ _IModelTileTree__WEBPACK_IMPORTED_MODULE_80__.IModelTileTree),
|
|
155695
|
+
/* harmony export */ "ImageryMapLayerFormat": () => (/* reexport safe */ _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_62__.ImageryMapLayerFormat),
|
|
155696
|
+
/* harmony export */ "ImageryMapLayerTreeReference": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_84__.ImageryMapLayerTreeReference),
|
|
155697
|
+
/* harmony export */ "ImageryMapTile": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_84__.ImageryMapTile),
|
|
155698
|
+
/* harmony export */ "ImageryMapTileTree": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_84__.ImageryMapTileTree),
|
|
155699
|
+
/* harmony export */ "ImageryTileTreeState": () => (/* reexport safe */ _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_84__.ImageryTileTreeState),
|
|
155688
155700
|
/* harmony export */ "ImdlReader": () => (/* reexport safe */ _ImdlReader__WEBPACK_IMPORTED_MODULE_33__.ImdlReader),
|
|
155689
155701
|
/* harmony export */ "LRUTileList": () => (/* reexport safe */ _LRUTileList__WEBPACK_IMPORTED_MODULE_5__.LRUTileList),
|
|
155690
|
-
/* harmony export */ "MapBoxLayerImageryProvider": () => (/* reexport safe */
|
|
155702
|
+
/* harmony export */ "MapBoxLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_MapBoxLayerImageryProvider__WEBPACK_IMPORTED_MODULE_58__.MapBoxLayerImageryProvider),
|
|
155691
155703
|
/* harmony export */ "MapCartoRectangle": () => (/* reexport safe */ _map_MapCartoRectangle__WEBPACK_IMPORTED_MODULE_1__.MapCartoRectangle),
|
|
155692
155704
|
/* harmony export */ "MapFeatureInfoRecord": () => (/* reexport safe */ _map_MapFeatureInfo__WEBPACK_IMPORTED_MODULE_39__.MapFeatureInfoRecord),
|
|
155693
155705
|
/* harmony export */ "MapLayerFeatureRecord": () => (/* reexport safe */ _map_MapFeatureInfo__WEBPACK_IMPORTED_MODULE_39__.MapLayerFeatureRecord),
|
|
155694
155706
|
/* harmony export */ "MapLayerFormat": () => (/* reexport safe */ _map_MapLayerFormatRegistry__WEBPACK_IMPORTED_MODULE_40__.MapLayerFormat),
|
|
155695
155707
|
/* harmony export */ "MapLayerFormatRegistry": () => (/* reexport safe */ _map_MapLayerFormatRegistry__WEBPACK_IMPORTED_MODULE_40__.MapLayerFormatRegistry),
|
|
155696
|
-
/* harmony export */ "MapLayerImageryProvider": () => (/* reexport safe */
|
|
155697
|
-
/* harmony export */ "MapLayerImageryProviderStatus": () => (/* reexport safe */
|
|
155698
|
-
/* harmony export */ "MapLayerSource": () => (/* reexport safe */
|
|
155699
|
-
/* harmony export */ "MapLayerSourceStatus": () => (/* reexport safe */
|
|
155700
|
-
/* harmony export */ "MapLayerSources": () => (/* reexport safe */
|
|
155701
|
-
/* harmony export */ "MapLayerTileTreeReference": () => (/* reexport safe */
|
|
155702
|
-
/* harmony export */ "MapTile": () => (/* reexport safe */
|
|
155703
|
-
/* harmony export */ "MapTileLoader": () => (/* reexport safe */
|
|
155704
|
-
/* harmony export */ "MapTileProjection": () => (/* reexport safe */
|
|
155705
|
-
/* harmony export */ "MapTileTree": () => (/* reexport safe */
|
|
155706
|
-
/* harmony export */ "MapTileTreeReference": () => (/* reexport safe */
|
|
155707
|
-
/* harmony export */ "MapTileTreeScaleRangeVisibility": () => (/* reexport safe */
|
|
155708
|
-
/* harmony export */ "MapTiledGraphicsProvider": () => (/* reexport safe */
|
|
155709
|
-
/* harmony export */ "MapTilingScheme": () => (/* reexport safe */
|
|
155710
|
-
/* harmony export */ "ModelMapLayerTileTreeReference": () => (/* reexport safe */
|
|
155711
|
-
/* harmony export */ "OPCFormatInterpreter": () => (/* reexport safe */
|
|
155712
|
-
/* harmony export */ "OrbitGtTileTree": () => (/* reexport safe */
|
|
155713
|
-
/* harmony export */ "OrbitGtTreeReference": () => (/* reexport safe */
|
|
155714
|
-
/* harmony export */ "PlanarTilePatch": () => (/* reexport safe */
|
|
155708
|
+
/* harmony export */ "MapLayerImageryProvider": () => (/* reexport safe */ _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_47__.MapLayerImageryProvider),
|
|
155709
|
+
/* harmony export */ "MapLayerImageryProviderStatus": () => (/* reexport safe */ _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_47__.MapLayerImageryProviderStatus),
|
|
155710
|
+
/* harmony export */ "MapLayerSource": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_85__.MapLayerSource),
|
|
155711
|
+
/* harmony export */ "MapLayerSourceStatus": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_85__.MapLayerSourceStatus),
|
|
155712
|
+
/* harmony export */ "MapLayerSources": () => (/* reexport safe */ _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_85__.MapLayerSources),
|
|
155713
|
+
/* harmony export */ "MapLayerTileTreeReference": () => (/* reexport safe */ _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_63__.MapLayerTileTreeReference),
|
|
155714
|
+
/* harmony export */ "MapTile": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_69__.MapTile),
|
|
155715
|
+
/* harmony export */ "MapTileLoader": () => (/* reexport safe */ _map_MapTileLoader__WEBPACK_IMPORTED_MODULE_71__.MapTileLoader),
|
|
155716
|
+
/* harmony export */ "MapTileProjection": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_69__.MapTileProjection),
|
|
155717
|
+
/* harmony export */ "MapTileTree": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_64__.MapTileTree),
|
|
155718
|
+
/* harmony export */ "MapTileTreeReference": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_64__.MapTileTreeReference),
|
|
155719
|
+
/* harmony export */ "MapTileTreeScaleRangeVisibility": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_64__.MapTileTreeScaleRangeVisibility),
|
|
155720
|
+
/* harmony export */ "MapTiledGraphicsProvider": () => (/* reexport safe */ _map_MapTiledGraphicsProvider__WEBPACK_IMPORTED_MODULE_86__.MapTiledGraphicsProvider),
|
|
155721
|
+
/* harmony export */ "MapTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_73__.MapTilingScheme),
|
|
155722
|
+
/* harmony export */ "ModelMapLayerTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.ModelMapLayerTileTreeReference),
|
|
155723
|
+
/* harmony export */ "OPCFormatInterpreter": () => (/* reexport safe */ _OPCFormatInterpreter__WEBPACK_IMPORTED_MODULE_90__.OPCFormatInterpreter),
|
|
155724
|
+
/* harmony export */ "OrbitGtTileTree": () => (/* reexport safe */ _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_83__.OrbitGtTileTree),
|
|
155725
|
+
/* harmony export */ "OrbitGtTreeReference": () => (/* reexport safe */ _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_83__.OrbitGtTreeReference),
|
|
155726
|
+
/* harmony export */ "PlanarTilePatch": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_69__.PlanarTilePatch),
|
|
155715
155727
|
/* harmony export */ "QuadId": () => (/* reexport safe */ _map_QuadId__WEBPACK_IMPORTED_MODULE_2__.QuadId),
|
|
155716
155728
|
/* harmony export */ "ReadonlyTileUserSet": () => (/* reexport safe */ _TileUserSet__WEBPACK_IMPORTED_MODULE_29__.ReadonlyTileUserSet),
|
|
155717
|
-
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */
|
|
155718
|
-
/* harmony export */ "RealityModelTileUtils": () => (/* reexport safe */
|
|
155729
|
+
/* harmony export */ "RealityModelTileTree": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__.RealityModelTileTree),
|
|
155730
|
+
/* harmony export */ "RealityModelTileUtils": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__.RealityModelTileUtils),
|
|
155719
155731
|
/* harmony export */ "RealityTile": () => (/* reexport safe */ _RealityTile__WEBPACK_IMPORTED_MODULE_6__.RealityTile),
|
|
155720
155732
|
/* harmony export */ "RealityTileDrawArgs": () => (/* reexport safe */ _RealityTileDrawArgs__WEBPACK_IMPORTED_MODULE_10__.RealityTileDrawArgs),
|
|
155721
|
-
/* harmony export */ "RealityTileLoader": () => (/* reexport safe */
|
|
155722
|
-
/* harmony export */ "RealityTileRegion": () => (/* reexport safe */
|
|
155733
|
+
/* harmony export */ "RealityTileLoader": () => (/* reexport safe */ _RealityTileLoader__WEBPACK_IMPORTED_MODULE_70__.RealityTileLoader),
|
|
155734
|
+
/* harmony export */ "RealityTileRegion": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__.RealityTileRegion),
|
|
155723
155735
|
/* harmony export */ "RealityTileTree": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.RealityTileTree),
|
|
155724
|
-
/* harmony export */ "RealityTreeReference": () => (/* reexport safe */
|
|
155725
|
-
/* harmony export */ "SelectParent": () => (/* reexport safe */
|
|
155726
|
-
/* harmony export */ "SpatialClassifierTileTreeReference": () => (/* reexport safe */
|
|
155727
|
-
/* harmony export */ "SpatialTileTreeReferences": () => (/* reexport safe */
|
|
155728
|
-
/* harmony export */ "TerrainMeshProvider": () => (/* reexport safe */
|
|
155729
|
-
/* harmony export */ "TerrainProviderRegistry": () => (/* reexport safe */
|
|
155730
|
-
/* harmony export */ "ThreeDTileFormatInterpreter": () => (/* reexport safe */
|
|
155736
|
+
/* harmony export */ "RealityTreeReference": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__.RealityTreeReference),
|
|
155737
|
+
/* harmony export */ "SelectParent": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_78__.SelectParent),
|
|
155738
|
+
/* harmony export */ "SpatialClassifierTileTreeReference": () => (/* reexport safe */ _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_82__.SpatialClassifierTileTreeReference),
|
|
155739
|
+
/* harmony export */ "SpatialTileTreeReferences": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.SpatialTileTreeReferences),
|
|
155740
|
+
/* harmony export */ "TerrainMeshProvider": () => (/* reexport safe */ _map_TerrainMeshProvider__WEBPACK_IMPORTED_MODULE_65__.TerrainMeshProvider),
|
|
155741
|
+
/* harmony export */ "TerrainProviderRegistry": () => (/* reexport safe */ _map_TerrainProvider__WEBPACK_IMPORTED_MODULE_66__.TerrainProviderRegistry),
|
|
155742
|
+
/* harmony export */ "ThreeDTileFormatInterpreter": () => (/* reexport safe */ _ThreeDTileFormatInterpreter__WEBPACK_IMPORTED_MODULE_89__.ThreeDTileFormatInterpreter),
|
|
155731
155743
|
/* harmony export */ "Tile": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.Tile),
|
|
155732
155744
|
/* harmony export */ "TileAdmin": () => (/* reexport safe */ _TileAdmin__WEBPACK_IMPORTED_MODULE_21__.TileAdmin),
|
|
155733
|
-
/* harmony export */ "TileAvailability": () => (/* reexport safe */
|
|
155745
|
+
/* harmony export */ "TileAvailability": () => (/* reexport safe */ _map_MapTileAvailability__WEBPACK_IMPORTED_MODULE_74__.TileAvailability),
|
|
155734
155746
|
/* harmony export */ "TileBoundingBoxes": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.TileBoundingBoxes),
|
|
155735
155747
|
/* harmony export */ "TileDrawArgs": () => (/* reexport safe */ _TileDrawArgs__WEBPACK_IMPORTED_MODULE_9__.TileDrawArgs),
|
|
155736
155748
|
/* harmony export */ "TileGeometryCollector": () => (/* reexport safe */ _TileGeometryCollector__WEBPACK_IMPORTED_MODULE_19__.TileGeometryCollector),
|
|
@@ -155745,7 +155757,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
155745
155757
|
/* harmony export */ "TileTree": () => (/* reexport safe */ _TileTree__WEBPACK_IMPORTED_MODULE_14__.TileTree),
|
|
155746
155758
|
/* harmony export */ "TileTreeLoadStatus": () => (/* reexport safe */ _TileTree__WEBPACK_IMPORTED_MODULE_14__.TileTreeLoadStatus),
|
|
155747
155759
|
/* harmony export */ "TileTreeReference": () => (/* reexport safe */ _TileTreeReference__WEBPACK_IMPORTED_MODULE_18__.TileTreeReference),
|
|
155748
|
-
/* harmony export */ "TileUrlImageryProvider": () => (/* reexport safe */
|
|
155760
|
+
/* harmony export */ "TileUrlImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_TileUrlImageryProvider__WEBPACK_IMPORTED_MODULE_59__.TileUrlImageryProvider),
|
|
155749
155761
|
/* harmony export */ "TileUsageMarker": () => (/* reexport safe */ _TileUsageMarker__WEBPACK_IMPORTED_MODULE_27__.TileUsageMarker),
|
|
155750
155762
|
/* harmony export */ "TileUser": () => (/* reexport safe */ _TileUser__WEBPACK_IMPORTED_MODULE_28__.TileUser),
|
|
155751
155763
|
/* harmony export */ "TileUserIdSet": () => (/* reexport safe */ _LRUTileList__WEBPACK_IMPORTED_MODULE_5__.TileUserIdSet),
|
|
@@ -155756,48 +155768,50 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
155756
155768
|
/* harmony export */ "TraversalDetails": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.TraversalDetails),
|
|
155757
155769
|
/* harmony export */ "TraversalSelectionContext": () => (/* reexport safe */ _RealityTileTree__WEBPACK_IMPORTED_MODULE_15__.TraversalSelectionContext),
|
|
155758
155770
|
/* harmony export */ "UniqueTileUserSets": () => (/* reexport safe */ _TileUserSet__WEBPACK_IMPORTED_MODULE_29__.UniqueTileUserSets),
|
|
155759
|
-
/* harmony export */ "UpsampledMapTile": () => (/* reexport safe */
|
|
155760
|
-
/* harmony export */ "WebMercator": () => (/* reexport safe */
|
|
155761
|
-
/* harmony export */ "WebMercatorProjection": () => (/* reexport safe */
|
|
155762
|
-
/* harmony export */ "WebMercatorTilingScheme": () => (/* reexport safe */
|
|
155771
|
+
/* harmony export */ "UpsampledMapTile": () => (/* reexport safe */ _map_MapTile__WEBPACK_IMPORTED_MODULE_69__.UpsampledMapTile),
|
|
155772
|
+
/* harmony export */ "WebMercator": () => (/* reexport safe */ _map_ImageryProviders_WebMercator__WEBPACK_IMPORTED_MODULE_48__.WebMercator),
|
|
155773
|
+
/* harmony export */ "WebMercatorProjection": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_73__.WebMercatorProjection),
|
|
155774
|
+
/* harmony export */ "WebMercatorTilingScheme": () => (/* reexport safe */ _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_73__.WebMercatorTilingScheme),
|
|
155763
155775
|
/* harmony export */ "WmsCapabilities": () => (/* reexport safe */ _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_43__.WmsCapabilities),
|
|
155764
155776
|
/* harmony export */ "WmsCapability": () => (/* reexport safe */ _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_43__.WmsCapability),
|
|
155765
|
-
/* harmony export */ "WmsMapLayerImageryProvider": () => (/* reexport safe */
|
|
155777
|
+
/* harmony export */ "WmsMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_WmsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_60__.WmsMapLayerImageryProvider),
|
|
155766
155778
|
/* harmony export */ "WmsUtilities": () => (/* reexport safe */ _map_WmsUtilities__WEBPACK_IMPORTED_MODULE_42__.WmsUtilities),
|
|
155767
155779
|
/* harmony export */ "WmtsCapabilities": () => (/* reexport safe */ _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_44__.WmtsCapabilities),
|
|
155768
155780
|
/* harmony export */ "WmtsCapability": () => (/* reexport safe */ _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_44__.WmtsCapability),
|
|
155769
155781
|
/* harmony export */ "WmtsConstants": () => (/* reexport safe */ _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_44__.WmtsConstants),
|
|
155770
|
-
/* harmony export */ "WmtsMapLayerImageryProvider": () => (/* reexport safe */
|
|
155782
|
+
/* harmony export */ "WmtsMapLayerImageryProvider": () => (/* reexport safe */ _map_ImageryProviders_WmtsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_61__.WmtsMapLayerImageryProvider),
|
|
155771
155783
|
/* harmony export */ "acquireImdlDecoder": () => (/* reexport safe */ _ImdlDecoder__WEBPACK_IMPORTED_MODULE_34__.acquireImdlDecoder),
|
|
155772
155784
|
/* harmony export */ "acquireImdlParser": () => (/* reexport safe */ _ImdlParser__WEBPACK_IMPORTED_MODULE_36__.acquireImdlParser),
|
|
155773
155785
|
/* harmony export */ "addRangeGraphic": () => (/* reexport safe */ _Tile__WEBPACK_IMPORTED_MODULE_4__.addRangeGraphic),
|
|
155774
|
-
/* harmony export */ "
|
|
155786
|
+
/* harmony export */ "appendQueryParams": () => (/* reexport safe */ _map_UrlUtils__WEBPACK_IMPORTED_MODULE_46__.appendQueryParams),
|
|
155787
|
+
/* harmony export */ "createClassifierTileTreeReference": () => (/* reexport safe */ _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_82__.createClassifierTileTreeReference),
|
|
155775
155788
|
/* harmony export */ "createDefaultViewFlagOverrides": () => (/* reexport safe */ _ViewFlagOverrides__WEBPACK_IMPORTED_MODULE_0__.createDefaultViewFlagOverrides),
|
|
155776
|
-
/* harmony export */ "createMapLayerTreeReference": () => (/* reexport safe */
|
|
155777
|
-
/* harmony export */ "createMaskTreeReference": () => (/* reexport safe */
|
|
155778
|
-
/* harmony export */ "createModelMapLayerTileTreeReference": () => (/* reexport safe */
|
|
155779
|
-
/* harmony export */ "createOrbitGtTileTreeReference": () => (/* reexport safe */
|
|
155780
|
-
/* harmony export */ "createPrimaryTileTreeReference": () => (/* reexport safe */
|
|
155781
|
-
/* harmony export */ "createRealityTileTreeReference": () => (/* reexport safe */
|
|
155782
|
-
/* harmony export */ "createSpatialTileTreeReferences": () => (/* reexport safe */
|
|
155789
|
+
/* harmony export */ "createMapLayerTreeReference": () => (/* reexport safe */ _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_63__.createMapLayerTreeReference),
|
|
155790
|
+
/* harmony export */ "createMaskTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.createMaskTreeReference),
|
|
155791
|
+
/* harmony export */ "createModelMapLayerTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.createModelMapLayerTileTreeReference),
|
|
155792
|
+
/* harmony export */ "createOrbitGtTileTreeReference": () => (/* reexport safe */ _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_83__.createOrbitGtTileTreeReference),
|
|
155793
|
+
/* harmony export */ "createPrimaryTileTreeReference": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.createPrimaryTileTreeReference),
|
|
155794
|
+
/* harmony export */ "createRealityTileTreeReference": () => (/* reexport safe */ _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__.createRealityTileTreeReference),
|
|
155795
|
+
/* harmony export */ "createSpatialTileTreeReferences": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.createSpatialTileTreeReferences),
|
|
155783
155796
|
/* harmony export */ "decodeImdlGraphics": () => (/* reexport safe */ _ImdlGraphicsCreator__WEBPACK_IMPORTED_MODULE_35__.decodeImdlGraphics),
|
|
155784
|
-
/* harmony export */ "decodeMeshoptBuffer": () => (/* reexport safe */
|
|
155785
|
-
/* harmony export */ "
|
|
155786
|
-
/* harmony export */ "
|
|
155787
|
-
/* harmony export */ "
|
|
155788
|
-
/* harmony export */ "
|
|
155789
|
-
/* harmony export */ "
|
|
155790
|
-
/* harmony export */ "
|
|
155791
|
-
/* harmony export */ "
|
|
155792
|
-
/* harmony export */ "
|
|
155793
|
-
/* harmony export */ "
|
|
155797
|
+
/* harmony export */ "decodeMeshoptBuffer": () => (/* reexport safe */ _MeshoptCompression__WEBPACK_IMPORTED_MODULE_92__.decodeMeshoptBuffer),
|
|
155798
|
+
/* harmony export */ "deflateCoordinates": () => (/* reexport safe */ _map_ImageryProviders_CoordinatesUtils__WEBPACK_IMPORTED_MODULE_45__.deflateCoordinates),
|
|
155799
|
+
/* harmony export */ "disposeTileTreesForGeometricModels": () => (/* reexport safe */ _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__.disposeTileTreesForGeometricModels),
|
|
155800
|
+
/* harmony export */ "getCesiumAccessTokenAndEndpointUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_67__.getCesiumAccessTokenAndEndpointUrl),
|
|
155801
|
+
/* harmony export */ "getCesiumAssetUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_67__.getCesiumAssetUrl),
|
|
155802
|
+
/* harmony export */ "getCesiumOSMBuildingsUrl": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_67__.getCesiumOSMBuildingsUrl),
|
|
155803
|
+
/* harmony export */ "getCesiumTerrainProvider": () => (/* reexport safe */ _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_67__.getCesiumTerrainProvider),
|
|
155804
|
+
/* harmony export */ "getGcsConverterAvailable": () => (/* reexport safe */ _map_MapTileTree__WEBPACK_IMPORTED_MODULE_64__.getGcsConverterAvailable),
|
|
155805
|
+
/* harmony export */ "iModelTileParamsFromJSON": () => (/* reexport safe */ _IModelTile__WEBPACK_IMPORTED_MODULE_78__.iModelTileParamsFromJSON),
|
|
155806
|
+
/* harmony export */ "iModelTileTreeParamsFromJSON": () => (/* reexport safe */ _IModelTileTree__WEBPACK_IMPORTED_MODULE_80__.iModelTileTreeParamsFromJSON),
|
|
155807
|
+
/* harmony export */ "internalMapLayerImageryFormats": () => (/* reexport safe */ _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_62__.internalMapLayerImageryFormats),
|
|
155794
155808
|
/* harmony export */ "overrideRequestTileTreeProps": () => (/* reexport safe */ _TileAdmin__WEBPACK_IMPORTED_MODULE_21__.overrideRequestTileTreeProps),
|
|
155795
155809
|
/* harmony export */ "readElementGraphics": () => (/* reexport safe */ _ImdlReader__WEBPACK_IMPORTED_MODULE_33__.readElementGraphics),
|
|
155796
155810
|
/* harmony export */ "readGltf": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.readGltf),
|
|
155797
155811
|
/* harmony export */ "readGltfGraphics": () => (/* reexport safe */ _GltfReader__WEBPACK_IMPORTED_MODULE_30__.readGltfGraphics),
|
|
155798
155812
|
/* harmony export */ "readImdlContent": () => (/* reexport safe */ _ImdlReader__WEBPACK_IMPORTED_MODULE_33__.readImdlContent),
|
|
155799
|
-
/* harmony export */ "readPointCloudTileContent": () => (/* reexport safe */
|
|
155800
|
-
/* harmony export */ "tileTreeReferenceFromRenderGraphic": () => (/* reexport safe */
|
|
155813
|
+
/* harmony export */ "readPointCloudTileContent": () => (/* reexport safe */ _PntsReader__WEBPACK_IMPORTED_MODULE_75__.readPointCloudTileContent),
|
|
155814
|
+
/* harmony export */ "tileTreeReferenceFromRenderGraphic": () => (/* reexport safe */ _RenderGraphicTileTree__WEBPACK_IMPORTED_MODULE_77__.tileTreeReferenceFromRenderGraphic)
|
|
155801
155815
|
/* harmony export */ });
|
|
155802
155816
|
/* harmony import */ var _ViewFlagOverrides__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ViewFlagOverrides */ "../../core/frontend/lib/esm/tile/ViewFlagOverrides.js");
|
|
155803
155817
|
/* harmony import */ var _map_MapCartoRectangle__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./map/MapCartoRectangle */ "../../core/frontend/lib/esm/tile/map/MapCartoRectangle.js");
|
|
@@ -155844,51 +155858,54 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
155844
155858
|
/* harmony import */ var _map_WmsUtilities__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./map/WmsUtilities */ "../../core/frontend/lib/esm/tile/map/WmsUtilities.js");
|
|
155845
155859
|
/* harmony import */ var _map_WmsCapabilities__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./map/WmsCapabilities */ "../../core/frontend/lib/esm/tile/map/WmsCapabilities.js");
|
|
155846
155860
|
/* harmony import */ var _map_WmtsCapabilities__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./map/WmtsCapabilities */ "../../core/frontend/lib/esm/tile/map/WmtsCapabilities.js");
|
|
155847
|
-
/* harmony import */ var
|
|
155848
|
-
/* harmony import */ var
|
|
155849
|
-
/* harmony import */ var
|
|
155850
|
-
/* harmony import */ var
|
|
155851
|
-
/* harmony import */ var
|
|
155852
|
-
/* harmony import */ var
|
|
155853
|
-
/* harmony import */ var
|
|
155854
|
-
/* harmony import */ var
|
|
155855
|
-
/* harmony import */ var
|
|
155856
|
-
/* harmony import */ var
|
|
155857
|
-
/* harmony import */ var
|
|
155858
|
-
/* harmony import */ var
|
|
155859
|
-
/* harmony import */ var
|
|
155860
|
-
/* harmony import */ var
|
|
155861
|
-
/* harmony import */ var
|
|
155862
|
-
/* harmony import */ var
|
|
155863
|
-
/* harmony import */ var
|
|
155864
|
-
/* harmony import */ var
|
|
155865
|
-
/* harmony import */ var
|
|
155866
|
-
/* harmony import */ var
|
|
155867
|
-
/* harmony import */ var
|
|
155868
|
-
/* harmony import */ var
|
|
155869
|
-
/* harmony import */ var
|
|
155870
|
-
/* harmony import */ var
|
|
155871
|
-
/* harmony import */ var
|
|
155872
|
-
/* harmony import */ var
|
|
155873
|
-
/* harmony import */ var
|
|
155874
|
-
/* harmony import */ var
|
|
155875
|
-
/* harmony import */ var
|
|
155876
|
-
/* harmony import */ var
|
|
155877
|
-
/* harmony import */ var
|
|
155878
|
-
/* harmony import */ var
|
|
155879
|
-
/* harmony import */ var
|
|
155880
|
-
/* harmony import */ var
|
|
155881
|
-
/* harmony import */ var
|
|
155882
|
-
/* harmony import */ var
|
|
155883
|
-
/* harmony import */ var
|
|
155884
|
-
/* harmony import */ var
|
|
155885
|
-
/* harmony import */ var
|
|
155886
|
-
/* harmony import */ var
|
|
155887
|
-
/* harmony import */ var
|
|
155888
|
-
/* harmony import */ var
|
|
155889
|
-
/* harmony import */ var
|
|
155890
|
-
/* harmony import */ var
|
|
155891
|
-
/* harmony import */ var
|
|
155861
|
+
/* harmony import */ var _map_ImageryProviders_CoordinatesUtils__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./map/ImageryProviders/CoordinatesUtils */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/CoordinatesUtils.js");
|
|
155862
|
+
/* harmony import */ var _map_UrlUtils__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./map/UrlUtils */ "../../core/frontend/lib/esm/tile/map/UrlUtils.js");
|
|
155863
|
+
/* harmony import */ var _map_MapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./map/MapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/MapLayerImageryProvider.js");
|
|
155864
|
+
/* harmony import */ var _map_ImageryProviders_WebMercator__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./map/ImageryProviders/WebMercator */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/WebMercator.js");
|
|
155865
|
+
/* harmony import */ var _map_ImageryProviders_FeatureSymbologyRenderer__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./map/ImageryProviders/FeatureSymbologyRenderer */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureSymbologyRenderer.js");
|
|
155866
|
+
/* harmony import */ var _map_ImageryProviders_FeatureAttributeDrivenSymbology__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ./map/ImageryProviders/FeatureAttributeDrivenSymbology */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureAttributeDrivenSymbology.js");
|
|
155867
|
+
/* harmony import */ var _map_ImageryProviders_ArcGISImageryProvider__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ./map/ImageryProviders/ArcGISImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISImageryProvider.js");
|
|
155868
|
+
/* harmony import */ var _map_ImageryProviders_FeatureGeometryRenderer__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ./map/ImageryProviders/FeatureGeometryRenderer */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureGeometryRenderer.js");
|
|
155869
|
+
/* harmony import */ var _map_ImageryProviders_FeatureGraphicsRenderer__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ./map/ImageryProviders/FeatureGraphicsRenderer */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureGraphicsRenderer.js");
|
|
155870
|
+
/* harmony import */ var _map_ImageryProviders_ArcGisGeometryReaderJSON__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ./map/ImageryProviders/ArcGisGeometryReaderJSON */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisGeometryReaderJSON.js");
|
|
155871
|
+
/* harmony import */ var _map_ImageryProviders_ArcGISMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ./map/ImageryProviders/ArcGISMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js");
|
|
155872
|
+
/* harmony import */ var _map_ImageryProviders_AzureMapsLayerImageryProvider__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ./map/ImageryProviders/AzureMapsLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js");
|
|
155873
|
+
/* harmony import */ var _map_ImageryProviders_BingImageryProvider__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(/*! ./map/ImageryProviders/BingImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/BingImageryProvider.js");
|
|
155874
|
+
/* harmony import */ var _map_ImageryProviders_MapBoxLayerImageryProvider__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(/*! ./map/ImageryProviders/MapBoxLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js");
|
|
155875
|
+
/* harmony import */ var _map_ImageryProviders_TileUrlImageryProvider__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(/*! ./map/ImageryProviders/TileUrlImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/TileUrlImageryProvider.js");
|
|
155876
|
+
/* harmony import */ var _map_ImageryProviders_WmsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(/*! ./map/ImageryProviders/WmsMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/WmsMapLayerImageryProvider.js");
|
|
155877
|
+
/* harmony import */ var _map_ImageryProviders_WmtsMapLayerImageryProvider__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(/*! ./map/ImageryProviders/WmtsMapLayerImageryProvider */ "../../core/frontend/lib/esm/tile/map/ImageryProviders/WmtsMapLayerImageryProvider.js");
|
|
155878
|
+
/* harmony import */ var _map_MapLayerImageryFormats__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(/*! ./map/MapLayerImageryFormats */ "../../core/frontend/lib/esm/tile/map/MapLayerImageryFormats.js");
|
|
155879
|
+
/* harmony import */ var _map_MapLayerTileTreeReference__WEBPACK_IMPORTED_MODULE_63__ = __webpack_require__(/*! ./map/MapLayerTileTreeReference */ "../../core/frontend/lib/esm/tile/map/MapLayerTileTreeReference.js");
|
|
155880
|
+
/* harmony import */ var _map_MapTileTree__WEBPACK_IMPORTED_MODULE_64__ = __webpack_require__(/*! ./map/MapTileTree */ "../../core/frontend/lib/esm/tile/map/MapTileTree.js");
|
|
155881
|
+
/* harmony import */ var _map_TerrainMeshProvider__WEBPACK_IMPORTED_MODULE_65__ = __webpack_require__(/*! ./map/TerrainMeshProvider */ "../../core/frontend/lib/esm/tile/map/TerrainMeshProvider.js");
|
|
155882
|
+
/* harmony import */ var _map_TerrainProvider__WEBPACK_IMPORTED_MODULE_66__ = __webpack_require__(/*! ./map/TerrainProvider */ "../../core/frontend/lib/esm/tile/map/TerrainProvider.js");
|
|
155883
|
+
/* harmony import */ var _map_CesiumTerrainProvider__WEBPACK_IMPORTED_MODULE_67__ = __webpack_require__(/*! ./map/CesiumTerrainProvider */ "../../core/frontend/lib/esm/tile/map/CesiumTerrainProvider.js");
|
|
155884
|
+
/* harmony import */ var _map_EllipsoidTerrainProvider__WEBPACK_IMPORTED_MODULE_68__ = __webpack_require__(/*! ./map/EllipsoidTerrainProvider */ "../../core/frontend/lib/esm/tile/map/EllipsoidTerrainProvider.js");
|
|
155885
|
+
/* harmony import */ var _map_MapTile__WEBPACK_IMPORTED_MODULE_69__ = __webpack_require__(/*! ./map/MapTile */ "../../core/frontend/lib/esm/tile/map/MapTile.js");
|
|
155886
|
+
/* harmony import */ var _RealityTileLoader__WEBPACK_IMPORTED_MODULE_70__ = __webpack_require__(/*! ./RealityTileLoader */ "../../core/frontend/lib/esm/tile/RealityTileLoader.js");
|
|
155887
|
+
/* harmony import */ var _map_MapTileLoader__WEBPACK_IMPORTED_MODULE_71__ = __webpack_require__(/*! ./map/MapTileLoader */ "../../core/frontend/lib/esm/tile/map/MapTileLoader.js");
|
|
155888
|
+
/* harmony import */ var _map_BingElevation__WEBPACK_IMPORTED_MODULE_72__ = __webpack_require__(/*! ./map/BingElevation */ "../../core/frontend/lib/esm/tile/map/BingElevation.js");
|
|
155889
|
+
/* harmony import */ var _map_MapTilingScheme__WEBPACK_IMPORTED_MODULE_73__ = __webpack_require__(/*! ./map/MapTilingScheme */ "../../core/frontend/lib/esm/tile/map/MapTilingScheme.js");
|
|
155890
|
+
/* harmony import */ var _map_MapTileAvailability__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(/*! ./map/MapTileAvailability */ "../../core/frontend/lib/esm/tile/map/MapTileAvailability.js");
|
|
155891
|
+
/* harmony import */ var _PntsReader__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(/*! ./PntsReader */ "../../core/frontend/lib/esm/tile/PntsReader.js");
|
|
155892
|
+
/* harmony import */ var _RealityModelTileTree__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(/*! ./RealityModelTileTree */ "../../core/frontend/lib/esm/tile/RealityModelTileTree.js");
|
|
155893
|
+
/* harmony import */ var _RenderGraphicTileTree__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(/*! ./RenderGraphicTileTree */ "../../core/frontend/lib/esm/tile/RenderGraphicTileTree.js");
|
|
155894
|
+
/* harmony import */ var _IModelTile__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(/*! ./IModelTile */ "../../core/frontend/lib/esm/tile/IModelTile.js");
|
|
155895
|
+
/* harmony import */ var _DynamicIModelTile__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(/*! ./DynamicIModelTile */ "../../core/frontend/lib/esm/tile/DynamicIModelTile.js");
|
|
155896
|
+
/* harmony import */ var _IModelTileTree__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(/*! ./IModelTileTree */ "../../core/frontend/lib/esm/tile/IModelTileTree.js");
|
|
155897
|
+
/* harmony import */ var _PrimaryTileTree__WEBPACK_IMPORTED_MODULE_81__ = __webpack_require__(/*! ./PrimaryTileTree */ "../../core/frontend/lib/esm/tile/PrimaryTileTree.js");
|
|
155898
|
+
/* harmony import */ var _ClassifierTileTree__WEBPACK_IMPORTED_MODULE_82__ = __webpack_require__(/*! ./ClassifierTileTree */ "../../core/frontend/lib/esm/tile/ClassifierTileTree.js");
|
|
155899
|
+
/* harmony import */ var _OrbitGtTileTree__WEBPACK_IMPORTED_MODULE_83__ = __webpack_require__(/*! ./OrbitGtTileTree */ "../../core/frontend/lib/esm/tile/OrbitGtTileTree.js");
|
|
155900
|
+
/* harmony import */ var _map_ImageryTileTree__WEBPACK_IMPORTED_MODULE_84__ = __webpack_require__(/*! ./map/ImageryTileTree */ "../../core/frontend/lib/esm/tile/map/ImageryTileTree.js");
|
|
155901
|
+
/* harmony import */ var _map_MapLayerSources__WEBPACK_IMPORTED_MODULE_85__ = __webpack_require__(/*! ./map/MapLayerSources */ "../../core/frontend/lib/esm/tile/map/MapLayerSources.js");
|
|
155902
|
+
/* harmony import */ var _map_MapTiledGraphicsProvider__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./map/MapTiledGraphicsProvider */ "../../core/frontend/lib/esm/tile/map/MapTiledGraphicsProvider.js");
|
|
155903
|
+
/* harmony import */ var _CesiumAssetProvider__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./CesiumAssetProvider */ "../../core/frontend/lib/esm/tile/CesiumAssetProvider.js");
|
|
155904
|
+
/* harmony import */ var _ContextShareProvider__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./ContextShareProvider */ "../../core/frontend/lib/esm/tile/ContextShareProvider.js");
|
|
155905
|
+
/* harmony import */ var _ThreeDTileFormatInterpreter__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./ThreeDTileFormatInterpreter */ "../../core/frontend/lib/esm/tile/ThreeDTileFormatInterpreter.js");
|
|
155906
|
+
/* harmony import */ var _OPCFormatInterpreter__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./OPCFormatInterpreter */ "../../core/frontend/lib/esm/tile/OPCFormatInterpreter.js");
|
|
155907
|
+
/* harmony import */ var _FetchCloudStorage__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./FetchCloudStorage */ "../../core/frontend/lib/esm/tile/FetchCloudStorage.js");
|
|
155908
|
+
/* harmony import */ var _MeshoptCompression__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ./MeshoptCompression */ "../../core/frontend/lib/esm/tile/MeshoptCompression.js");
|
|
155892
155909
|
/*---------------------------------------------------------------------------------------------
|
|
155893
155910
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
155894
155911
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
@@ -155993,6 +156010,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
155993
156010
|
|
|
155994
156011
|
|
|
155995
156012
|
|
|
156013
|
+
|
|
156014
|
+
|
|
156015
|
+
|
|
155996
156016
|
|
|
155997
156017
|
|
|
155998
156018
|
|
|
@@ -157810,7 +157830,7 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_2
|
|
|
157810
157830
|
const tolerancePixel = options?.tolerance ?? 7;
|
|
157811
157831
|
const json = await this.getIdentifyData(quadId, carto, tolerancePixel, true, maxAllowableOffset);
|
|
157812
157832
|
if (json && Array.isArray(json.results)) {
|
|
157813
|
-
const renderer = new _internal__WEBPACK_IMPORTED_MODULE_2__.
|
|
157833
|
+
const renderer = new _internal__WEBPACK_IMPORTED_MODULE_2__.FeatureGraphicsRenderer({ viewport: hit.viewport, crs: "webMercator" });
|
|
157814
157834
|
const layerInfo = { layerName: this._settings.name, subLayerInfos: [] };
|
|
157815
157835
|
// The 'identify' service returns us a flat/unordered list of records..
|
|
157816
157836
|
// results may represent features for the a common subLayer.
|
|
@@ -157874,26 +157894,6 @@ class ArcGISMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_2
|
|
|
157874
157894
|
}
|
|
157875
157895
|
|
|
157876
157896
|
|
|
157877
|
-
/***/ }),
|
|
157878
|
-
|
|
157879
|
-
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisAttributeDrivenSymbology.js":
|
|
157880
|
-
/*!***********************************************************************************************!*\
|
|
157881
|
-
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisAttributeDrivenSymbology.js ***!
|
|
157882
|
-
\***********************************************************************************************/
|
|
157883
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
157884
|
-
|
|
157885
|
-
"use strict";
|
|
157886
|
-
__webpack_require__.r(__webpack_exports__);
|
|
157887
|
-
/*---------------------------------------------------------------------------------------------
|
|
157888
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
157889
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
157890
|
-
*--------------------------------------------------------------------------------------------*/
|
|
157891
|
-
/** @packageDocumentation
|
|
157892
|
-
* @module Tiles
|
|
157893
|
-
*/
|
|
157894
|
-
|
|
157895
|
-
|
|
157896
|
-
|
|
157897
157897
|
/***/ }),
|
|
157898
157898
|
|
|
157899
157899
|
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisGeometryReaderJSON.js":
|
|
@@ -157907,6 +157907,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
157907
157907
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
157908
157908
|
/* harmony export */ "ArcGisGeometryReaderJSON": () => (/* binding */ ArcGisGeometryReaderJSON)
|
|
157909
157909
|
/* harmony export */ });
|
|
157910
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
157911
|
+
/*---------------------------------------------------------------------------------------------
|
|
157912
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
157913
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
157914
|
+
*--------------------------------------------------------------------------------------------*/
|
|
157915
|
+
|
|
157910
157916
|
/** @internal */
|
|
157911
157917
|
class ArcGisGeometryReaderJSON {
|
|
157912
157918
|
constructor(geometryType, renderer, relativeCoords = false) {
|
|
@@ -157930,13 +157936,13 @@ class ArcGisGeometryReaderJSON {
|
|
|
157930
157936
|
const coords = [];
|
|
157931
157937
|
if (geometry?.rings) {
|
|
157932
157938
|
for (const ring of geometry?.rings) {
|
|
157933
|
-
offset =
|
|
157939
|
+
offset = (0,_internal__WEBPACK_IMPORTED_MODULE_0__.deflateCoordinates)(ring, coords, 2, offset);
|
|
157934
157940
|
lengths.push(ring.length);
|
|
157935
157941
|
}
|
|
157936
157942
|
}
|
|
157937
157943
|
else if (geometry?.paths) {
|
|
157938
157944
|
for (const path of geometry?.paths) {
|
|
157939
|
-
offset =
|
|
157945
|
+
offset = (0,_internal__WEBPACK_IMPORTED_MODULE_0__.deflateCoordinates)(path, coords, 2, offset);
|
|
157940
157946
|
lengths.push(path.length);
|
|
157941
157947
|
}
|
|
157942
157948
|
}
|
|
@@ -157949,281 +157955,6 @@ class ArcGisGeometryReaderJSON {
|
|
|
157949
157955
|
await renderer.renderPoint(lengths, coords, 2, relativeCoords);
|
|
157950
157956
|
}
|
|
157951
157957
|
}
|
|
157952
|
-
// Converts an [[x1,y1], [x2,y2], ...] to [x1,y1,x2,y2, ...]
|
|
157953
|
-
// stride is the number of dimensions
|
|
157954
|
-
// https://github.com/openlayers/openlayers/blob/7a2f87caca9ddc1912d910f56eb5637445fc11f6/src/ol/geom/flat/deflate.js#L26
|
|
157955
|
-
static deflateCoordinates(coordinates, flatCoordinates, stride, offset) {
|
|
157956
|
-
for (let i = 0, ii = coordinates.length; i < ii; ++i) {
|
|
157957
|
-
const coordinate = coordinates[i];
|
|
157958
|
-
for (let j = 0; j < stride; ++j)
|
|
157959
|
-
flatCoordinates[offset++] = coordinate[j];
|
|
157960
|
-
}
|
|
157961
|
-
return offset;
|
|
157962
|
-
}
|
|
157963
|
-
}
|
|
157964
|
-
|
|
157965
|
-
|
|
157966
|
-
/***/ }),
|
|
157967
|
-
|
|
157968
|
-
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisGeometryRenderer.js":
|
|
157969
|
-
/*!***************************************************************************************!*\
|
|
157970
|
-
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisGeometryRenderer.js ***!
|
|
157971
|
-
\***************************************************************************************/
|
|
157972
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
157973
|
-
|
|
157974
|
-
"use strict";
|
|
157975
|
-
__webpack_require__.r(__webpack_exports__);
|
|
157976
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
157977
|
-
/* harmony export */ "ArcGisGeometryBaseRenderer": () => (/* binding */ ArcGisGeometryBaseRenderer)
|
|
157978
|
-
/* harmony export */ });
|
|
157979
|
-
/** Internal implementation of [[ArcGisGeometryRenderer]]
|
|
157980
|
-
* @internal
|
|
157981
|
-
*/
|
|
157982
|
-
class ArcGisGeometryBaseRenderer {
|
|
157983
|
-
constructor(world2PixelTransform) {
|
|
157984
|
-
this._transform = world2PixelTransform;
|
|
157985
|
-
}
|
|
157986
|
-
get transform() { return this._transform; }
|
|
157987
|
-
/**
|
|
157988
|
-
* Render a path on the renderer's context.
|
|
157989
|
-
* Note: Inputs are designed based on the PBF format, to avoid any data transformation.
|
|
157990
|
-
* @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)
|
|
157991
|
-
* @param geometryCoords Array that linearly encodes the vertices of each sub-path of a polyline / ring of a polygon
|
|
157992
|
-
* @param fill Indicates if the path should be filled or not.
|
|
157993
|
-
* @param stride Dimension of each vertices (i.e. 2 or 3. 3 could be X,Y,Z, X,YM) Currently 3rd dimension is ignored.
|
|
157994
|
-
*/
|
|
157995
|
-
async renderPath(geometryLengths, geometryCoords, fill, stride, relativeCoords) {
|
|
157996
|
-
if (stride < 2 || stride > 3) {
|
|
157997
|
-
return;
|
|
157998
|
-
}
|
|
157999
|
-
// Keep track of our position in the in the 'coords' array:
|
|
158000
|
-
// Every time we loop on the 'lengths' array, the position
|
|
158001
|
-
// to start reading vertices in the 'coords' must be the sum of all previously read vertices.
|
|
158002
|
-
let coordsOffset = 0;
|
|
158003
|
-
// Begin the path here.
|
|
158004
|
-
// Note: Even though path is closed inside the 'geometryLengths' loop,
|
|
158005
|
-
// it's import to begin the path only once.
|
|
158006
|
-
this.beginPath();
|
|
158007
|
-
for (const vertexCount of geometryLengths) {
|
|
158008
|
-
let lastPtX = 0, lastPtY = 0;
|
|
158009
|
-
for (let vertexIdx = 0; vertexIdx < vertexCount; vertexIdx++) {
|
|
158010
|
-
let pX = geometryCoords[coordsOffset + (vertexIdx * stride)];
|
|
158011
|
-
let pY = geometryCoords[coordsOffset + (vertexIdx * stride) + 1];
|
|
158012
|
-
if (vertexIdx === 0) {
|
|
158013
|
-
// first vertex is always "absolute" and must be drawn as 'moveTo' (i.e. not lineTo)
|
|
158014
|
-
if (relativeCoords) {
|
|
158015
|
-
lastPtX = pX;
|
|
158016
|
-
lastPtY = pY;
|
|
158017
|
-
}
|
|
158018
|
-
if (this._transform) {
|
|
158019
|
-
const transformedPoint = this._transform.multiplyPoint2d({ x: pX, y: pY });
|
|
158020
|
-
pX = transformedPoint.x;
|
|
158021
|
-
pY = transformedPoint.y;
|
|
158022
|
-
}
|
|
158023
|
-
this.moveTo(pX, pY);
|
|
158024
|
-
}
|
|
158025
|
-
else {
|
|
158026
|
-
// Following vertices are relative to the previous one (sadly not really well documented by ESRI)
|
|
158027
|
-
// typically this happens when 'coordinates quantization' is active (i.e. no client side transformation is needed)
|
|
158028
|
-
if (relativeCoords) {
|
|
158029
|
-
pX = lastPtX = lastPtX + pX;
|
|
158030
|
-
pY = lastPtY = lastPtY + pY;
|
|
158031
|
-
}
|
|
158032
|
-
if (this._transform) {
|
|
158033
|
-
const transformedPoint = this._transform.multiplyPoint2d({ x: pX, y: pY });
|
|
158034
|
-
pX = transformedPoint.x;
|
|
158035
|
-
pY = transformedPoint.y;
|
|
158036
|
-
}
|
|
158037
|
-
this.lineTo(pX, pY);
|
|
158038
|
-
}
|
|
158039
|
-
}
|
|
158040
|
-
coordsOffset += stride * vertexCount;
|
|
158041
|
-
if (fill) {
|
|
158042
|
-
// ClosePath but do not 'fill' here, only at the very end (otherwise it will mess up holes)
|
|
158043
|
-
this.closePath();
|
|
158044
|
-
}
|
|
158045
|
-
}
|
|
158046
|
-
if (fill) {
|
|
158047
|
-
await this.fill();
|
|
158048
|
-
}
|
|
158049
|
-
await this.stroke(); // draw line path or polygon outline
|
|
158050
|
-
}
|
|
158051
|
-
/**
|
|
158052
|
-
* Render a point on the renderer's context.
|
|
158053
|
-
* Note: Inputs are designed based on the PBF format, to avoid any data transformation.
|
|
158054
|
-
* @param geometryLengths Array be used to determine the start and end of each multi-point array, empty for single point.
|
|
158055
|
-
* @param geometryCoords Array that linearly encodes vertices.
|
|
158056
|
-
* @param stride Dimension of each vertices (i.e. 2 or 3. 3 could be X,Y,Z, X,YM) Currently 3rd dimension is ignored.
|
|
158057
|
-
*/
|
|
158058
|
-
async renderPoint(geometryLengths, geometryCoords, stride, relativeCoords) {
|
|
158059
|
-
if (stride < 2 || stride > 3) {
|
|
158060
|
-
return;
|
|
158061
|
-
}
|
|
158062
|
-
let coordsOffset = 0;
|
|
158063
|
-
if (geometryLengths.length === 0) {
|
|
158064
|
-
// Strangely, for points, 'lengths' array is empty, so we assume there is a single vertex in 'coords' array.
|
|
158065
|
-
if (geometryCoords.length >= stride) {
|
|
158066
|
-
if (this._transform) {
|
|
158067
|
-
const transformedPoint = this._transform.multiplyPoint2d({ x: geometryCoords[0], y: geometryCoords[1] });
|
|
158068
|
-
this.drawPoint(transformedPoint.x, transformedPoint.y);
|
|
158069
|
-
}
|
|
158070
|
-
else {
|
|
158071
|
-
this.drawPoint(geometryCoords[0], geometryCoords[1]);
|
|
158072
|
-
}
|
|
158073
|
-
}
|
|
158074
|
-
}
|
|
158075
|
-
else {
|
|
158076
|
-
// MULTI-POINTS: Needs testing
|
|
158077
|
-
// I assume 'lengths' array will get populated and 'coords' array will look similar to line/polygons.
|
|
158078
|
-
for (const vertexCount of geometryLengths) {
|
|
158079
|
-
let lastPtX = 0, lastPtY = 0;
|
|
158080
|
-
for (let vertexIdx = 0; vertexIdx < vertexCount; vertexIdx++) {
|
|
158081
|
-
let pX = geometryCoords[coordsOffset + (vertexIdx * stride)];
|
|
158082
|
-
let pY = geometryCoords[coordsOffset + (vertexIdx * stride) + 1];
|
|
158083
|
-
if (relativeCoords) {
|
|
158084
|
-
pX = lastPtX = lastPtX + pX;
|
|
158085
|
-
pY = lastPtY = lastPtY + pY;
|
|
158086
|
-
}
|
|
158087
|
-
if (this._transform) {
|
|
158088
|
-
const transformedPoint = this._transform.multiplyPoint2d({ x: pX, y: pY });
|
|
158089
|
-
pX = transformedPoint.x;
|
|
158090
|
-
pY = transformedPoint.y;
|
|
158091
|
-
}
|
|
158092
|
-
this.drawPoint(pX, pY);
|
|
158093
|
-
}
|
|
158094
|
-
coordsOffset += stride * vertexCount;
|
|
158095
|
-
}
|
|
158096
|
-
}
|
|
158097
|
-
await this.finishPoints();
|
|
158098
|
-
}
|
|
158099
|
-
}
|
|
158100
|
-
|
|
158101
|
-
|
|
158102
|
-
/***/ }),
|
|
158103
|
-
|
|
158104
|
-
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisGraphicsRenderer.js":
|
|
158105
|
-
/*!***************************************************************************************!*\
|
|
158106
|
-
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/ArcGisGraphicsRenderer.js ***!
|
|
158107
|
-
\***************************************************************************************/
|
|
158108
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
158109
|
-
|
|
158110
|
-
"use strict";
|
|
158111
|
-
__webpack_require__.r(__webpack_exports__);
|
|
158112
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
158113
|
-
/* harmony export */ "ArcGisGraphicsRenderer": () => (/* binding */ ArcGisGraphicsRenderer)
|
|
158114
|
-
/* harmony export */ });
|
|
158115
|
-
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
158116
|
-
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
158117
|
-
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
158118
|
-
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
158119
|
-
/*---------------------------------------------------------------------------------------------
|
|
158120
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
158121
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
158122
|
-
*--------------------------------------------------------------------------------------------*/
|
|
158123
|
-
|
|
158124
|
-
|
|
158125
|
-
|
|
158126
|
-
|
|
158127
|
-
const loggerCategory = "MapLayerImageryProvider.ArcGisGraphicsRenderer";
|
|
158128
|
-
/** ArcGIS geometry renderer implementation that will "render" a list of [GraphicPrimitive]($frontend)
|
|
158129
|
-
* This renderer initial objective is to read geometries when a call to [[MapLayerImageryProvider.getFeatureInfo]] is performed.
|
|
158130
|
-
* @internal
|
|
158131
|
-
*/
|
|
158132
|
-
class ArcGisGraphicsRenderer extends _internal__WEBPACK_IMPORTED_MODULE_3__.ArcGisGeometryBaseRenderer {
|
|
158133
|
-
get attributeSymbology() { return undefined; } // No symbology is applied in this renderer
|
|
158134
|
-
constructor(props) {
|
|
158135
|
-
super();
|
|
158136
|
-
this._scratchPointsArray = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.GrowableXYZArray();
|
|
158137
|
-
this._scratchPaths = [];
|
|
158138
|
-
this._graphics = [];
|
|
158139
|
-
this._viewport = props.viewport;
|
|
158140
|
-
this._iModel = props.viewport.iModel;
|
|
158141
|
-
}
|
|
158142
|
-
moveGraphics() {
|
|
158143
|
-
const graphics = this._graphics;
|
|
158144
|
-
this._graphics = [];
|
|
158145
|
-
return graphics;
|
|
158146
|
-
}
|
|
158147
|
-
beginPath() {
|
|
158148
|
-
this._scratchPointsArray.clear();
|
|
158149
|
-
this._scratchPaths = [];
|
|
158150
|
-
}
|
|
158151
|
-
closePath() {
|
|
158152
|
-
if (this._scratchPointsArray.length > 0) {
|
|
158153
|
-
this._scratchPaths.push(this._scratchPointsArray.getArray());
|
|
158154
|
-
this._scratchPointsArray.clear();
|
|
158155
|
-
}
|
|
158156
|
-
}
|
|
158157
|
-
async lineTo(x, y) {
|
|
158158
|
-
this._scratchPointsArray.push({ x, y, z: 0 });
|
|
158159
|
-
}
|
|
158160
|
-
async moveTo(x, y) {
|
|
158161
|
-
if (this._scratchPointsArray.length > 0) {
|
|
158162
|
-
this._scratchPaths.push(this._scratchPointsArray.getArray());
|
|
158163
|
-
this._scratchPointsArray.clear();
|
|
158164
|
-
}
|
|
158165
|
-
this._scratchPointsArray.push({ x, y, z: 0 });
|
|
158166
|
-
}
|
|
158167
|
-
async fill() {
|
|
158168
|
-
if (this._scratchPaths.length > 0) {
|
|
158169
|
-
const loops = [];
|
|
158170
|
-
const pathPromises = [];
|
|
158171
|
-
for (const points of this._scratchPaths) {
|
|
158172
|
-
pathPromises.push(this.toSpatial(points));
|
|
158173
|
-
}
|
|
158174
|
-
const pathsArray = await Promise.all(pathPromises);
|
|
158175
|
-
for (const pointsArray of pathsArray) {
|
|
158176
|
-
loops.push(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Loop.create(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.LineString3d.create(pointsArray)));
|
|
158177
|
-
}
|
|
158178
|
-
const mergedLoops = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.RegionOps.constructAllXYRegionLoops(loops);
|
|
158179
|
-
for (const loop of mergedLoops) {
|
|
158180
|
-
for (const negativeLoop of loop.negativeAreaLoops) {
|
|
158181
|
-
this._graphics.push({ type: "loop", loop: negativeLoop });
|
|
158182
|
-
}
|
|
158183
|
-
}
|
|
158184
|
-
this._scratchPaths = [];
|
|
158185
|
-
}
|
|
158186
|
-
}
|
|
158187
|
-
async stroke() {
|
|
158188
|
-
if (this._scratchPointsArray.length > 0) {
|
|
158189
|
-
this._scratchPaths.push(this._scratchPointsArray.getArray());
|
|
158190
|
-
this._scratchPointsArray.clear();
|
|
158191
|
-
}
|
|
158192
|
-
const pathPromises = [];
|
|
158193
|
-
for (const geoPt of this._scratchPaths) {
|
|
158194
|
-
pathPromises.push(this.toSpatial(geoPt));
|
|
158195
|
-
}
|
|
158196
|
-
const reprojectedPaths = await Promise.all(pathPromises);
|
|
158197
|
-
for (const path of reprojectedPaths) {
|
|
158198
|
-
this._graphics.push({ type: "linestring", points: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Point3dArray.clonePoint3dArray(path) });
|
|
158199
|
-
}
|
|
158200
|
-
this._scratchPaths = [];
|
|
158201
|
-
}
|
|
158202
|
-
drawPoint(x, y) {
|
|
158203
|
-
this._scratchPointsArray.push({ x, y, z: 0 });
|
|
158204
|
-
}
|
|
158205
|
-
async finishPoints() {
|
|
158206
|
-
if (this._scratchPointsArray.length > 0) {
|
|
158207
|
-
// Backend reprojection
|
|
158208
|
-
const pointsArray = this._scratchPointsArray.getArray();
|
|
158209
|
-
try {
|
|
158210
|
-
const spatialPoints = await this.toSpatial(pointsArray);
|
|
158211
|
-
this._graphics.push({ type: "pointstring", points: spatialPoints });
|
|
158212
|
-
}
|
|
158213
|
-
catch (error) {
|
|
158214
|
-
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(loggerCategory, "ArcGisFeatureGraphicsRenderer: Could not reproject points");
|
|
158215
|
-
}
|
|
158216
|
-
this._scratchPointsArray.clear();
|
|
158217
|
-
}
|
|
158218
|
-
}
|
|
158219
|
-
async toSpatial(geoPoints) {
|
|
158220
|
-
const bgMapGeom = this._viewport.displayStyle.getBackgroundMapGeometry();
|
|
158221
|
-
if (bgMapGeom) {
|
|
158222
|
-
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 }));
|
|
158223
|
-
return bgMapGeom.cartographicToDbFromWgs84Gcs(cartoPts);
|
|
158224
|
-
}
|
|
158225
|
-
return [];
|
|
158226
|
-
}
|
|
158227
157958
|
}
|
|
158228
157959
|
|
|
158229
157960
|
|
|
@@ -158467,6 +158198,343 @@ class BingMapsImageryLayerProvider extends _internal__WEBPACK_IMPORTED_MODULE_3_
|
|
|
158467
158198
|
}
|
|
158468
158199
|
|
|
158469
158200
|
|
|
158201
|
+
/***/ }),
|
|
158202
|
+
|
|
158203
|
+
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/CoordinatesUtils.js":
|
|
158204
|
+
/*!*********************************************************************************!*\
|
|
158205
|
+
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/CoordinatesUtils.js ***!
|
|
158206
|
+
\*********************************************************************************/
|
|
158207
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
158208
|
+
|
|
158209
|
+
"use strict";
|
|
158210
|
+
__webpack_require__.r(__webpack_exports__);
|
|
158211
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
158212
|
+
/* harmony export */ "deflateCoordinates": () => (/* binding */ deflateCoordinates)
|
|
158213
|
+
/* harmony export */ });
|
|
158214
|
+
/*---------------------------------------------------------------------------------------------
|
|
158215
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
158216
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
158217
|
+
*--------------------------------------------------------------------------------------------*/
|
|
158218
|
+
/** Converts an [[x1,y1], [x2,y2], ...] to [x1,y1,x2,y2, ...]
|
|
158219
|
+
* stride is the number of dimensions
|
|
158220
|
+
* https://github.com/openlayers/openlayers/blob/7a2f87caca9ddc1912d910f56eb5637445fc11f6/src/ol/geom/flat/deflate.js#L26
|
|
158221
|
+
* @internal
|
|
158222
|
+
*/
|
|
158223
|
+
function deflateCoordinates(coordinates, flatCoordinates, stride, offset) {
|
|
158224
|
+
for (let i = 0, ii = coordinates.length; i < ii; ++i) {
|
|
158225
|
+
const coordinate = coordinates[i];
|
|
158226
|
+
for (let j = 0; j < stride; ++j)
|
|
158227
|
+
flatCoordinates[offset++] = coordinate[j];
|
|
158228
|
+
}
|
|
158229
|
+
return offset;
|
|
158230
|
+
}
|
|
158231
|
+
|
|
158232
|
+
|
|
158233
|
+
/***/ }),
|
|
158234
|
+
|
|
158235
|
+
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureAttributeDrivenSymbology.js":
|
|
158236
|
+
/*!************************************************************************************************!*\
|
|
158237
|
+
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureAttributeDrivenSymbology.js ***!
|
|
158238
|
+
\************************************************************************************************/
|
|
158239
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
158240
|
+
|
|
158241
|
+
"use strict";
|
|
158242
|
+
__webpack_require__.r(__webpack_exports__);
|
|
158243
|
+
/*---------------------------------------------------------------------------------------------
|
|
158244
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
158245
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
158246
|
+
*--------------------------------------------------------------------------------------------*/
|
|
158247
|
+
/** @packageDocumentation
|
|
158248
|
+
* @module Tiles
|
|
158249
|
+
*/
|
|
158250
|
+
|
|
158251
|
+
|
|
158252
|
+
|
|
158253
|
+
/***/ }),
|
|
158254
|
+
|
|
158255
|
+
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureGeometryRenderer.js":
|
|
158256
|
+
/*!****************************************************************************************!*\
|
|
158257
|
+
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureGeometryRenderer.js ***!
|
|
158258
|
+
\****************************************************************************************/
|
|
158259
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
158260
|
+
|
|
158261
|
+
"use strict";
|
|
158262
|
+
__webpack_require__.r(__webpack_exports__);
|
|
158263
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
158264
|
+
/* harmony export */ "FeatureGeometryBaseRenderer": () => (/* binding */ FeatureGeometryBaseRenderer)
|
|
158265
|
+
/* harmony export */ });
|
|
158266
|
+
/** Internal implementation of [[FeatureGeometryRenderer]]
|
|
158267
|
+
* @internal
|
|
158268
|
+
*/
|
|
158269
|
+
class FeatureGeometryBaseRenderer {
|
|
158270
|
+
constructor(world2PixelTransform) {
|
|
158271
|
+
this._transform = world2PixelTransform;
|
|
158272
|
+
}
|
|
158273
|
+
get transform() { return this._transform; }
|
|
158274
|
+
/**
|
|
158275
|
+
* Render a path on the renderer's context.
|
|
158276
|
+
* Note: Inputs are designed based on the PBF format, to avoid any data transformation.
|
|
158277
|
+
* @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)
|
|
158278
|
+
* @param geometryCoords Array that linearly encodes the vertices of each sub-path of a polyline / ring of a polygon
|
|
158279
|
+
* @param fill Indicates if the path should be filled or not.
|
|
158280
|
+
* @param stride Dimension of each vertices (i.e. 2 or 3. 3 could be X,Y,Z, X,YM) Currently 3rd dimension is ignored.
|
|
158281
|
+
*/
|
|
158282
|
+
async renderPath(geometryLengths, geometryCoords, fill, stride, relativeCoords) {
|
|
158283
|
+
if (stride < 2 || stride > 3) {
|
|
158284
|
+
return;
|
|
158285
|
+
}
|
|
158286
|
+
// Keep track of our position in the in the 'coords' array:
|
|
158287
|
+
// Every time we loop on the 'lengths' array, the position
|
|
158288
|
+
// to start reading vertices in the 'coords' must be the sum of all previously read vertices.
|
|
158289
|
+
let coordsOffset = 0;
|
|
158290
|
+
// Begin the path here.
|
|
158291
|
+
// Note: Even though path is closed inside the 'geometryLengths' loop,
|
|
158292
|
+
// it's import to begin the path only once.
|
|
158293
|
+
this.beginPath();
|
|
158294
|
+
for (const vertexCount of geometryLengths) {
|
|
158295
|
+
let lastPtX = 0, lastPtY = 0;
|
|
158296
|
+
for (let vertexIdx = 0; vertexIdx < vertexCount; vertexIdx++) {
|
|
158297
|
+
let pX = geometryCoords[coordsOffset + (vertexIdx * stride)];
|
|
158298
|
+
let pY = geometryCoords[coordsOffset + (vertexIdx * stride) + 1];
|
|
158299
|
+
if (vertexIdx === 0) {
|
|
158300
|
+
// first vertex is always "absolute" and must be drawn as 'moveTo' (i.e. not lineTo)
|
|
158301
|
+
if (relativeCoords) {
|
|
158302
|
+
lastPtX = pX;
|
|
158303
|
+
lastPtY = pY;
|
|
158304
|
+
}
|
|
158305
|
+
if (this._transform) {
|
|
158306
|
+
const transformedPoint = this._transform.multiplyPoint2d({ x: pX, y: pY });
|
|
158307
|
+
pX = transformedPoint.x;
|
|
158308
|
+
pY = transformedPoint.y;
|
|
158309
|
+
}
|
|
158310
|
+
this.moveTo(pX, pY);
|
|
158311
|
+
}
|
|
158312
|
+
else {
|
|
158313
|
+
// Following vertices are relative to the previous one (sadly not really well documented by ESRI)
|
|
158314
|
+
// typically this happens when 'coordinates quantization' is active (i.e. no client side transformation is needed)
|
|
158315
|
+
if (relativeCoords) {
|
|
158316
|
+
pX = lastPtX = lastPtX + pX;
|
|
158317
|
+
pY = lastPtY = lastPtY + pY;
|
|
158318
|
+
}
|
|
158319
|
+
if (this._transform) {
|
|
158320
|
+
const transformedPoint = this._transform.multiplyPoint2d({ x: pX, y: pY });
|
|
158321
|
+
pX = transformedPoint.x;
|
|
158322
|
+
pY = transformedPoint.y;
|
|
158323
|
+
}
|
|
158324
|
+
this.lineTo(pX, pY);
|
|
158325
|
+
}
|
|
158326
|
+
}
|
|
158327
|
+
coordsOffset += stride * vertexCount;
|
|
158328
|
+
if (fill) {
|
|
158329
|
+
// ClosePath but do not 'fill' here, only at the very end (otherwise it will mess up holes)
|
|
158330
|
+
this.closePath();
|
|
158331
|
+
}
|
|
158332
|
+
}
|
|
158333
|
+
if (fill) {
|
|
158334
|
+
await this.fill();
|
|
158335
|
+
}
|
|
158336
|
+
await this.stroke(); // draw line path or polygon outline
|
|
158337
|
+
}
|
|
158338
|
+
/**
|
|
158339
|
+
* Render a point on the renderer's context.
|
|
158340
|
+
* Note: Inputs are designed based on the PBF format, to avoid any data transformation.
|
|
158341
|
+
* @param geometryLengths Array be used to determine the start and end of each multi-point array, empty for single point.
|
|
158342
|
+
* @param geometryCoords Array that linearly encodes vertices.
|
|
158343
|
+
* @param stride Dimension of each vertices (i.e. 2 or 3. 3 could be X,Y,Z, X,YM) Currently 3rd dimension is ignored.
|
|
158344
|
+
*/
|
|
158345
|
+
async renderPoint(geometryLengths, geometryCoords, stride, relativeCoords) {
|
|
158346
|
+
if (stride < 2 || stride > 3) {
|
|
158347
|
+
return;
|
|
158348
|
+
}
|
|
158349
|
+
let coordsOffset = 0;
|
|
158350
|
+
if (geometryLengths.length === 0) {
|
|
158351
|
+
// Strangely, for points, 'lengths' array is empty, so we assume there is a single vertex in 'coords' array.
|
|
158352
|
+
if (geometryCoords.length >= stride) {
|
|
158353
|
+
if (this._transform) {
|
|
158354
|
+
const transformedPoint = this._transform.multiplyPoint2d({ x: geometryCoords[0], y: geometryCoords[1] });
|
|
158355
|
+
this.drawPoint(transformedPoint.x, transformedPoint.y);
|
|
158356
|
+
}
|
|
158357
|
+
else {
|
|
158358
|
+
this.drawPoint(geometryCoords[0], geometryCoords[1]);
|
|
158359
|
+
}
|
|
158360
|
+
}
|
|
158361
|
+
}
|
|
158362
|
+
else {
|
|
158363
|
+
// MULTI-POINTS: Needs testing
|
|
158364
|
+
// I assume 'lengths' array will get populated and 'coords' array will look similar to line/polygons.
|
|
158365
|
+
for (const vertexCount of geometryLengths) {
|
|
158366
|
+
let lastPtX = 0, lastPtY = 0;
|
|
158367
|
+
for (let vertexIdx = 0; vertexIdx < vertexCount; vertexIdx++) {
|
|
158368
|
+
let pX = geometryCoords[coordsOffset + (vertexIdx * stride)];
|
|
158369
|
+
let pY = geometryCoords[coordsOffset + (vertexIdx * stride) + 1];
|
|
158370
|
+
if (relativeCoords) {
|
|
158371
|
+
pX = lastPtX = lastPtX + pX;
|
|
158372
|
+
pY = lastPtY = lastPtY + pY;
|
|
158373
|
+
}
|
|
158374
|
+
if (this._transform) {
|
|
158375
|
+
const transformedPoint = this._transform.multiplyPoint2d({ x: pX, y: pY });
|
|
158376
|
+
pX = transformedPoint.x;
|
|
158377
|
+
pY = transformedPoint.y;
|
|
158378
|
+
}
|
|
158379
|
+
this.drawPoint(pX, pY);
|
|
158380
|
+
}
|
|
158381
|
+
coordsOffset += stride * vertexCount;
|
|
158382
|
+
}
|
|
158383
|
+
}
|
|
158384
|
+
await this.finishPoints();
|
|
158385
|
+
}
|
|
158386
|
+
}
|
|
158387
|
+
|
|
158388
|
+
|
|
158389
|
+
/***/ }),
|
|
158390
|
+
|
|
158391
|
+
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureGraphicsRenderer.js":
|
|
158392
|
+
/*!****************************************************************************************!*\
|
|
158393
|
+
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureGraphicsRenderer.js ***!
|
|
158394
|
+
\****************************************************************************************/
|
|
158395
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
158396
|
+
|
|
158397
|
+
"use strict";
|
|
158398
|
+
__webpack_require__.r(__webpack_exports__);
|
|
158399
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
158400
|
+
/* harmony export */ "FeatureGraphicsRenderer": () => (/* binding */ FeatureGraphicsRenderer)
|
|
158401
|
+
/* harmony export */ });
|
|
158402
|
+
/* harmony import */ var _itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @itwin/core-bentley */ "../../core/bentley/lib/esm/core-bentley.js");
|
|
158403
|
+
/* harmony import */ var _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @itwin/core-common */ "../../core/common/lib/esm/core-common.js");
|
|
158404
|
+
/* harmony import */ var _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @itwin/core-geometry */ "../../core/geometry/lib/esm/core-geometry.js");
|
|
158405
|
+
/* harmony import */ var _internal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../internal */ "../../core/frontend/lib/esm/tile/internal.js");
|
|
158406
|
+
/*---------------------------------------------------------------------------------------------
|
|
158407
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
158408
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
158409
|
+
*--------------------------------------------------------------------------------------------*/
|
|
158410
|
+
|
|
158411
|
+
|
|
158412
|
+
|
|
158413
|
+
|
|
158414
|
+
const loggerCategory = "MapLayerImageryProvider.FeatureGraphicsRenderer";
|
|
158415
|
+
/** Feature geometry renderer implementation that will "render" a list of [GraphicPrimitive]($frontend)
|
|
158416
|
+
* This renderer initial objective is to read geometries when a call to [[MapLayerImageryProvider.getFeatureInfo]] is performed.
|
|
158417
|
+
* @internal
|
|
158418
|
+
*/
|
|
158419
|
+
class FeatureGraphicsRenderer extends _internal__WEBPACK_IMPORTED_MODULE_3__.FeatureGeometryBaseRenderer {
|
|
158420
|
+
hasSymbologyRenderer() { return false; }
|
|
158421
|
+
constructor(props) {
|
|
158422
|
+
super();
|
|
158423
|
+
this._scratchPointsArray = new _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.GrowableXYZArray();
|
|
158424
|
+
this._scratchPaths = [];
|
|
158425
|
+
this._graphics = [];
|
|
158426
|
+
this._viewport = props.viewport;
|
|
158427
|
+
this._crs = props.crs;
|
|
158428
|
+
}
|
|
158429
|
+
moveGraphics() {
|
|
158430
|
+
const graphics = this._graphics;
|
|
158431
|
+
this._graphics = [];
|
|
158432
|
+
return graphics;
|
|
158433
|
+
}
|
|
158434
|
+
beginPath() {
|
|
158435
|
+
this._scratchPointsArray.clear();
|
|
158436
|
+
this._scratchPaths = [];
|
|
158437
|
+
}
|
|
158438
|
+
closePath() {
|
|
158439
|
+
if (this._scratchPointsArray.length > 0) {
|
|
158440
|
+
this._scratchPaths.push(this._scratchPointsArray.getArray());
|
|
158441
|
+
this._scratchPointsArray.clear();
|
|
158442
|
+
}
|
|
158443
|
+
}
|
|
158444
|
+
async lineTo(x, y) {
|
|
158445
|
+
this._scratchPointsArray.push({ x, y, z: 0 });
|
|
158446
|
+
}
|
|
158447
|
+
async moveTo(x, y) {
|
|
158448
|
+
if (this._scratchPointsArray.length > 0) {
|
|
158449
|
+
this._scratchPaths.push(this._scratchPointsArray.getArray());
|
|
158450
|
+
this._scratchPointsArray.clear();
|
|
158451
|
+
}
|
|
158452
|
+
this._scratchPointsArray.push({ x, y, z: 0 });
|
|
158453
|
+
}
|
|
158454
|
+
async fill() {
|
|
158455
|
+
if (this._scratchPaths.length > 0) {
|
|
158456
|
+
const loops = [];
|
|
158457
|
+
const pathPromises = [];
|
|
158458
|
+
for (const points of this._scratchPaths) {
|
|
158459
|
+
pathPromises.push(this.toSpatial(points));
|
|
158460
|
+
}
|
|
158461
|
+
const pathsArray = await Promise.all(pathPromises);
|
|
158462
|
+
for (const pointsArray of pathsArray) {
|
|
158463
|
+
loops.push(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Loop.create(_itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.LineString3d.create(pointsArray)));
|
|
158464
|
+
}
|
|
158465
|
+
const mergedLoops = _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.RegionOps.constructAllXYRegionLoops(loops);
|
|
158466
|
+
for (const loop of mergedLoops) {
|
|
158467
|
+
for (const negativeLoop of loop.negativeAreaLoops) {
|
|
158468
|
+
this._graphics.push({ type: "loop", loop: negativeLoop });
|
|
158469
|
+
}
|
|
158470
|
+
}
|
|
158471
|
+
this._scratchPaths = [];
|
|
158472
|
+
}
|
|
158473
|
+
}
|
|
158474
|
+
async stroke() {
|
|
158475
|
+
if (this._scratchPointsArray.length > 0) {
|
|
158476
|
+
this._scratchPaths.push(this._scratchPointsArray.getArray());
|
|
158477
|
+
this._scratchPointsArray.clear();
|
|
158478
|
+
}
|
|
158479
|
+
const pathPromises = [];
|
|
158480
|
+
for (const geoPt of this._scratchPaths) {
|
|
158481
|
+
pathPromises.push(this.toSpatial(geoPt));
|
|
158482
|
+
}
|
|
158483
|
+
const reprojectedPaths = await Promise.all(pathPromises);
|
|
158484
|
+
for (const path of reprojectedPaths) {
|
|
158485
|
+
this._graphics.push({ type: "linestring", points: _itwin_core_geometry__WEBPACK_IMPORTED_MODULE_2__.Point3dArray.clonePoint3dArray(path) });
|
|
158486
|
+
}
|
|
158487
|
+
this._scratchPaths = [];
|
|
158488
|
+
}
|
|
158489
|
+
drawPoint(x, y) {
|
|
158490
|
+
this._scratchPointsArray.push({ x, y, z: 0 });
|
|
158491
|
+
}
|
|
158492
|
+
async finishPoints() {
|
|
158493
|
+
if (this._scratchPointsArray.length > 0) {
|
|
158494
|
+
// Backend reprojection
|
|
158495
|
+
const pointsArray = this._scratchPointsArray.getArray();
|
|
158496
|
+
try {
|
|
158497
|
+
const spatialPoints = await this.toSpatial(pointsArray);
|
|
158498
|
+
this._graphics.push({ type: "pointstring", points: spatialPoints });
|
|
158499
|
+
}
|
|
158500
|
+
catch (error) {
|
|
158501
|
+
_itwin_core_bentley__WEBPACK_IMPORTED_MODULE_0__.Logger.logError(loggerCategory, "FeatureGraphicsRenderer: Could not reproject points");
|
|
158502
|
+
}
|
|
158503
|
+
this._scratchPointsArray.clear();
|
|
158504
|
+
}
|
|
158505
|
+
}
|
|
158506
|
+
async toSpatial(geoPoints) {
|
|
158507
|
+
const bgMapGeom = this._viewport.displayStyle.getBackgroundMapGeometry();
|
|
158508
|
+
if (bgMapGeom) {
|
|
158509
|
+
const cartoPts = geoPoints.map((pt) => _itwin_core_common__WEBPACK_IMPORTED_MODULE_1__.Cartographic.fromDegrees({
|
|
158510
|
+
longitude: this._crs === "webMercator" ? _internal__WEBPACK_IMPORTED_MODULE_3__.WebMercator.getEPSG4326Lon(pt.x) : pt.x,
|
|
158511
|
+
latitude: this._crs === "webMercator" ? _internal__WEBPACK_IMPORTED_MODULE_3__.WebMercator.getEPSG4326Lat(pt.y) : pt.y,
|
|
158512
|
+
height: pt.z,
|
|
158513
|
+
}));
|
|
158514
|
+
return bgMapGeom.cartographicToDbFromWgs84Gcs(cartoPts);
|
|
158515
|
+
}
|
|
158516
|
+
return [];
|
|
158517
|
+
}
|
|
158518
|
+
}
|
|
158519
|
+
|
|
158520
|
+
|
|
158521
|
+
/***/ }),
|
|
158522
|
+
|
|
158523
|
+
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureSymbologyRenderer.js":
|
|
158524
|
+
/*!*****************************************************************************************!*\
|
|
158525
|
+
!*** ../../core/frontend/lib/esm/tile/map/ImageryProviders/FeatureSymbologyRenderer.js ***!
|
|
158526
|
+
\*****************************************************************************************/
|
|
158527
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
158528
|
+
|
|
158529
|
+
"use strict";
|
|
158530
|
+
__webpack_require__.r(__webpack_exports__);
|
|
158531
|
+
/*---------------------------------------------------------------------------------------------
|
|
158532
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
158533
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
158534
|
+
*--------------------------------------------------------------------------------------------*/
|
|
158535
|
+
|
|
158536
|
+
|
|
158537
|
+
|
|
158470
158538
|
/***/ }),
|
|
158471
158539
|
|
|
158472
158540
|
/***/ "../../core/frontend/lib/esm/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js":
|
|
@@ -158755,7 +158823,7 @@ class WmsMapLayerImageryProvider extends _internal__WEBPACK_IMPORTED_MODULE_3__.
|
|
|
158755
158823
|
// For instance, for EPSG:4326 the axis ordering is latitude/longitude, or north/east.
|
|
158756
158824
|
// WMS 1.1.0 always requires the axis ordering to be longitude/latitude. *sigh*
|
|
158757
158825
|
if (this._capabilities !== undefined) {
|
|
158758
|
-
bboxString = this.
|
|
158826
|
+
bboxString = this.getEPSG4326TileExtentString(row, column, zoomLevel, this._capabilities?.isVersion13); // lat/long ordering
|
|
158759
158827
|
crsString = "EPSG%3A4326";
|
|
158760
158828
|
}
|
|
158761
158829
|
}
|
|
@@ -160144,7 +160212,7 @@ class MapLayerImageryProvider {
|
|
|
160144
160212
|
}
|
|
160145
160213
|
}
|
|
160146
160214
|
/** @internal */
|
|
160147
|
-
async makeTileRequest(url) {
|
|
160215
|
+
async makeTileRequest(url, timeoutMs) {
|
|
160148
160216
|
// We want to complete the first request before letting other requests go;
|
|
160149
160217
|
// this done to avoid flooding server with requests missing credentials
|
|
160150
160218
|
if (!this._firstRequestPromise)
|
|
@@ -160153,28 +160221,7 @@ class MapLayerImageryProvider {
|
|
|
160153
160221
|
await this._firstRequestPromise;
|
|
160154
160222
|
let response;
|
|
160155
160223
|
try {
|
|
160156
|
-
|
|
160157
|
-
let hasCreds = false;
|
|
160158
|
-
if (this._settings.userName && this._settings.password) {
|
|
160159
|
-
hasCreds = true;
|
|
160160
|
-
headers = new Headers();
|
|
160161
|
-
this.setRequestAuthorization(headers);
|
|
160162
|
-
}
|
|
160163
|
-
response = await fetch(url, {
|
|
160164
|
-
method: "GET",
|
|
160165
|
-
headers,
|
|
160166
|
-
credentials: this._includeUserCredentials ? "include" : undefined,
|
|
160167
|
-
});
|
|
160168
|
-
if (response.status === 401
|
|
160169
|
-
&& (0,_request_utils__WEBPACK_IMPORTED_MODULE_6__.headersIncludeAuthMethod)(response.headers, ["ntlm", "negotiate"])
|
|
160170
|
-
&& !this._includeUserCredentials
|
|
160171
|
-
&& !hasCreds) {
|
|
160172
|
-
// We got a http 401 challenge, lets try again with SSO enabled (i.e. Windows Authentication)
|
|
160173
|
-
response = await fetch(url, { method: "GET", credentials: "include" });
|
|
160174
|
-
if (response.status === 200) {
|
|
160175
|
-
this._includeUserCredentials = true; // avoid going through 401 challenges over and over
|
|
160176
|
-
}
|
|
160177
|
-
}
|
|
160224
|
+
response = await this.makeRequest(url, timeoutMs);
|
|
160178
160225
|
}
|
|
160179
160226
|
finally {
|
|
160180
160227
|
this.onFirstRequestCompleted.raiseEvent();
|
|
@@ -160183,6 +160230,39 @@ class MapLayerImageryProvider {
|
|
|
160183
160230
|
throw new Error("fetch call failed");
|
|
160184
160231
|
return response;
|
|
160185
160232
|
}
|
|
160233
|
+
/** @internal */
|
|
160234
|
+
async makeRequest(url, timeoutMs) {
|
|
160235
|
+
let response;
|
|
160236
|
+
let headers;
|
|
160237
|
+
let hasCreds = false;
|
|
160238
|
+
if (this._settings.userName && this._settings.password) {
|
|
160239
|
+
hasCreds = true;
|
|
160240
|
+
headers = new Headers();
|
|
160241
|
+
this.setRequestAuthorization(headers);
|
|
160242
|
+
}
|
|
160243
|
+
const opts = {
|
|
160244
|
+
method: "GET",
|
|
160245
|
+
headers,
|
|
160246
|
+
credentials: this._includeUserCredentials ? "include" : undefined,
|
|
160247
|
+
};
|
|
160248
|
+
if (timeoutMs !== undefined)
|
|
160249
|
+
(0,_request_utils__WEBPACK_IMPORTED_MODULE_6__.setRequestTimeout)(opts, timeoutMs);
|
|
160250
|
+
response = await fetch(url, opts);
|
|
160251
|
+
if (response.status === 401
|
|
160252
|
+
&& (0,_request_utils__WEBPACK_IMPORTED_MODULE_6__.headersIncludeAuthMethod)(response.headers, ["ntlm", "negotiate"])
|
|
160253
|
+
&& !this._includeUserCredentials
|
|
160254
|
+
&& !hasCreds) {
|
|
160255
|
+
// Removed the previous headers and make sure "include" credentials is set
|
|
160256
|
+
opts.headers = undefined;
|
|
160257
|
+
opts.credentials = "include";
|
|
160258
|
+
// We got a http 401 challenge, lets try again with SSO enabled (i.e. Windows Authentication)
|
|
160259
|
+
response = await fetch(url, opts);
|
|
160260
|
+
if (response.status === 200) {
|
|
160261
|
+
this._includeUserCredentials = true; // avoid going through 401 challenges over and over
|
|
160262
|
+
}
|
|
160263
|
+
}
|
|
160264
|
+
return response;
|
|
160265
|
+
}
|
|
160186
160266
|
/** Returns a map layer tile at the specified settings. */
|
|
160187
160267
|
async loadTile(row, column, zoomLevel) {
|
|
160188
160268
|
try {
|
|
@@ -160318,57 +160398,28 @@ class MapLayerImageryProvider {
|
|
|
160318
160398
|
return `${tileExtent.left.toFixed(2)},${tileExtent.bottom.toFixed(2)},${tileExtent.right.toFixed(2)},${tileExtent.top.toFixed(2)}`;
|
|
160319
160399
|
}
|
|
160320
160400
|
/** @internal */
|
|
160321
|
-
|
|
160401
|
+
getEPSG4326TileExtentString(row, column, zoomLevel, latLongAxisOrdering) {
|
|
160322
160402
|
const tileExtent = this.getEPSG4326Extent(row, column, zoomLevel);
|
|
160403
|
+
return this.getEPSG4326ExtentString(tileExtent, latLongAxisOrdering);
|
|
160404
|
+
}
|
|
160405
|
+
/** @internal */
|
|
160406
|
+
getEPSG4326ExtentString(tileExtent, latLongAxisOrdering) {
|
|
160323
160407
|
if (latLongAxisOrdering) {
|
|
160324
|
-
return `${tileExtent.latitudeBottom.toFixed(8)},${tileExtent.longitudeLeft.toFixed(8)}
|
|
160325
|
-
${tileExtent.latitudeTop.toFixed(8)},${tileExtent.longitudeRight.toFixed(8)}`;
|
|
160408
|
+
return `${tileExtent.latitudeBottom.toFixed(8)},${tileExtent.longitudeLeft.toFixed(8)},${tileExtent.latitudeTop.toFixed(8)},${tileExtent.longitudeRight.toFixed(8)}`;
|
|
160326
160409
|
}
|
|
160327
160410
|
else {
|
|
160328
|
-
return `${tileExtent.longitudeLeft.toFixed(8)},${tileExtent.latitudeBottom.toFixed(8)}
|
|
160329
|
-
${tileExtent.longitudeRight.toFixed(8)},${tileExtent.latitudeTop.toFixed(8)}`;
|
|
160411
|
+
return `${tileExtent.longitudeLeft.toFixed(8)},${tileExtent.latitudeBottom.toFixed(8)},${tileExtent.longitudeRight.toFixed(8)},${tileExtent.latitudeTop.toFixed(8)}`;
|
|
160330
160412
|
}
|
|
160331
160413
|
}
|
|
160332
160414
|
/** Append custom parameters for settings to provided URL object.
|
|
160333
|
-
* Make sure custom parameters do no override query parameters already part of the URL (lower case comparison)
|
|
160334
160415
|
* @internal
|
|
160335
160416
|
*/
|
|
160336
160417
|
appendCustomParams(url) {
|
|
160337
160418
|
if (!this._settings.savedQueryParams && !this._settings.unsavedQueryParams)
|
|
160338
160419
|
return url;
|
|
160339
|
-
|
|
160340
|
-
|
|
160341
|
-
|
|
160342
|
-
currentUrl.searchParams.forEach((_value, key, _parent) => {
|
|
160343
|
-
currentParams.push(key.toLowerCase());
|
|
160344
|
-
});
|
|
160345
|
-
const urlParamsFromIndexArray = (indexArray, result) => {
|
|
160346
|
-
const urlParams = (result ? result : new URLSearchParams());
|
|
160347
|
-
if (!indexArray)
|
|
160348
|
-
return urlParams;
|
|
160349
|
-
Object.keys(indexArray).forEach((key) => {
|
|
160350
|
-
if (!currentParams.includes(key.toLowerCase()))
|
|
160351
|
-
urlParams.append(key, indexArray[key]);
|
|
160352
|
-
});
|
|
160353
|
-
return urlParams;
|
|
160354
|
-
};
|
|
160355
|
-
const params = urlParamsFromIndexArray(this._settings.savedQueryParams);
|
|
160356
|
-
urlParamsFromIndexArray(this._settings.unsavedQueryParams, params);
|
|
160357
|
-
const getSeparator = (u) => {
|
|
160358
|
-
let separator = "&";
|
|
160359
|
-
if (u.includes("?")) {
|
|
160360
|
-
if (u.endsWith("?"))
|
|
160361
|
-
separator = "";
|
|
160362
|
-
}
|
|
160363
|
-
else {
|
|
160364
|
-
separator = "?";
|
|
160365
|
-
}
|
|
160366
|
-
return separator;
|
|
160367
|
-
};
|
|
160368
|
-
if (params.size > 0) {
|
|
160369
|
-
url = `${url}${getSeparator(url)}${params.toString()}`;
|
|
160370
|
-
}
|
|
160371
|
-
return url;
|
|
160420
|
+
let tmpUrl = (0,_internal__WEBPACK_IMPORTED_MODULE_5__.appendQueryParams)(url, this._settings.savedQueryParams);
|
|
160421
|
+
tmpUrl = (0,_internal__WEBPACK_IMPORTED_MODULE_5__.appendQueryParams)(tmpUrl, this._settings.unsavedQueryParams);
|
|
160422
|
+
return tmpUrl;
|
|
160372
160423
|
}
|
|
160373
160424
|
}
|
|
160374
160425
|
|
|
@@ -163417,6 +163468,65 @@ class TerrainProviderRegistry {
|
|
|
163417
163468
|
}
|
|
163418
163469
|
|
|
163419
163470
|
|
|
163471
|
+
/***/ }),
|
|
163472
|
+
|
|
163473
|
+
/***/ "../../core/frontend/lib/esm/tile/map/UrlUtils.js":
|
|
163474
|
+
/*!********************************************************!*\
|
|
163475
|
+
!*** ../../core/frontend/lib/esm/tile/map/UrlUtils.js ***!
|
|
163476
|
+
\********************************************************/
|
|
163477
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
163478
|
+
|
|
163479
|
+
"use strict";
|
|
163480
|
+
__webpack_require__.r(__webpack_exports__);
|
|
163481
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
163482
|
+
/* harmony export */ "appendQueryParams": () => (/* binding */ appendQueryParams)
|
|
163483
|
+
/* harmony export */ });
|
|
163484
|
+
/*---------------------------------------------------------------------------------------------
|
|
163485
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
163486
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
163487
|
+
*--------------------------------------------------------------------------------------------*/
|
|
163488
|
+
/** Append custom parameters for settings to provided URL object.
|
|
163489
|
+
* Make sure custom parameters do no override query parameters already part of the URL (lower case comparison)
|
|
163490
|
+
* @internal
|
|
163491
|
+
*/
|
|
163492
|
+
function appendQueryParams(url, queryParams) {
|
|
163493
|
+
if (!queryParams)
|
|
163494
|
+
return url;
|
|
163495
|
+
// create a lower-case array of keys
|
|
163496
|
+
const currentParams = [];
|
|
163497
|
+
const currentUrl = new URL(url);
|
|
163498
|
+
currentUrl.searchParams.forEach((_value, key, _parent) => {
|
|
163499
|
+
currentParams.push(key.toLowerCase());
|
|
163500
|
+
});
|
|
163501
|
+
const urlParamsFromIndexArray = (indexArray, result) => {
|
|
163502
|
+
const urlParams = (result ? result : new URLSearchParams());
|
|
163503
|
+
if (!indexArray)
|
|
163504
|
+
return urlParams;
|
|
163505
|
+
Object.keys(indexArray).forEach((key) => {
|
|
163506
|
+
if (!currentParams.includes(key.toLowerCase()))
|
|
163507
|
+
urlParams.append(key, indexArray[key]);
|
|
163508
|
+
});
|
|
163509
|
+
return urlParams;
|
|
163510
|
+
};
|
|
163511
|
+
const params = urlParamsFromIndexArray(queryParams);
|
|
163512
|
+
const getSeparator = (u) => {
|
|
163513
|
+
let separator = "&";
|
|
163514
|
+
if (u.includes("?")) {
|
|
163515
|
+
if (u.endsWith("?"))
|
|
163516
|
+
separator = "";
|
|
163517
|
+
}
|
|
163518
|
+
else {
|
|
163519
|
+
separator = "?";
|
|
163520
|
+
}
|
|
163521
|
+
return separator;
|
|
163522
|
+
};
|
|
163523
|
+
if (params.size > 0) {
|
|
163524
|
+
url = `${url}${getSeparator(url)}${params.toString()}`;
|
|
163525
|
+
}
|
|
163526
|
+
return url;
|
|
163527
|
+
}
|
|
163528
|
+
|
|
163529
|
+
|
|
163420
163530
|
/***/ }),
|
|
163421
163531
|
|
|
163422
163532
|
/***/ "../../core/frontend/lib/esm/tile/map/WmsCapabilities.js":
|
|
@@ -290025,7 +290135,7 @@ class TestContext {
|
|
|
290025
290135
|
this.initializeRpcInterfaces({ title: this.settings.Backend.name, version: this.settings.Backend.version });
|
|
290026
290136
|
const iModelClient = new imodels_client_management_1.IModelsClient({ api: { baseUrl: `https://${process.env.IMJS_URL_PREFIX ?? ""}api.bentley.com/imodels` } });
|
|
290027
290137
|
await core_frontend_1.NoRenderApp.startup({
|
|
290028
|
-
applicationVersion: "4.6.0-dev.
|
|
290138
|
+
applicationVersion: "4.6.0-dev.19",
|
|
290029
290139
|
applicationId: this.settings.gprid,
|
|
290030
290140
|
authorizationClient: new frontend_1.TestFrontendAuthorizationClient(this.adminUserAccessToken),
|
|
290031
290141
|
hubAccess: new imodels_access_frontend_1.FrontendIModelsAccess(iModelClient),
|
|
@@ -314090,7 +314200,7 @@ function __disposeResources(env) {
|
|
|
314090
314200
|
/***/ ((module) => {
|
|
314091
314201
|
|
|
314092
314202
|
"use strict";
|
|
314093
|
-
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.6.0-dev.
|
|
314203
|
+
module.exports = JSON.parse('{"name":"@itwin/core-frontend","version":"4.6.0-dev.19","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.19","@itwin/core-bentley":"workspace:^4.6.0-dev.19","@itwin/core-common":"workspace:^4.6.0-dev.19","@itwin/core-geometry":"workspace:^4.6.0-dev.19","@itwin/core-orbitgt":"workspace:^4.6.0-dev.19","@itwin/core-quantity":"workspace:^4.6.0-dev.19"},"//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"}}');
|
|
314094
314204
|
|
|
314095
314205
|
/***/ }),
|
|
314096
314206
|
|