@itwin/core-frontend 5.1.0-dev.40 → 5.1.0-dev.41
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/CHANGELOG.md +52 -1
- package/lib/cjs/GraphicalEditingScope.d.ts +1 -1
- package/lib/cjs/GraphicalEditingScope.d.ts.map +1 -1
- package/lib/cjs/GraphicalEditingScope.js +1 -1
- package/lib/cjs/GraphicalEditingScope.js.map +1 -1
- package/lib/cjs/HitDetail.d.ts +1 -1
- package/lib/cjs/HitDetail.d.ts.map +1 -1
- package/lib/cjs/HitDetail.js.map +1 -1
- package/lib/cjs/IModelApp.d.ts +3 -3
- package/lib/cjs/IModelApp.d.ts.map +1 -1
- package/lib/cjs/IModelApp.js.map +1 -1
- package/lib/cjs/IModelConnection.d.ts +6 -6
- package/lib/cjs/IModelConnection.js +6 -6
- package/lib/cjs/IModelConnection.js.map +1 -1
- package/lib/cjs/IpcApp.d.ts +1 -1
- package/lib/cjs/IpcApp.js +1 -1
- package/lib/cjs/IpcApp.js.map +1 -1
- package/lib/cjs/SelectionSet.d.ts +7 -7
- package/lib/cjs/SelectionSet.js +3 -3
- package/lib/cjs/SelectionSet.js.map +1 -1
- package/lib/cjs/ViewState.d.ts +1 -1
- package/lib/cjs/ViewState.js +1 -1
- package/lib/cjs/ViewState.js.map +1 -1
- package/lib/cjs/Viewport.d.ts +4 -4
- package/lib/cjs/Viewport.d.ts.map +1 -1
- package/lib/cjs/Viewport.js +3 -3
- package/lib/cjs/Viewport.js.map +1 -1
- package/lib/cjs/internal/render/webgl/AtmosphereUniforms.d.ts +1 -1
- package/lib/cjs/internal/render/webgl/AtmosphereUniforms.d.ts.map +1 -1
- package/lib/cjs/internal/render/webgl/AtmosphereUniforms.js +1 -1
- package/lib/cjs/internal/render/webgl/AtmosphereUniforms.js.map +1 -1
- package/lib/cjs/internal/render/webgl/AttributeBuffers.d.ts +2 -2
- package/lib/cjs/internal/render/webgl/AttributeBuffers.d.ts.map +1 -1
- package/lib/cjs/internal/render/webgl/AttributeBuffers.js +2 -2
- package/lib/cjs/internal/render/webgl/AttributeBuffers.js.map +1 -1
- package/lib/cjs/internal/render/webgl/ClippingProgram.d.ts +1 -1
- package/lib/cjs/internal/render/webgl/ClippingProgram.d.ts.map +1 -1
- package/lib/cjs/internal/render/webgl/ClippingProgram.js +1 -1
- package/lib/cjs/internal/render/webgl/ClippingProgram.js.map +1 -1
- package/lib/cjs/internal/render/webgl/ShaderProgram.d.ts +2 -2
- package/lib/cjs/internal/render/webgl/ShaderProgram.d.ts.map +1 -1
- package/lib/cjs/internal/render/webgl/ShaderProgram.js +2 -2
- package/lib/cjs/internal/render/webgl/ShaderProgram.js.map +1 -1
- package/lib/cjs/internal/render/webgl/Technique.d.ts +3 -3
- package/lib/cjs/internal/render/webgl/Technique.d.ts.map +1 -1
- package/lib/cjs/internal/render/webgl/Technique.js +3 -3
- package/lib/cjs/internal/render/webgl/Technique.js.map +1 -1
- package/lib/cjs/internal/tile/RealityModelTileTree.d.ts +1 -1
- package/lib/cjs/internal/tile/RealityModelTileTree.d.ts.map +1 -1
- package/lib/cjs/internal/tile/RealityModelTileTree.js +1 -1
- package/lib/cjs/internal/tile/RealityModelTileTree.js.map +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts.map +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js.map +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.d.ts +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.d.ts.map +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js.map +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/BingImageryProvider.d.ts +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/BingImageryProvider.d.ts.map +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/BingImageryProvider.js +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/BingImageryProvider.js.map +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/MapBoxLayerImageryProvider.d.ts +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/MapBoxLayerImageryProvider.d.ts.map +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js +1 -1
- package/lib/cjs/internal/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js.map +1 -1
- package/lib/cjs/properties/AngleDescription.d.ts +1 -1
- package/lib/cjs/properties/AngleDescription.js +1 -1
- package/lib/cjs/properties/AngleDescription.js.map +1 -1
- package/lib/cjs/properties/LengthDescription.d.ts +3 -3
- package/lib/cjs/properties/LengthDescription.js +3 -3
- package/lib/cjs/properties/LengthDescription.js.map +1 -1
- package/lib/cjs/render/Decorations.d.ts +1 -1
- package/lib/cjs/render/Decorations.d.ts.map +1 -1
- package/lib/cjs/render/Decorations.js +1 -1
- package/lib/cjs/render/Decorations.js.map +1 -1
- package/lib/cjs/render/GraphicBranch.d.ts +1 -1
- package/lib/cjs/render/GraphicBranch.d.ts.map +1 -1
- package/lib/cjs/render/GraphicBranch.js +1 -1
- package/lib/cjs/render/GraphicBranch.js.map +1 -1
- package/lib/cjs/render/RenderGraphic.d.ts +1 -1
- package/lib/cjs/render/RenderGraphic.d.ts.map +1 -1
- package/lib/cjs/render/RenderGraphic.js.map +1 -1
- package/lib/cjs/render/RenderSystem.d.ts +2 -2
- package/lib/cjs/render/RenderSystem.d.ts.map +1 -1
- package/lib/cjs/render/RenderSystem.js.map +1 -1
- package/lib/cjs/render/ScreenSpaceEffectBuilder.d.ts +1 -1
- package/lib/cjs/render/ScreenSpaceEffectBuilder.js.map +1 -1
- package/lib/cjs/request/Request.d.ts +2 -2
- package/lib/cjs/request/Request.js.map +1 -1
- package/lib/cjs/tile/Tile.d.ts +1 -1
- package/lib/cjs/tile/Tile.d.ts.map +1 -1
- package/lib/cjs/tile/Tile.js +1 -1
- package/lib/cjs/tile/Tile.js.map +1 -1
- package/lib/cjs/tile/TileTree.d.ts +1 -1
- package/lib/cjs/tile/TileTree.d.ts.map +1 -1
- package/lib/cjs/tile/TileTree.js +1 -1
- package/lib/cjs/tile/TileTree.js.map +1 -1
- package/lib/cjs/tile/TileTreeReference.d.ts +1 -1
- package/lib/cjs/tile/TileTreeReference.d.ts.map +1 -1
- package/lib/cjs/tile/TileTreeReference.js +1 -1
- package/lib/cjs/tile/TileTreeReference.js.map +1 -1
- package/lib/cjs/tile/map/CesiumTerrainProvider.js +1 -1
- package/lib/cjs/tile/map/CesiumTerrainProvider.js.map +1 -1
- package/lib/cjs/tile/map/ImageryTileTree.d.ts +2 -2
- package/lib/cjs/tile/map/ImageryTileTree.d.ts.map +1 -1
- package/lib/cjs/tile/map/ImageryTileTree.js +2 -2
- package/lib/cjs/tile/map/ImageryTileTree.js.map +1 -1
- package/lib/cjs/tile/map/MapLayerImageryProvider.d.ts +1 -1
- package/lib/cjs/tile/map/MapLayerImageryProvider.d.ts.map +1 -1
- package/lib/cjs/tile/map/MapLayerImageryProvider.js +1 -1
- package/lib/cjs/tile/map/MapLayerImageryProvider.js.map +1 -1
- package/lib/cjs/tile/map/MapTileTree.d.ts +1 -1
- package/lib/cjs/tile/map/MapTileTree.d.ts.map +1 -1
- package/lib/cjs/tile/map/MapTileTree.js +1 -1
- package/lib/cjs/tile/map/MapTileTree.js.map +1 -1
- package/lib/cjs/tile/map/TerrainMeshProvider.d.ts +1 -1
- package/lib/cjs/tile/map/TerrainMeshProvider.d.ts.map +1 -1
- package/lib/cjs/tile/map/TerrainMeshProvider.js +1 -1
- package/lib/cjs/tile/map/TerrainMeshProvider.js.map +1 -1
- package/lib/esm/GraphicalEditingScope.d.ts +1 -1
- package/lib/esm/GraphicalEditingScope.d.ts.map +1 -1
- package/lib/esm/GraphicalEditingScope.js +1 -1
- package/lib/esm/GraphicalEditingScope.js.map +1 -1
- package/lib/esm/HitDetail.d.ts +1 -1
- package/lib/esm/HitDetail.d.ts.map +1 -1
- package/lib/esm/HitDetail.js.map +1 -1
- package/lib/esm/IModelApp.d.ts +3 -3
- package/lib/esm/IModelApp.d.ts.map +1 -1
- package/lib/esm/IModelApp.js.map +1 -1
- package/lib/esm/IModelConnection.d.ts +6 -6
- package/lib/esm/IModelConnection.js +6 -6
- package/lib/esm/IModelConnection.js.map +1 -1
- package/lib/esm/IpcApp.d.ts +1 -1
- package/lib/esm/IpcApp.js +1 -1
- package/lib/esm/IpcApp.js.map +1 -1
- package/lib/esm/SelectionSet.d.ts +7 -7
- package/lib/esm/SelectionSet.js +3 -3
- package/lib/esm/SelectionSet.js.map +1 -1
- package/lib/esm/ViewState.d.ts +1 -1
- package/lib/esm/ViewState.js +1 -1
- package/lib/esm/ViewState.js.map +1 -1
- package/lib/esm/Viewport.d.ts +4 -4
- package/lib/esm/Viewport.d.ts.map +1 -1
- package/lib/esm/Viewport.js +3 -3
- package/lib/esm/Viewport.js.map +1 -1
- package/lib/esm/internal/render/webgl/AtmosphereUniforms.d.ts +1 -1
- package/lib/esm/internal/render/webgl/AtmosphereUniforms.d.ts.map +1 -1
- package/lib/esm/internal/render/webgl/AtmosphereUniforms.js +1 -1
- package/lib/esm/internal/render/webgl/AtmosphereUniforms.js.map +1 -1
- package/lib/esm/internal/render/webgl/AttributeBuffers.d.ts +2 -2
- package/lib/esm/internal/render/webgl/AttributeBuffers.d.ts.map +1 -1
- package/lib/esm/internal/render/webgl/AttributeBuffers.js +2 -2
- package/lib/esm/internal/render/webgl/AttributeBuffers.js.map +1 -1
- package/lib/esm/internal/render/webgl/ClippingProgram.d.ts +1 -1
- package/lib/esm/internal/render/webgl/ClippingProgram.d.ts.map +1 -1
- package/lib/esm/internal/render/webgl/ClippingProgram.js +1 -1
- package/lib/esm/internal/render/webgl/ClippingProgram.js.map +1 -1
- package/lib/esm/internal/render/webgl/ShaderProgram.d.ts +2 -2
- package/lib/esm/internal/render/webgl/ShaderProgram.d.ts.map +1 -1
- package/lib/esm/internal/render/webgl/ShaderProgram.js +2 -2
- package/lib/esm/internal/render/webgl/ShaderProgram.js.map +1 -1
- package/lib/esm/internal/render/webgl/Technique.d.ts +3 -3
- package/lib/esm/internal/render/webgl/Technique.d.ts.map +1 -1
- package/lib/esm/internal/render/webgl/Technique.js +3 -3
- package/lib/esm/internal/render/webgl/Technique.js.map +1 -1
- package/lib/esm/internal/tile/RealityModelTileTree.d.ts +1 -1
- package/lib/esm/internal/tile/RealityModelTileTree.d.ts.map +1 -1
- package/lib/esm/internal/tile/RealityModelTileTree.js +1 -1
- package/lib/esm/internal/tile/RealityModelTileTree.js.map +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.d.ts.map +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/ArcGISMapLayerImageryProvider.js.map +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.d.ts +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.d.ts.map +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.js.map +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/BingImageryProvider.d.ts +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/BingImageryProvider.d.ts.map +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/BingImageryProvider.js +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/BingImageryProvider.js.map +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/MapBoxLayerImageryProvider.d.ts +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/MapBoxLayerImageryProvider.d.ts.map +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js +1 -1
- package/lib/esm/internal/tile/map/ImageryProviders/MapBoxLayerImageryProvider.js.map +1 -1
- package/lib/esm/properties/AngleDescription.d.ts +1 -1
- package/lib/esm/properties/AngleDescription.js +1 -1
- package/lib/esm/properties/AngleDescription.js.map +1 -1
- package/lib/esm/properties/LengthDescription.d.ts +3 -3
- package/lib/esm/properties/LengthDescription.js +3 -3
- package/lib/esm/properties/LengthDescription.js.map +1 -1
- package/lib/esm/render/Decorations.d.ts +1 -1
- package/lib/esm/render/Decorations.d.ts.map +1 -1
- package/lib/esm/render/Decorations.js +1 -1
- package/lib/esm/render/Decorations.js.map +1 -1
- package/lib/esm/render/GraphicBranch.d.ts +1 -1
- package/lib/esm/render/GraphicBranch.d.ts.map +1 -1
- package/lib/esm/render/GraphicBranch.js +1 -1
- package/lib/esm/render/GraphicBranch.js.map +1 -1
- package/lib/esm/render/RenderGraphic.d.ts +1 -1
- package/lib/esm/render/RenderGraphic.d.ts.map +1 -1
- package/lib/esm/render/RenderGraphic.js.map +1 -1
- package/lib/esm/render/RenderSystem.d.ts +2 -2
- package/lib/esm/render/RenderSystem.d.ts.map +1 -1
- package/lib/esm/render/RenderSystem.js.map +1 -1
- package/lib/esm/render/ScreenSpaceEffectBuilder.d.ts +1 -1
- package/lib/esm/render/ScreenSpaceEffectBuilder.js.map +1 -1
- package/lib/esm/request/Request.d.ts +2 -2
- package/lib/esm/request/Request.js.map +1 -1
- package/lib/esm/tile/Tile.d.ts +1 -1
- package/lib/esm/tile/Tile.d.ts.map +1 -1
- package/lib/esm/tile/Tile.js +1 -1
- package/lib/esm/tile/Tile.js.map +1 -1
- package/lib/esm/tile/TileTree.d.ts +1 -1
- package/lib/esm/tile/TileTree.d.ts.map +1 -1
- package/lib/esm/tile/TileTree.js +1 -1
- package/lib/esm/tile/TileTree.js.map +1 -1
- package/lib/esm/tile/TileTreeReference.d.ts +1 -1
- package/lib/esm/tile/TileTreeReference.d.ts.map +1 -1
- package/lib/esm/tile/TileTreeReference.js +1 -1
- package/lib/esm/tile/TileTreeReference.js.map +1 -1
- package/lib/esm/tile/map/CesiumTerrainProvider.js +1 -1
- package/lib/esm/tile/map/CesiumTerrainProvider.js.map +1 -1
- package/lib/esm/tile/map/ImageryTileTree.d.ts +2 -2
- package/lib/esm/tile/map/ImageryTileTree.d.ts.map +1 -1
- package/lib/esm/tile/map/ImageryTileTree.js +2 -2
- package/lib/esm/tile/map/ImageryTileTree.js.map +1 -1
- package/lib/esm/tile/map/MapLayerImageryProvider.d.ts +1 -1
- package/lib/esm/tile/map/MapLayerImageryProvider.d.ts.map +1 -1
- package/lib/esm/tile/map/MapLayerImageryProvider.js +1 -1
- package/lib/esm/tile/map/MapLayerImageryProvider.js.map +1 -1
- package/lib/esm/tile/map/MapTileTree.d.ts +1 -1
- package/lib/esm/tile/map/MapTileTree.d.ts.map +1 -1
- package/lib/esm/tile/map/MapTileTree.js +1 -1
- package/lib/esm/tile/map/MapTileTree.js.map +1 -1
- package/lib/esm/tile/map/TerrainMeshProvider.d.ts +1 -1
- package/lib/esm/tile/map/TerrainMeshProvider.d.ts.map +1 -1
- package/lib/esm/tile/map/TerrainMeshProvider.js +1 -1
- package/lib/esm/tile/map/TerrainMeshProvider.js.map +1 -1
- package/package.json +20 -20
|
@@ -7,7 +7,7 @@ import { ScreenViewport } from "../../../../Viewport";
|
|
|
7
7
|
export declare class AzureMapsLayerImageryProvider extends MapLayerImageryProvider {
|
|
8
8
|
constructor(settings: ImageMapLayerSettings);
|
|
9
9
|
constructUrl(y: number, x: number, zoom: number): Promise<string>;
|
|
10
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
10
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
11
11
|
addLogoCards(cards: HTMLTableElement): void;
|
|
12
12
|
addAttributions(cards: HTMLTableElement, _vp: ScreenViewport): Promise<void>;
|
|
13
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AzureMapsLayerImageryProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,qBAAa,6BAA8B,SAAQ,uBAAuB;gBAC5D,QAAQ,EAAE,qBAAqB;IAG9B,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAM9E,
|
|
1
|
+
{"version":3,"file":"AzureMapsLayerImageryProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD,qBAAa,6BAA8B,SAAQ,uBAAuB;gBAC5D,QAAQ,EAAE,qBAAqB;IAG9B,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAM9E,sGAAsG;IACtF,YAAY,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI;IAOrC,eAAe,CAAC,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAInG"}
|
|
@@ -18,7 +18,7 @@ class AzureMapsLayerImageryProvider extends internal_1.MapLayerImageryProvider {
|
|
|
18
18
|
return "";
|
|
19
19
|
return `${this._settings.url}&${this._settings.accessKey.key}=${this._settings.accessKey.value}&api-version=2.0&zoom=${zoom}&x=${x}&y=${y}`;
|
|
20
20
|
}
|
|
21
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
21
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
22
22
|
addLogoCards(cards) {
|
|
23
23
|
if (!cards.dataset.azureMapsLogoCard) {
|
|
24
24
|
cards.dataset.azureMapsLogoCard = "true";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AzureMapsLayerImageryProvider.js","sourceRoot":"","sources":["../../../../../../src/internal/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,qDAAkD;AAClD,wDAAoE;AAIpE,MAAa,6BAA8B,SAAQ,kCAAuB;IACxE,YAAY,QAA+B,IAAI,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAEvE,0CAA0C;IACnC,KAAK,CAAC,YAAY,CAAC,CAAS,EAAE,CAAS,EAAE,IAAY;QAC1D,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS;YAC3B,OAAO,EAAE,CAAC;QACZ,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,yBAAyB,IAAI,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;IAC9I,CAAC;IAED,
|
|
1
|
+
{"version":3,"file":"AzureMapsLayerImageryProvider.js","sourceRoot":"","sources":["../../../../../../src/internal/tile/map/ImageryProviders/AzureMapsLayerImageryProvider.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,qDAAkD;AAClD,wDAAoE;AAIpE,MAAa,6BAA8B,SAAQ,kCAAuB;IACxE,YAAY,QAA+B,IAAI,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAEvE,0CAA0C;IACnC,KAAK,CAAC,YAAY,CAAC,CAAS,EAAE,CAAS,EAAE,IAAY;QAC1D,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS;YAC3B,OAAO,EAAE,CAAC;QACZ,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,yBAAyB,IAAI,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;IAC9I,CAAC;IAED,sGAAsG;IACtF,YAAY,CAAC,KAAuB;QAClD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAC;YACrC,KAAK,CAAC,OAAO,CAAC,iBAAiB,GAAG,MAAM,CAAC;YACzC,KAAK,CAAC,WAAW,CAAC,qBAAS,CAAC,YAAY,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,qBAAS,CAAC,YAAY,CAAC,kBAAkB,CAAC,2CAA2C,CAAC,EAAE,CAAC,CAAC,CAAC;QACvK,CAAC;IACH,CAAC;IAEe,KAAK,CAAC,eAAe,CAAC,KAAuB,EAAE,GAAmB;QAChF,4DAA4D;QAC5D,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACnD,CAAC;CACF;AAtBD,sEAsBC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Tiles\n */\n\nimport { ImageMapLayerSettings } from \"@itwin/core-common\";\nimport { IModelApp } from \"../../../../IModelApp\";\nimport { MapLayerImageryProvider } from \"../../../../tile/internal\";\nimport { ScreenViewport } from \"../../../../Viewport\";\n\n\nexport class AzureMapsLayerImageryProvider extends MapLayerImageryProvider {\n constructor(settings: ImageMapLayerSettings) { super(settings, true); }\n\n // construct the Url from the desired Tile\n public async constructUrl(y: number, x: number, zoom: number): Promise<string> {\n if (!this._settings.accessKey)\n return \"\";\n return `${this._settings.url}&${this._settings.accessKey.key}=${this._settings.accessKey.value}&api-version=2.0&zoom=${zoom}&x=${x}&y=${y}`;\n }\n\n /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */\n public override addLogoCards(cards: HTMLTableElement): void {\n if (!cards.dataset.azureMapsLogoCard) {\n cards.dataset.azureMapsLogoCard = \"true\";\n cards.appendChild(IModelApp.makeLogoCard({ heading: \"Azure Maps\", notice: IModelApp.localization.getLocalizedString(\"iModelJs:BackgroundMap.AzureMapsCopyright\") }));\n }\n }\n\n public override async addAttributions(cards: HTMLTableElement, _vp: ScreenViewport): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n return Promise.resolve(this.addLogoCards(cards));\n }\n}\n"]}
|
|
@@ -19,7 +19,7 @@ export declare class BingMapsImageryLayerProvider extends MapLayerImageryProvide
|
|
|
19
19
|
private tileXYToQuadKey;
|
|
20
20
|
constructUrl(row: number, column: number, zoomLevel: number): Promise<string>;
|
|
21
21
|
private getMatchingAttributions;
|
|
22
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
22
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
23
23
|
addLogoCards(cards: HTMLTableElement, vp: ScreenViewport): void;
|
|
24
24
|
addAttributions(cards: HTMLTableElement, vp: ScreenViewport): Promise<void>;
|
|
25
25
|
initialize(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BingImageryProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/tile/map/ImageryProviders/BingImageryProvider.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH,OAAO,EAAE,qBAAqB,EAAe,MAAM,oBAAoB,CAAC;AAGxE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EACL,uBAAuB,EAExB,MAAM,2BAA2B,CAAC;AAoDnC,qBAAa,4BAA6B,SAAQ,uBAAuB;IACvE,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,cAAc,CAAC,CAAW;IAClC,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,aAAa,CAAC,CAAoB;IAC1C,OAAO,CAAC,gBAAgB,CAAkB;IAC1C,OAAO,CAAC,QAAQ,CAAS;gBAEb,QAAQ,EAAE,qBAAqB;IAQ3C,IAAW,SAAS,IAAI,MAAM,CAA4B;IAC1D,IAAW,UAAU,IAAI,MAAM,CAA6B;IAE5D,OAAO,CAAC,eAAe;IAuBV,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAa1F,OAAO,CAAC,uBAAuB;IAqB9B,
|
|
1
|
+
{"version":3,"file":"BingImageryProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/tile/map/ImageryProviders/BingImageryProvider.ts"],"names":[],"mappings":"AAIA;;GAEG;AAIH,OAAO,EAAE,qBAAqB,EAAe,MAAM,oBAAoB,CAAC;AAGxE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EACL,uBAAuB,EAExB,MAAM,2BAA2B,CAAC;AAoDnC,qBAAa,4BAA6B,SAAQ,uBAAuB;IACvE,OAAO,CAAC,YAAY,CAAC,CAAS;IAC9B,OAAO,CAAC,cAAc,CAAC,CAAW;IAClC,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,aAAa,CAAC,CAAoB;IAC1C,OAAO,CAAC,gBAAgB,CAAkB;IAC1C,OAAO,CAAC,QAAQ,CAAS;gBAEb,QAAQ,EAAE,qBAAqB;IAQ3C,IAAW,SAAS,IAAI,MAAM,CAA4B;IAC1D,IAAW,UAAU,IAAI,MAAM,CAA6B;IAE5D,OAAO,CAAC,eAAe;IAuBV,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAa1F,OAAO,CAAC,uBAAuB;IAqB9B,sGAAsG;IACvF,YAAY,CAAC,KAAK,EAAE,gBAAgB,EAAE,EAAE,EAAE,cAAc,GAAG,IAAI;IAiBzD,eAAe,CAAC,KAAK,EAAE,gBAAgB,EAAE,EAAE,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAM3E,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IA+BjD,OAAO,CAAC,gBAAgB;CAezB"}
|
|
@@ -137,7 +137,7 @@ class BingMapsImageryLayerProvider extends internal_1.MapLayerImageryProvider {
|
|
|
137
137
|
}
|
|
138
138
|
return matchingAttributions;
|
|
139
139
|
}
|
|
140
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
140
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
141
141
|
addLogoCards(cards, vp) {
|
|
142
142
|
const tiles = IModelApp_1.IModelApp.tileAdmin.getTilesForUser(vp)?.selected;
|
|
143
143
|
const matchingAttributions = this.getMatchingAttributions(tiles);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BingImageryProvider.js","sourceRoot":"","sources":["../../../../../../src/internal/tile/map/ImageryProviders/BingImageryProvider.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAAyE;AAGzE,yDAAsD;AACtD,qDAAkD;AAElD,wDAGmC;AAEnC;GACG;AACH,MAAM,QAAQ;IACQ;IACV;IACA;IACA;IACA;IACA;IALV,YAAoB,kBAA0B,EACpC,mBAA2B,EAC3B,mBAA2B,EAC3B,oBAA4B,EAC5B,iBAAyB,EACzB,iBAAyB;QALf,uBAAkB,GAAlB,kBAAkB,CAAQ;QACpC,wBAAmB,GAAnB,mBAAmB,CAAQ;QAC3B,wBAAmB,GAAnB,mBAAmB,CAAQ;QAC3B,yBAAoB,GAApB,oBAAoB,CAAQ;QAC5B,sBAAiB,GAAjB,iBAAiB,CAAQ;QACzB,sBAAiB,GAAjB,iBAAiB,CAAQ;IAAI,CAAC;IAEjC,QAAQ,CAAC,MAAc,EAAE,YAA6B;QAC3D,MAAM,KAAK,GAAY,MAAM,CAAC,sBAAsB,CAAC,YAAY,CAAC,CAAC;QACnE,IAAI,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,iBAAiB;YACvC,OAAO,KAAK,CAAC;QACf,IAAI,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,iBAAiB;YACvC,OAAO,KAAK,CAAC;QACf,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,oBAAoB;YACzC,OAAO,KAAK,CAAC;QACf,IAAI,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,mBAAmB;YACxC,OAAO,KAAK,CAAC;QACf,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,mBAAmB;YACzC,OAAO,KAAK,CAAC;QACf,IAAI,KAAK,CAAC,IAAI,CAAC,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,EAAE,CAAC;gBACnE,MAAM,YAAY,GAAG,IAAI,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAC1I,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;gBACxD,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YAC/B,CAAC;YACD,MAAM,eAAe,GAAoB,IAAI,eAAe,CAAC,gBAAgB,EAAE,SAAS,CAAC,CAAC;YAC1F,IAAI,CAAC,IAAI,CAAC,aAAa;gBACrB,IAAI,CAAC,aAAa,GAAG,IAAI,KAAK,EAAmB,CAAC;YACpD,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC3C,CAAC;IACH,CAAC;CACF;AApJD,oEAoJC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Tiles\n */\n\nimport { assert, BentleyError, IModelStatus } from \"@itwin/core-bentley\";\nimport { Range2d } from \"@itwin/core-geometry\";\nimport { ImageMapLayerSettings, ImageSource } from \"@itwin/core-common\";\nimport { request } from \"../../../../request/Request\";\nimport { IModelApp } from \"../../../../IModelApp\";\nimport { ScreenViewport } from \"../../../../Viewport\";\nimport {\n MapLayerImageryProvider, MapTile, MapTilingScheme, QuadId,\n Tile, WebMercatorTilingScheme,\n} from \"../../../../tile/internal\";\n\n/** Represents one range of geography and tile zoom levels for a bing data provider\n */\nclass Coverage {\n constructor(private _lowerLeftLatitude: number,\n private _lowerLeftLongitude: number,\n private _upperRightLatitude: number,\n private _upperRightLongitude: number,\n private _minimumZoomLevel: number,\n private _maximumZoomLevel: number) { }\n\n public overlaps(quadId: QuadId, tilingScheme: MapTilingScheme): boolean {\n const range: Range2d = quadId.getLatLongRangeDegrees(tilingScheme);\n if (quadId.level < this._minimumZoomLevel)\n return false;\n if (quadId.level > this._maximumZoomLevel)\n return false;\n if (range.low.x > this._upperRightLongitude)\n return false;\n if (range.low.y > this._upperRightLatitude)\n return false;\n if (range.high.x < this._lowerLeftLongitude)\n return false;\n if (range.high.y < this._lowerLeftLatitude)\n return false;\n\n return true;\n }\n}\n\n/** Represents the copyright message and an array of coverage data for one of bing's data providers (HERE for example).\n */\nclass BingAttribution {\n constructor(public copyrightMessage: string, private _coverages: Coverage[]) { }\n\n public matchesTile(tile: Tile, tilingScheme: MapTilingScheme): boolean {\n const quadId = QuadId.createFromContentId(tile.contentId);\n for (const coverage of this._coverages) {\n if (coverage.overlaps(quadId, tilingScheme))\n return true;\n }\n return false;\n }\n}\n\n// in deployed applications, we can only make https requests, but the Bing Maps metadata request returns templates with \"http:\".\n// This function fixes those.\nfunction replaceHttpWithHttps(originalUrl: string) {\n return originalUrl.startsWith(\"http:\") ? \"https:\".concat(originalUrl.slice(5)) : originalUrl;\n}\n\nexport class BingMapsImageryLayerProvider extends MapLayerImageryProvider {\n private _urlTemplate?: string;\n private _urlSubdomains?: string[];\n private _zoomMax: number;\n private _tileHeight: number;\n private _tileWidth: number;\n private _attributions?: BingAttribution[]; // array of Bing's data providers.\n private _mapTilingScheme: MapTilingScheme;\n private _urlBase: string;\n\n constructor(settings: ImageMapLayerSettings) {\n super(settings, true);\n this._urlBase = settings.url;\n this._zoomMax = 0;\n this._tileHeight = this._tileWidth = 0;\n this._mapTilingScheme = new WebMercatorTilingScheme();\n }\n\n public get tileWidth(): number { return this._tileWidth; }\n public get tileHeight(): number { return this._tileHeight; }\n\n private tileXYToQuadKey(tileX: number, tileY: number, zoomLevel: number) {\n // from C# example in bing documentation https://msdn.microsoft.com/en-us/library/bb259689.aspx\n let quadKey: string = \"\";\n\n // Root tile is not displayable. Returns 0 for _GetMaximumSize(). Should not end up here.\n assert(0 !== zoomLevel);\n\n for (let i: number = zoomLevel; i > 0; i--) {\n let digit: number = 0x30; // '0'\n const mask: number = 1 << (i - 1);\n if ((tileX & mask) !== 0) {\n digit++;\n }\n if ((tileY & mask) !== 0) {\n digit++;\n digit++;\n }\n quadKey = quadKey.concat(String.fromCharCode(digit));\n }\n return quadKey;\n }\n\n // construct the Url from the desired Tile\n public async constructUrl(row: number, column: number, zoomLevel: number): Promise<string> {\n // From the tile, get a \"quadKey\" the Microsoft way.\n const quadKey: string = this.tileXYToQuadKey(column, row, zoomLevel);\n const subdomain: string = this._urlSubdomains![(row + column) % this._urlSubdomains!.length];\n\n // from the template url, construct the tile url.\n let url: string = this._urlTemplate!.replace(\"{subdomain}\", subdomain);\n url = url.replace(\"{quadkey}\", quadKey);\n\n return url;\n }\n\n // gets the attributions that match the tile set.\n private getMatchingAttributions(tiles: Set<Tile> | undefined): BingAttribution[] {\n const matchingAttributions: BingAttribution[] = new Array<BingAttribution>();\n if (!this._attributions || !tiles)\n return matchingAttributions;\n\n const unmatchedSet: BingAttribution[] = this._attributions.slice();\n for (const tile of tiles) {\n if (tile instanceof MapTile) {\n // compare to the set of Bing attributions that we have not yet matched.\n for (let iAttr = 0; iAttr < unmatchedSet.length; iAttr++) {\n const attribution = unmatchedSet[iAttr];\n if (attribution.matchesTile(tile, this._mapTilingScheme)) {\n matchingAttributions.push(attribution);\n unmatchedSet.splice(iAttr, 1);\n break;\n }\n }\n }\n }\n return matchingAttributions;\n }\n /** @deprecated in 5.0 Use [addAttributions] instead. */\n public override addLogoCards(cards: HTMLTableElement, vp: ScreenViewport): void {\n const tiles = IModelApp.tileAdmin.getTilesForUser(vp)?.selected;\n const matchingAttributions = this.getMatchingAttributions(tiles);\n const copyrights: string[] = [];\n for (const match of matchingAttributions)\n copyrights.push(match.copyrightMessage);\n\n let copyrightMsg = \"\";\n for (let i = 0; i < copyrights.length; ++i) {\n if (i > 0)\n copyrightMsg += \"<br>\";\n copyrightMsg += copyrights[i];\n }\n\n cards.appendChild(IModelApp.makeLogoCard({ iconSrc: `${IModelApp.publicPath}images/bing.svg`, heading: \"Microsoft Bing\", notice: copyrightMsg }));\n }\n\n public override async addAttributions(cards: HTMLTableElement, vp: ScreenViewport): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n return Promise.resolve(this.addLogoCards(cards, vp));\n }\n\n // initializes the BingImageryProvider by reading the templateUrl, logo image, and attribution list.\n public override async initialize(): Promise<void> {\n // get the template url\n const bingRequestUrl = this._urlBase.replace(\"{bingKey}\", this._settings.accessKey ? this._settings.accessKey.value : \"\");\n\n try {\n const bingResponseProps = await request(bingRequestUrl, \"json\");\n\n const thisResourceSetProps = bingResponseProps.resourceSets[0];\n const thisResourceProps = thisResourceSetProps.resources[0];\n this._zoomMax = thisResourceProps.zoomMax;\n this._tileHeight = thisResourceProps.imageHeight;\n this._tileWidth = thisResourceProps.imageWidth;\n this._urlTemplate = replaceHttpWithHttps(thisResourceProps.imageUrl.replace(\"{culture}\", \"en-US\")); // NEEDSWORK - get locale from somewhere.\n this._urlSubdomains = thisResourceProps.imageUrlSubdomains;\n // read the list of Bing's data suppliers and the range of data they provide. Used in calculation of copyright message.\n this.readAttributions(thisResourceProps.imageryProviders);\n\n // Bing sometimes provides tiles that have nothing but a camera icon in the middle of them when you ask\n // for tiles at zoom levels where they don't have data. Their application stops you from zooming in when that's the\n // case, but we can't stop - the user might want to look at design data a closer zoom. So we intentionally load such\n // a tile, and then compare other tiles to it, rejecting them if they match.\n this.loadTile(0, 0, this._zoomMax - 1).then((tileData: ImageSource | undefined) => { // eslint-disable-line @typescript-eslint/no-floating-promises\n if (tileData !== undefined)\n this._missingTileData = tileData.data as Uint8Array;\n });\n } catch {\n throw new BentleyError(IModelStatus.BadModel, \"Error in Bing Server communications\");\n }\n }\n\n // reads the list of Bing data providers and the map range for which they each provide data.\n private readAttributions(attributionProps: any) {\n for (const thisAttributionProps of attributionProps) {\n const copyrightMessage: string = thisAttributionProps.attribution;\n const coverages: Coverage[] = new Array<Coverage>();\n for (const thisCoverageProps of thisAttributionProps.coverageAreas) {\n const thisCoverage = new Coverage(thisCoverageProps.bbox[0], thisCoverageProps.bbox[1], thisCoverageProps.bbox[2], thisCoverageProps.bbox[3],\n thisCoverageProps.zoomMin, thisCoverageProps.zoomMax);\n coverages.push(thisCoverage);\n }\n const thisAttribution: BingAttribution = new BingAttribution(copyrightMessage, coverages);\n if (!this._attributions)\n this._attributions = new Array<BingAttribution>();\n this._attributions.push(thisAttribution);\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"BingImageryProvider.js","sourceRoot":"","sources":["../../../../../../src/internal/tile/map/ImageryProviders/BingImageryProvider.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAAyE;AAGzE,yDAAsD;AACtD,qDAAkD;AAElD,wDAGmC;AAEnC;GACG;AACH,MAAM,QAAQ;IACQ;IACV;IACA;IACA;IACA;IACA;IALV,YAAoB,kBAA0B,EACpC,mBAA2B,EAC3B,mBAA2B,EAC3B,oBAA4B,EAC5B,iBAAyB,EACzB,iBAAyB;QALf,uBAAkB,GAAlB,kBAAkB,CAAQ;QACpC,wBAAmB,GAAnB,mBAAmB,CAAQ;QAC3B,wBAAmB,GAAnB,mBAAmB,CAAQ;QAC3B,yBAAoB,GAApB,oBAAoB,CAAQ;QAC5B,sBAAiB,GAAjB,iBAAiB,CAAQ;QACzB,sBAAiB,GAAjB,iBAAiB,CAAQ;IAAI,CAAC;IAEjC,QAAQ,CAAC,MAAc,EAAE,YAA6B;QAC3D,MAAM,KAAK,GAAY,MAAM,CAAC,sBAAsB,CAAC,YAAY,CAAC,CAAC;QACnE,IAAI,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,iBAAiB;YACvC,OAAO,KAAK,CAAC;QACf,IAAI,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC,iBAAiB;YACvC,OAAO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AC,2BAAY,CAAC,QAAQ,EAAE,qCAAqC,CAAC,CAAC;QACvF,CAAC;IACH,CAAC;IAED,4FAA4F;IACpF,gBAAgB,CAAC,gBAAqB;QAC5C,KAAK,MAAM,oBAAoB,IAAI,gBAAgB,EAAE,CAAC;YACpD,MAAM,gBAAgB,GAAW,oBAAoB,CAAC,WAAW,CAAC;YAClE,MAAM,SAAS,GAAe,IAAI,KAAK,EAAY,CAAC;YACpD,KAAK,MAAM,iBAAiB,IAAI,oBAAoB,CAAC,aAAa,EAAE,CAAC;gBACnE,MAAM,YAAY,GAAG,IAAI,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAC,EAC1I,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAC;gBACxD,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YAC/B,CAAC;YACD,MAAM,eAAe,GAAoB,IAAI,eAAe,CAAC,gBAAgB,EAAE,SAAS,CAAC,CAAC;YAC1F,IAAI,CAAC,IAAI,CAAC,aAAa;gBACrB,IAAI,CAAC,aAAa,GAAG,IAAI,KAAK,EAAmB,CAAC;YACpD,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC3C,CAAC;IACH,CAAC;CACF;AApJD,oEAoJC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Tiles\n */\n\nimport { assert, BentleyError, IModelStatus } from \"@itwin/core-bentley\";\nimport { Range2d } from \"@itwin/core-geometry\";\nimport { ImageMapLayerSettings, ImageSource } from \"@itwin/core-common\";\nimport { request } from \"../../../../request/Request\";\nimport { IModelApp } from \"../../../../IModelApp\";\nimport { ScreenViewport } from \"../../../../Viewport\";\nimport {\n MapLayerImageryProvider, MapTile, MapTilingScheme, QuadId,\n Tile, WebMercatorTilingScheme,\n} from \"../../../../tile/internal\";\n\n/** Represents one range of geography and tile zoom levels for a bing data provider\n */\nclass Coverage {\n constructor(private _lowerLeftLatitude: number,\n private _lowerLeftLongitude: number,\n private _upperRightLatitude: number,\n private _upperRightLongitude: number,\n private _minimumZoomLevel: number,\n private _maximumZoomLevel: number) { }\n\n public overlaps(quadId: QuadId, tilingScheme: MapTilingScheme): boolean {\n const range: Range2d = quadId.getLatLongRangeDegrees(tilingScheme);\n if (quadId.level < this._minimumZoomLevel)\n return false;\n if (quadId.level > this._maximumZoomLevel)\n return false;\n if (range.low.x > this._upperRightLongitude)\n return false;\n if (range.low.y > this._upperRightLatitude)\n return false;\n if (range.high.x < this._lowerLeftLongitude)\n return false;\n if (range.high.y < this._lowerLeftLatitude)\n return false;\n\n return true;\n }\n}\n\n/** Represents the copyright message and an array of coverage data for one of bing's data providers (HERE for example).\n */\nclass BingAttribution {\n constructor(public copyrightMessage: string, private _coverages: Coverage[]) { }\n\n public matchesTile(tile: Tile, tilingScheme: MapTilingScheme): boolean {\n const quadId = QuadId.createFromContentId(tile.contentId);\n for (const coverage of this._coverages) {\n if (coverage.overlaps(quadId, tilingScheme))\n return true;\n }\n return false;\n }\n}\n\n// in deployed applications, we can only make https requests, but the Bing Maps metadata request returns templates with \"http:\".\n// This function fixes those.\nfunction replaceHttpWithHttps(originalUrl: string) {\n return originalUrl.startsWith(\"http:\") ? \"https:\".concat(originalUrl.slice(5)) : originalUrl;\n}\n\nexport class BingMapsImageryLayerProvider extends MapLayerImageryProvider {\n private _urlTemplate?: string;\n private _urlSubdomains?: string[];\n private _zoomMax: number;\n private _tileHeight: number;\n private _tileWidth: number;\n private _attributions?: BingAttribution[]; // array of Bing's data providers.\n private _mapTilingScheme: MapTilingScheme;\n private _urlBase: string;\n\n constructor(settings: ImageMapLayerSettings) {\n super(settings, true);\n this._urlBase = settings.url;\n this._zoomMax = 0;\n this._tileHeight = this._tileWidth = 0;\n this._mapTilingScheme = new WebMercatorTilingScheme();\n }\n\n public get tileWidth(): number { return this._tileWidth; }\n public get tileHeight(): number { return this._tileHeight; }\n\n private tileXYToQuadKey(tileX: number, tileY: number, zoomLevel: number) {\n // from C# example in bing documentation https://msdn.microsoft.com/en-us/library/bb259689.aspx\n let quadKey: string = \"\";\n\n // Root tile is not displayable. Returns 0 for _GetMaximumSize(). Should not end up here.\n assert(0 !== zoomLevel);\n\n for (let i: number = zoomLevel; i > 0; i--) {\n let digit: number = 0x30; // '0'\n const mask: number = 1 << (i - 1);\n if ((tileX & mask) !== 0) {\n digit++;\n }\n if ((tileY & mask) !== 0) {\n digit++;\n digit++;\n }\n quadKey = quadKey.concat(String.fromCharCode(digit));\n }\n return quadKey;\n }\n\n // construct the Url from the desired Tile\n public async constructUrl(row: number, column: number, zoomLevel: number): Promise<string> {\n // From the tile, get a \"quadKey\" the Microsoft way.\n const quadKey: string = this.tileXYToQuadKey(column, row, zoomLevel);\n const subdomain: string = this._urlSubdomains![(row + column) % this._urlSubdomains!.length];\n\n // from the template url, construct the tile url.\n let url: string = this._urlTemplate!.replace(\"{subdomain}\", subdomain);\n url = url.replace(\"{quadkey}\", quadKey);\n\n return url;\n }\n\n // gets the attributions that match the tile set.\n private getMatchingAttributions(tiles: Set<Tile> | undefined): BingAttribution[] {\n const matchingAttributions: BingAttribution[] = new Array<BingAttribution>();\n if (!this._attributions || !tiles)\n return matchingAttributions;\n\n const unmatchedSet: BingAttribution[] = this._attributions.slice();\n for (const tile of tiles) {\n if (tile instanceof MapTile) {\n // compare to the set of Bing attributions that we have not yet matched.\n for (let iAttr = 0; iAttr < unmatchedSet.length; iAttr++) {\n const attribution = unmatchedSet[iAttr];\n if (attribution.matchesTile(tile, this._mapTilingScheme)) {\n matchingAttributions.push(attribution);\n unmatchedSet.splice(iAttr, 1);\n break;\n }\n }\n }\n }\n return matchingAttributions;\n }\n /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */\n public override addLogoCards(cards: HTMLTableElement, vp: ScreenViewport): void {\n const tiles = IModelApp.tileAdmin.getTilesForUser(vp)?.selected;\n const matchingAttributions = this.getMatchingAttributions(tiles);\n const copyrights: string[] = [];\n for (const match of matchingAttributions)\n copyrights.push(match.copyrightMessage);\n\n let copyrightMsg = \"\";\n for (let i = 0; i < copyrights.length; ++i) {\n if (i > 0)\n copyrightMsg += \"<br>\";\n copyrightMsg += copyrights[i];\n }\n\n cards.appendChild(IModelApp.makeLogoCard({ iconSrc: `${IModelApp.publicPath}images/bing.svg`, heading: \"Microsoft Bing\", notice: copyrightMsg }));\n }\n\n public override async addAttributions(cards: HTMLTableElement, vp: ScreenViewport): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n return Promise.resolve(this.addLogoCards(cards, vp));\n }\n\n // initializes the BingImageryProvider by reading the templateUrl, logo image, and attribution list.\n public override async initialize(): Promise<void> {\n // get the template url\n const bingRequestUrl = this._urlBase.replace(\"{bingKey}\", this._settings.accessKey ? this._settings.accessKey.value : \"\");\n\n try {\n const bingResponseProps = await request(bingRequestUrl, \"json\");\n\n const thisResourceSetProps = bingResponseProps.resourceSets[0];\n const thisResourceProps = thisResourceSetProps.resources[0];\n this._zoomMax = thisResourceProps.zoomMax;\n this._tileHeight = thisResourceProps.imageHeight;\n this._tileWidth = thisResourceProps.imageWidth;\n this._urlTemplate = replaceHttpWithHttps(thisResourceProps.imageUrl.replace(\"{culture}\", \"en-US\")); // NEEDSWORK - get locale from somewhere.\n this._urlSubdomains = thisResourceProps.imageUrlSubdomains;\n // read the list of Bing's data suppliers and the range of data they provide. Used in calculation of copyright message.\n this.readAttributions(thisResourceProps.imageryProviders);\n\n // Bing sometimes provides tiles that have nothing but a camera icon in the middle of them when you ask\n // for tiles at zoom levels where they don't have data. Their application stops you from zooming in when that's the\n // case, but we can't stop - the user might want to look at design data a closer zoom. So we intentionally load such\n // a tile, and then compare other tiles to it, rejecting them if they match.\n this.loadTile(0, 0, this._zoomMax - 1).then((tileData: ImageSource | undefined) => { // eslint-disable-line @typescript-eslint/no-floating-promises\n if (tileData !== undefined)\n this._missingTileData = tileData.data as Uint8Array;\n });\n } catch {\n throw new BentleyError(IModelStatus.BadModel, \"Error in Bing Server communications\");\n }\n }\n\n // reads the list of Bing data providers and the map range for which they each provide data.\n private readAttributions(attributionProps: any) {\n for (const thisAttributionProps of attributionProps) {\n const copyrightMessage: string = thisAttributionProps.attribution;\n const coverages: Coverage[] = new Array<Coverage>();\n for (const thisCoverageProps of thisAttributionProps.coverageAreas) {\n const thisCoverage = new Coverage(thisCoverageProps.bbox[0], thisCoverageProps.bbox[1], thisCoverageProps.bbox[2], thisCoverageProps.bbox[3],\n thisCoverageProps.zoomMin, thisCoverageProps.zoomMax);\n coverages.push(thisCoverage);\n }\n const thisAttribution: BingAttribution = new BingAttribution(copyrightMessage, coverages);\n if (!this._attributions)\n this._attributions = new Array<BingAttribution>();\n this._attributions.push(thisAttribution);\n }\n }\n}\n"]}
|
|
@@ -16,7 +16,7 @@ export declare class MapBoxLayerImageryProvider extends MapLayerImageryProvider
|
|
|
16
16
|
get minimumZoomLevel(): number;
|
|
17
17
|
get maximumZoomLevel(): number;
|
|
18
18
|
constructUrl(row: number, column: number, zoomLevel: number): Promise<string>;
|
|
19
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
19
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
20
20
|
addLogoCards(cards: HTMLTableElement): void;
|
|
21
21
|
addAttributions(cards: HTMLTableElement, _vp: ScreenViewport): Promise<void>;
|
|
22
22
|
initialize(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapBoxLayerImageryProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/tile/map/ImageryProviders/MapBoxLayerImageryProvider.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD;GACG;AACH,qBAAa,0BAA2B,SAAQ,uBAAuB;IACrE,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,QAAQ,CAAS;gBAEb,QAAQ,EAAE,qBAAqB;IAO3C,IAAW,SAAS,IAAI,MAAM,CAAgB;IAC9C,IAAW,UAAU,IAAI,MAAM,CAAgB;IAC/C,IAAoB,gBAAgB,IAAI,MAAM,CAA0B;IACxE,IAAoB,gBAAgB,IAAI,MAAM,CAA0B;IAG3D,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAczF,
|
|
1
|
+
{"version":3,"file":"MapBoxLayerImageryProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/internal/tile/map/ImageryProviders/MapBoxLayerImageryProvider.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAGtD;GACG;AACH,qBAAa,0BAA2B,SAAQ,uBAAuB;IACrE,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,QAAQ,CAAS;gBAEb,QAAQ,EAAE,qBAAqB;IAO3C,IAAW,SAAS,IAAI,MAAM,CAAgB;IAC9C,IAAW,UAAU,IAAI,MAAM,CAAgB;IAC/C,IAAoB,gBAAgB,IAAI,MAAM,CAA0B;IACxE,IAAoB,gBAAgB,IAAI,MAAM,CAA0B;IAG3D,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAczF,sGAAsG;IACvF,YAAY,CAAC,KAAK,EAAE,gBAAgB,GAAG,IAAI;IAOrC,eAAe,CAAE,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAM7E,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;CAClD"}
|
|
@@ -38,7 +38,7 @@ class MapBoxLayerImageryProvider extends internal_1.MapLayerImageryProvider {
|
|
|
38
38
|
url = url.concat(`?${this._settings.accessKey.key}=${this._settings.accessKey.value}`);
|
|
39
39
|
return url;
|
|
40
40
|
}
|
|
41
|
-
/** @deprecated in 5.0 Use [addAttributions] instead. */
|
|
41
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */
|
|
42
42
|
addLogoCards(cards) {
|
|
43
43
|
if (!cards.dataset.mapboxLogoCard) {
|
|
44
44
|
cards.dataset.mapboxLogoCard = "true";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapBoxLayerImageryProvider.js","sourceRoot":"","sources":["../../../../../../src/internal/tile/map/ImageryProviders/MapBoxLayerImageryProvider.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,qDAAkD;AAClD,wDAAoE;AAIpE;GACG;AACH,MAAa,0BAA2B,SAAQ,kCAAuB;IAC7D,QAAQ,CAAS;IACjB,QAAQ,CAAS;IACjB,QAAQ,CAAS;IAEzB,YAAY,QAA+B;QACzC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;QACtB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC;IACrB,CAAC;IAED,IAAW,SAAS,KAAa,OAAO,GAAG,CAAC,CAAC,CAAC;IAC9C,IAAW,UAAU,KAAa,OAAO,GAAG,CAAC,CAAC,CAAC;IAC/C,IAAoB,gBAAgB,KAAa,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACxE,IAAoB,gBAAgB,KAAa,OAAO,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAExE,0CAA0C;IACnC,KAAK,CAAC,YAAY,CAAC,GAAW,EAAE,MAAc,EAAE,SAAiB;QACtE,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC;YAC9B,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,iDAAiD;QACjD,2EAA2E;QAC3E,IAAI,GAAG,GAAW,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC;QAClE,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,SAAS,CAAC,QAAQ,EAAE,IAAI,MAAM,CAAC,QAAQ,EAAE,IAAI,GAAG,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QACpF,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,CAAC;QAEvF,OAAO,GAAG,CAAC;IACb,CAAC;IAEA,
|
|
1
|
+
{"version":3,"file":"MapBoxLayerImageryProvider.js","sourceRoot":"","sources":["../../../../../../src/internal/tile/map/ImageryProviders/MapBoxLayerImageryProvider.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAGH,qDAAkD;AAClD,wDAAoE;AAIpE;GACG;AACH,MAAa,0BAA2B,SAAQ,kCAAuB;IAC7D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ClD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC;YAClC,KAAK,CAAC,OAAO,CAAC,cAAc,GAAG,MAAM,CAAC;YACtC,KAAK,CAAC,WAAW,CAAC,qBAAS,CAAC,YAAY,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,qBAAS,CAAC,YAAY,CAAC,kBAAkB,CAAC,wCAAwC,CAAC,EAAE,CAAC,CAAC,CAAC;QAChK,CAAC;IACH,CAAC;IAEe,KAAK,CAAC,eAAe,CAAE,KAAuB,EAAE,GAAmB;QACjF,4DAA4D;QAC5D,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IACnD,CAAC;IAED,sDAAsD;IACtC,KAAK,CAAC,UAAU,KAAoB,CAAC;CACtD;AA/CD,gEA+CC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Tiles\n */\n\nimport { ImageMapLayerSettings } from \"@itwin/core-common\";\nimport { IModelApp } from \"../../../../IModelApp\";\nimport { MapLayerImageryProvider } from \"../../../../tile/internal\";\nimport { ScreenViewport } from \"../../../../Viewport\";\n\n\n/** Base class imagery map layer formats. Subclasses should override formatId and [[MapLayerFormat.createImageryProvider]].\n */\nexport class MapBoxLayerImageryProvider extends MapLayerImageryProvider {\n private _zoomMin: number;\n private _zoomMax: number;\n private _baseUrl: string;\n\n constructor(settings: ImageMapLayerSettings) {\n super(settings, true);\n this._baseUrl = settings.url;\n this._zoomMin = 1;\n this._zoomMax = 20;\n }\n\n public get tileWidth(): number { return 256; }\n public get tileHeight(): number { return 256; }\n public override get minimumZoomLevel(): number { return this._zoomMin; }\n public override get maximumZoomLevel(): number { return this._zoomMax; }\n\n // construct the Url from the desired Tile\n public async constructUrl(row: number, column: number, zoomLevel: number): Promise<string> {\n if (!this._settings.accessKey) {\n return \"\";\n }\n\n // from the template url, construct the tile url.\n // format: {baseUrl}/{tileSize}/{level}/{column}/{row}?access_token={token}\n let url: string = this._baseUrl.concat(this.tileWidth.toString());\n url = url.concat(`/${zoomLevel.toString()}/${column.toString()}/${row.toString()}`);\n url = url.concat(`?${this._settings.accessKey.key}=${this._settings.accessKey.value}`);\n\n return url;\n }\n\n /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [addAttributions] instead. */\n public override addLogoCards(cards: HTMLTableElement): void {\n if (!cards.dataset.mapboxLogoCard) {\n cards.dataset.mapboxLogoCard = \"true\";\n cards.appendChild(IModelApp.makeLogoCard({ heading: \"Mapbox\", notice: IModelApp.localization.getLocalizedString(\"iModelJs:BackgroundMap.MapBoxCopyright\") }));\n }\n }\n\n public override async addAttributions (cards: HTMLTableElement, _vp: ScreenViewport): Promise<void> {\n // eslint-disable-next-line @typescript-eslint/no-deprecated\n return Promise.resolve(this.addLogoCards(cards));\n }\n\n // no initialization needed for MapBoxImageryProvider.\n public override async initialize(): Promise<void> { }\n}\n"]}
|
|
@@ -11,7 +11,7 @@ export declare class AngleDescription extends FormattedQuantityDescription {
|
|
|
11
11
|
constructor(name?: string, displayLabel?: string, iconSpec?: string, kindOfQuantityName?: string);
|
|
12
12
|
get formatterQuantityType(): QuantityType;
|
|
13
13
|
/**
|
|
14
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
14
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
15
15
|
*/
|
|
16
16
|
get quantityType(): string;
|
|
17
17
|
get parseError(): string;
|
|
@@ -27,7 +27,7 @@ class AngleDescription extends FormattedQuantityDescription_1.FormattedQuantityD
|
|
|
27
27
|
}
|
|
28
28
|
get formatterQuantityType() { return QuantityFormatter_1.QuantityType.Angle; }
|
|
29
29
|
/**
|
|
30
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
30
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
31
31
|
*/
|
|
32
32
|
get quantityType() { return "Angle"; }
|
|
33
33
|
get parseError() { return IModelApp_1.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseAngle"); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AngleDescription.js","sourceRoot":"","sources":["../../../src/properties/AngleDescription.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,4CAAyC;AACzC,gFAAwE;AACxE,iFAA8E;AAE9E;;;GAGG;AACH,MAAa,gBAAiB,SAAQ,2DAA4B;IAChE,YAAY,IAAa,EAAE,YAAqB,EAAE,QAAiB,EAAE,kBAA2B;QAC9F,MAAM,WAAW,GAAG,OAAO,CAAC;QAC5B,KAAK,CAAC;YACJ,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW;YAC/B,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,qBAAS,CAAC,YAAY,CAAC,kBAAkB,CAAC,2BAA2B,CAAC;YAClH,kBAAkB,EAAE,kBAAkB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,gBAAgB;YAC9E,QAAQ;SACT,CAAC,CAAA;IACJ,CAAC;IAED,IAAW,qBAAqB,KAAmB,OAAO,gCAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC/E;;OAEG;IACH,IAAW,YAAY,KAAa,OAAO,OAAO,CAAC,CAAC,CAAC;IAErD,IAAW,UAAU,KAAa,OAAO,qBAAS,CAAC,YAAY,CAAC,kBAAkB,CAAC,wCAAwC,CAAC,CAAC,CAAC,CAAC;CAChI;AAlBD,4CAkBC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Properties\n */\n\nimport { IModelApp } from \"../IModelApp\";\nimport { QuantityType } from \"../quantity-formatting/QuantityFormatter\";\nimport { FormattedQuantityDescription } from \"./FormattedQuantityDescription\";\n\n/**\n * Angle Property Description\n * @beta\n */\nexport class AngleDescription extends FormattedQuantityDescription {\n constructor(name?: string, displayLabel?: string, iconSpec?: string, kindOfQuantityName?: string) {\n const defaultName = \"angle\";\n super({\n name: name ? name : defaultName,\n displayLabel: displayLabel ? displayLabel : IModelApp.localization.getLocalizedString(\"iModelJs:Properties.Angle\"),\n kindOfQuantityName: kindOfQuantityName ? kindOfQuantityName : \"AecUnits.ANGLE\",\n iconSpec\n })\n }\n\n public get formatterQuantityType(): QuantityType { return QuantityType.Angle; }\n /**\n * @deprecated in 5.0. Use the `kindOfQuantityName` property instead.\n */\n public get quantityType(): string { return \"Angle\"; }\n\n public get parseError(): string { return IModelApp.localization.getLocalizedString(\"iModelJs:Properties.UnableToParseAngle\"); }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"AngleDescription.js","sourceRoot":"","sources":["../../../src/properties/AngleDescription.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,4CAAyC;AACzC,gFAAwE;AACxE,iFAA8E;AAE9E;;;GAGG;AACH,MAAa,gBAAiB,SAAQ,2DAA4B;IAChE,YAAY,IAAa,EAAE,YAAqB,EAAE,QAAiB,EAAE,kBAA2B;QAC9F,MAAM,WAAW,GAAG,OAAO,CAAC;QAC5B,KAAK,CAAC;YACJ,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW;YAC/B,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,qBAAS,CAAC,YAAY,CAAC,kBAAkB,CAAC,2BAA2B,CAAC;YAClH,kBAAkB,EAAE,kBAAkB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,gBAAgB;YAC9E,QAAQ;SACT,CAAC,CAAA;IACJ,CAAC;IAED,IAAW,qBAAqB,KAAmB,OAAO,gCAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC/E;;OAEG;IACH,IAAW,YAAY,KAAa,OAAO,OAAO,CAAC,CAAC,CAAC;IAErD,IAAW,UAAU,KAAa,OAAO,qBAAS,CAAC,YAAY,CAAC,kBAAkB,CAAC,wCAAwC,CAAC,CAAC,CAAC,CAAC;CAChI;AAlBD,4CAkBC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Properties\n */\n\nimport { IModelApp } from \"../IModelApp\";\nimport { QuantityType } from \"../quantity-formatting/QuantityFormatter\";\nimport { FormattedQuantityDescription } from \"./FormattedQuantityDescription\";\n\n/**\n * Angle Property Description\n * @beta\n */\nexport class AngleDescription extends FormattedQuantityDescription {\n constructor(name?: string, displayLabel?: string, iconSpec?: string, kindOfQuantityName?: string) {\n const defaultName = \"angle\";\n super({\n name: name ? name : defaultName,\n displayLabel: displayLabel ? displayLabel : IModelApp.localization.getLocalizedString(\"iModelJs:Properties.Angle\"),\n kindOfQuantityName: kindOfQuantityName ? kindOfQuantityName : \"AecUnits.ANGLE\",\n iconSpec\n })\n }\n\n public get formatterQuantityType(): QuantityType { return QuantityType.Angle; }\n /**\n * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.\n */\n public get quantityType(): string { return \"Angle\"; }\n\n public get parseError(): string { return IModelApp.localization.getLocalizedString(\"iModelJs:Properties.UnableToParseAngle\"); }\n}\n"]}
|
|
@@ -11,7 +11,7 @@ export declare class LengthDescription extends FormattedQuantityDescription {
|
|
|
11
11
|
constructor(name?: string, displayLabel?: string, iconSpec?: string, kindOfQuantityName?: string);
|
|
12
12
|
get formatterQuantityType(): QuantityType;
|
|
13
13
|
/**
|
|
14
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
14
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
15
15
|
*/
|
|
16
16
|
get quantityType(): string;
|
|
17
17
|
get parseError(): string;
|
|
@@ -24,7 +24,7 @@ export declare class SurveyLengthDescription extends FormattedQuantityDescriptio
|
|
|
24
24
|
constructor(name?: string, displayLabel?: string, iconSpec?: string, kindOfQuantityName?: string);
|
|
25
25
|
get formatterQuantityType(): QuantityType;
|
|
26
26
|
/**
|
|
27
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
27
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
28
28
|
*/
|
|
29
29
|
get quantityType(): string;
|
|
30
30
|
get parseError(): string;
|
|
@@ -37,7 +37,7 @@ export declare class EngineeringLengthDescription extends FormattedQuantityDescr
|
|
|
37
37
|
constructor(name?: string, displayLabel?: string, iconSpec?: string, kindOfQuantityName?: string);
|
|
38
38
|
get formatterQuantityType(): QuantityType;
|
|
39
39
|
/**
|
|
40
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
40
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
41
41
|
*/
|
|
42
42
|
get quantityType(): string;
|
|
43
43
|
get parseError(): string;
|
|
@@ -27,7 +27,7 @@ class LengthDescription extends FormattedQuantityDescription_1.FormattedQuantity
|
|
|
27
27
|
}
|
|
28
28
|
get formatterQuantityType() { return QuantityFormatter_1.QuantityType.Length; }
|
|
29
29
|
/**
|
|
30
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
30
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
31
31
|
*/
|
|
32
32
|
get quantityType() { return "Length"; }
|
|
33
33
|
get parseError() { return IModelApp_1.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -49,7 +49,7 @@ class SurveyLengthDescription extends FormattedQuantityDescription_1.FormattedQu
|
|
|
49
49
|
}
|
|
50
50
|
get formatterQuantityType() { return QuantityFormatter_1.QuantityType.LengthSurvey; }
|
|
51
51
|
/**
|
|
52
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
52
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
53
53
|
*/
|
|
54
54
|
get quantityType() { return "LengthSurvey"; }
|
|
55
55
|
get parseError() { return IModelApp_1.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -71,7 +71,7 @@ class EngineeringLengthDescription extends FormattedQuantityDescription_1.Format
|
|
|
71
71
|
}
|
|
72
72
|
get formatterQuantityType() { return QuantityFormatter_1.QuantityType.LengthEngineering; }
|
|
73
73
|
/**
|
|
74
|
-
* @deprecated in 5.0. Use the `kindOfQuantityName` property instead.
|
|
74
|
+
* @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.
|
|
75
75
|
*/
|
|
76
76
|
get quantityType() { return "LengthEngineering"; }
|
|
77
77
|
get parseError() { return IModelApp_1.IModelApp.localization.getLocalizedString("iModelJs:Properties.UnableToParseLength"); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LengthDescription.js","sourceRoot":"","sources":["../../../src/properties/LengthDescription.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,4CAAyC;AACzC,gFAAwE;AACxE,iFAA8E;AAE9E;;;GAGG;AACH,MAAa,iBAAkB,SAAQ,2DAA4B;IACjE,YAAY,IAAa,EAAE,YAAqB,EAAE,QAAiB,EAAE,kBAA2B;QAC9F,MAAM,WAAW,GAAG,QAAQ,CAAC;QAC7B,KAAK,CAAC;YACJ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AAC,YAAY,CAAC,kBAAkB,CAAC,yCAAyC,CAAC,CAAC,CAAC,CAAC;CACjI;AAlBD,0DAkBC;AAED;;;GAGG;AACH,MAAa,4BAA6B,SAAQ,2DAA4B;IAE5E,YAAY,IAAa,EAAE,YAAqB,EAAE,QAAiB,EAAE,kBAA2B;QAC9F,MAAM,WAAW,GAAG,mBAAmB,CAAC;QACxC,KAAK,CAAC;YACJ,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW;YAC/B,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,qBAAS,CAAC,YAAY,CAAC,kBAAkB,CAAC,4BAA4B,CAAC;YACnH,kBAAkB,EAAE,kBAAkB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,iBAAiB;YAC/E,QAAQ;SACT,CAAC,CAAC;IACL,CAAC;IAED,IAAW,qBAAqB,KAAmB,OAAO,gCAAY,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAC3F;;OAEG;IACH,IAAW,YAAY,KAAa,OAAO,mBAAmB,CAAC,CAAC,CAAC;IAEjE,IAAW,UAAU,KAAa,OAAO,qBAAS,CAAC,YAAY,CAAC,kBAAkB,CAAC,yCAAyC,CAAC,CAAC,CAAC,CAAC;CACjI;AAnBD,oEAmBC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Properties\n */\n\nimport { IModelApp } from \"../IModelApp\";\nimport { QuantityType } from \"../quantity-formatting/QuantityFormatter\";\nimport { FormattedQuantityDescription } from \"./FormattedQuantityDescription\";\n\n/**\n * Length Property Description\n * @beta\n */\nexport class LengthDescription extends FormattedQuantityDescription {\n constructor(name?: string, displayLabel?: string, iconSpec?: string, kindOfQuantityName?: string) {\n const defaultName = \"length\";\n super({\n name: name ? name : defaultName,\n displayLabel: displayLabel ? displayLabel : IModelApp.localization.getLocalizedString(\"iModelJs:Properties.Length\"),\n kindOfQuantityName: kindOfQuantityName ? kindOfQuantityName : \"AecUnits.LENGTH\",\n iconSpec,\n });\n }\n\n public get formatterQuantityType(): QuantityType { return QuantityType.Length; }\n /**\n * @deprecated in 5.0. Use the `kindOfQuantityName` property instead.\n */\n public get quantityType(): string { return \"Length\"; }\n\n public get parseError(): string { return IModelApp.localization.getLocalizedString(\"iModelJs:Properties.UnableToParseLength\"); }\n}\n\n/**\n * Survey Length Property Description\n * @beta\n */\nexport class SurveyLengthDescription extends FormattedQuantityDescription {\n constructor(name?: string, displayLabel?: string, iconSpec?: string, kindOfQuantityName?: string) {\n const defaultName = \"surveyLength\";\n super({\n name: name ? name : defaultName,\n displayLabel: displayLabel ? displayLabel : IModelApp.localization.getLocalizedString(\"iModelJs:Properties.Length\"),\n kindOfQuantityName: kindOfQuantityName ? kindOfQuantityName : \"AecUnits.LENGTH\",\n iconSpec,\n });\n }\n\n public get formatterQuantityType(): QuantityType { return QuantityType.LengthSurvey; }\n /**\n * @deprecated in 5.0. Use the `kindOfQuantityName` property instead.\n */\n public get quantityType(): string { return \"LengthSurvey\"; }\n\n public get parseError(): string { return IModelApp.localization.getLocalizedString(\"iModelJs:Properties.UnableToParseLength\"); }\n}\n\n/**\n * Engineering Length Property Description\n * @beta\n */\nexport class EngineeringLengthDescription extends FormattedQuantityDescription {\n\n constructor(name?: string, displayLabel?: string, iconSpec?: string, kindOfQuantityName?: string) {\n const defaultName = \"engineeringLength\";\n super({\n name: name ? name : defaultName,\n displayLabel: displayLabel ? displayLabel : IModelApp.localization.getLocalizedString(\"iModelJs:Properties.Length\"),\n kindOfQuantityName: kindOfQuantityName ? kindOfQuantityName : \"AecUnits.LENGTH\",\n iconSpec,\n });\n }\n\n public get formatterQuantityType(): QuantityType { return QuantityType.LengthEngineering; }\n /**\n * @deprecated in 5.0. Use the `kindOfQuantityName` property instead.\n */\n public get quantityType(): string { return \"LengthEngineering\"; }\n\n public get parseError(): string { return IModelApp.localization.getLocalizedString(\"iModelJs:Properties.UnableToParseLength\"); }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"LengthDescription.js","sourceRoot":"","sources":["../../../src/properties/LengthDescription.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,4CAAyC;AACzC,gFAAwE;AACxE,iFAA8E;AAE9E;;;GAGG;AACH,MAAa,iBAAkB,SAAQ,2DAA4B;IACjE,YAAY,IAAa,EAAE,YAAqB,EAAE,QAAiB,EAAE,kBAA2B;QAC9F,MAAM,WAAW,GAAG,QAAQ,CAAC;QAC7B,KAAK,CAAC;YACJ,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW;YAC/B,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,qBAAS,CAAC,YAAY,CAAC,kBAAkB,CAAC,4BAA4B,CAAC;YACnH,kBAAkB,EAAE,kBAAkB,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,iBAAiB;YAC/E,QAAQ;SACT,CAAC,CAAC;IACL,CAAC;IAED,IAAW,qBAAqB,KAAmB,OAAO,gCAAY,CAAC,MAAM,CAAC,CAAC,CAAC;IAChF;;OAEG;IACH,IAAW,YAAY,KAAa,OAAO,QAAQ,CAAC,CAAC,CAAC;IAEtD,IAAW,UAAU,KAAa,OAAO,qBAAS,CAAC,YAAY,CAAC,kBAAkB,CAAC,yCAAyC,CAAC,CAAC,CAAC,CAAC;CACjI;AAlBD,8CAkBC;AAED;;;GAGG;AACH,MAAa,uBAAwB,SAAQ,2DAA4B;IACvE,YAAY,IAAa,EAAE,YAAqB,EAAE,QAAiB,EAAE,kBAA2B;QAC9F,MAAM,WAAW,GAAG,cAAc,CAAC;QACnC,KAAK,CAAC;YACJ,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,IAAI,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yC,CAAC,CAAC,CAAC,CAAC;CACjI;AAnBD,oEAmBC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Properties\n */\n\nimport { IModelApp } from \"../IModelApp\";\nimport { QuantityType } from \"../quantity-formatting/QuantityFormatter\";\nimport { FormattedQuantityDescription } from \"./FormattedQuantityDescription\";\n\n/**\n * Length Property Description\n * @beta\n */\nexport class LengthDescription extends FormattedQuantityDescription {\n constructor(name?: string, displayLabel?: string, iconSpec?: string, kindOfQuantityName?: string) {\n const defaultName = \"length\";\n super({\n name: name ? name : defaultName,\n displayLabel: displayLabel ? displayLabel : IModelApp.localization.getLocalizedString(\"iModelJs:Properties.Length\"),\n kindOfQuantityName: kindOfQuantityName ? kindOfQuantityName : \"AecUnits.LENGTH\",\n iconSpec,\n });\n }\n\n public get formatterQuantityType(): QuantityType { return QuantityType.Length; }\n /**\n * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.\n */\n public get quantityType(): string { return \"Length\"; }\n\n public get parseError(): string { return IModelApp.localization.getLocalizedString(\"iModelJs:Properties.UnableToParseLength\"); }\n}\n\n/**\n * Survey Length Property Description\n * @beta\n */\nexport class SurveyLengthDescription extends FormattedQuantityDescription {\n constructor(name?: string, displayLabel?: string, iconSpec?: string, kindOfQuantityName?: string) {\n const defaultName = \"surveyLength\";\n super({\n name: name ? name : defaultName,\n displayLabel: displayLabel ? displayLabel : IModelApp.localization.getLocalizedString(\"iModelJs:Properties.Length\"),\n kindOfQuantityName: kindOfQuantityName ? kindOfQuantityName : \"AecUnits.LENGTH\",\n iconSpec,\n });\n }\n\n public get formatterQuantityType(): QuantityType { return QuantityType.LengthSurvey; }\n /**\n * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.\n */\n public get quantityType(): string { return \"LengthSurvey\"; }\n\n public get parseError(): string { return IModelApp.localization.getLocalizedString(\"iModelJs:Properties.UnableToParseLength\"); }\n}\n\n/**\n * Engineering Length Property Description\n * @beta\n */\nexport class EngineeringLengthDescription extends FormattedQuantityDescription {\n\n constructor(name?: string, displayLabel?: string, iconSpec?: string, kindOfQuantityName?: string) {\n const defaultName = \"engineeringLength\";\n super({\n name: name ? name : defaultName,\n displayLabel: displayLabel ? displayLabel : IModelApp.localization.getLocalizedString(\"iModelJs:Properties.Length\"),\n kindOfQuantityName: kindOfQuantityName ? kindOfQuantityName : \"AecUnits.LENGTH\",\n iconSpec,\n });\n }\n\n public get formatterQuantityType(): QuantityType { return QuantityType.LengthEngineering; }\n /**\n * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use the `kindOfQuantityName` property instead.\n */\n public get quantityType(): string { return \"LengthEngineering\"; }\n\n public get parseError(): string { return IModelApp.localization.getLocalizedString(\"iModelJs:Properties.UnableToParseLength\"); }\n}\n"]}
|
|
@@ -34,7 +34,7 @@ export declare class Decorations implements Disposable {
|
|
|
34
34
|
get viewOverlay(): GraphicList | undefined;
|
|
35
35
|
set viewOverlay(viewOverlay: GraphicList | undefined);
|
|
36
36
|
[Symbol.dispose](): void;
|
|
37
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
37
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
38
38
|
dispose(): void;
|
|
39
39
|
}
|
|
40
40
|
//# sourceMappingURL=Decorations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Decorations.d.ts","sourceRoot":"","sources":["../../../src/render/Decorations.ts"],"names":[],"mappings":"AAIA;;GAEG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAE7D;;;GAGG;AACH,qBAAa,WAAY,YAA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= undefined;
|
|
66
66
|
this.normal = undefined;
|
|
67
67
|
}
|
|
68
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
68
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
69
69
|
dispose() {
|
|
70
70
|
this[Symbol.dispose]();
|
|
71
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Decorations.js","sourceRoot":"","sources":["../../../src/render/Decorations.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAA4D;AAI5D;;;GAGG;AACH,MAAa,WAAW;IACd,OAAO,CAAiB;IACxB,eAAe,CAAiB,CAAC,6FAA6F;IAC9H,OAAO,CAAe,CAAO,0CAA0C;IACvE,MAAM,CAAe,CAAQ,4DAA4D;IACzF,aAAa,CAAe,CAAC,qCAAqC;IAClE,YAAY,CAAe,CAAE,oCAAoC;IAElE,iBAAiB,CAAwB;IAEhD,uHAAuH;IACvH,IAAW,MAAM,KAAgC,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IACvE,IAAW,MAAM,CAAC,MAAiC;QACjD,IAAA,sBAAO,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACxB,CAAC;IAED,kGAAkG;IAClG,IAAW,cAAc,KAAgC,OAAO,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IACvF,IAAW,cAAc,CAAC,cAAyC;QACjE,IAAA,sBAAO,EAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC9B,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC;IACxC,CAAC;IAED,uFAAuF;IACvF,IAAW,MAAM,KAA8B,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IACrE,IAAW,MAAM,CAAC,MAA+B;QAC/C,IAAA,2BAAY,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3B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IAAI,CAAC,aAAa,GAAG,YAAY,CAAC;IACpC,CAAC;IAED,uFAAuF;IACvF,IAAW,WAAW,KAA8B,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IAC/E,IAAW,WAAW,CAAC,WAAoC;QACzD,IAAA,2BAAY,EAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAChC,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;IAClC,CAAC;IAEM,CAAC,MAAM,CAAC,OAAO,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC;QACxB,IAAI,CAAC,cAAc,GAAG,SAAS,CAAC;QAChC,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC;QACvB,IAAI,CAAC,YAAY,GAAG,SAAS,CAAC;QAC9B,IAAI,CAAC,WAAW,GAAG,SAAS,CAAC;QAC7B,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC;IAC1B,CAAC;IAED,qGAAqG;IAC9F,OAAO;QACZ,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC;IACzB,CAAC;CACF;AAjED,kCAiEC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Rendering\n */\n\nimport { dispose, disposeArray } from \"@itwin/core-bentley\";\nimport { CanvasDecorationList } from \"./CanvasDecoration\";\nimport { GraphicList, RenderGraphic } from \"./RenderGraphic\";\n\n/** A set of [[RenderGraphic]]s and [[CanvasDecoration]]s produced by [[Tool]]s and [[Decorator]]s, used to decorate the contents of a [[Viewport]].\n * @public\n * @extensions\n */\nexport class Decorations implements Disposable {\n private _skyBox?: RenderGraphic;\n private _viewBackground?: RenderGraphic; // drawn first, view units, with no zbuffer, smooth shading, default lighting. e.g., a skybox\n private _normal?: GraphicList; // drawn with zbuffer, with scene lighting\n private _world?: GraphicList; // drawn with zbuffer, with default lighting, smooth shading\n private _worldOverlay?: GraphicList; // drawn in overlay mode, world units\n private _viewOverlay?: GraphicList; // drawn in overlay mode, view units\n\n public canvasDecorations?: CanvasDecorationList;\n\n /** A view decoration created from a [[SkyBox]] rendered behind all other geometry to provide environmental context. */\n public get skyBox(): RenderGraphic | undefined { return this._skyBox; }\n public set skyBox(skyBox: RenderGraphic | undefined) {\n dispose(this._skyBox);\n this._skyBox = skyBox;\n }\n\n /** A view decoration drawn as the background of the view. @see [[GraphicType.ViewBackground]]. */\n public get viewBackground(): RenderGraphic | undefined { return this._viewBackground; }\n public set viewBackground(viewBackground: RenderGraphic | undefined) {\n dispose(this._viewBackground);\n this._viewBackground = viewBackground;\n }\n\n /** Decorations drawn as if they were part of the scene. @see [[GraphicType.Scene]]. */\n public get normal(): GraphicList | undefined { return this._normal; }\n public set normal(normal: GraphicList | undefined) {\n disposeArray(this._normal);\n this._normal = normal;\n }\n\n /** Decorations drawn as if they were part of the world, but ignoring the view's [[ViewFlags]]. @see [[GraphicType.WorldDecoration]]. */\n public get world(): GraphicList | undefined { return this._world; }\n public set world(world: GraphicList | undefined) {\n disposeArray(this._world);\n this._world = world;\n }\n\n /** Overlay decorations drawn in world coordinates. @see [[GraphicType.WorldOverlay]]. */\n public get worldOverlay(): GraphicList | undefined { return this._worldOverlay; }\n public set worldOverlay(worldOverlay: GraphicList | undefined) {\n disposeArray(this._worldOverlay);\n this._worldOverlay = worldOverlay;\n }\n\n /** Overlay decorations drawn in view coordinates. @see [[GraphicType.ViewOverlay]]. */\n public get viewOverlay(): GraphicList | undefined { return this._viewOverlay; }\n public set viewOverlay(viewOverlay: GraphicList | undefined) {\n disposeArray(this._viewOverlay);\n this._viewOverlay = viewOverlay;\n }\n\n public [Symbol.dispose]() {\n this.skyBox = undefined;\n this.viewBackground = undefined;\n this.world = undefined;\n this.worldOverlay = undefined;\n this.viewOverlay = undefined;\n this.normal = undefined;\n }\n\n /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */\n public dispose() {\n this[Symbol.dispose]();\n }\n}\n"]}
|
|
@@ -73,7 +73,7 @@ export declare class GraphicBranch implements Disposable {
|
|
|
73
73
|
setViewFlagOverrides(ovr: ViewFlagOverrides): void;
|
|
74
74
|
/** Disposes of all graphics in this branch, if and only if [[ownsEntries]] is true. */
|
|
75
75
|
[Symbol.dispose](): void;
|
|
76
|
-
/** @deprecated in 5.0 Use [Symbol.dispose] instead. */
|
|
76
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
77
77
|
dispose(): void;
|
|
78
78
|
/** Returns true if this branch contains no graphics. */
|
|
79
79
|
get isEmpty(): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GraphicBranch.d.ts","sourceRoot":"","sources":["../../../src/render/GraphicBranch.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EACL,yBAAyB,EAAE,UAAU,EAAE,2BAA2B,EAAE,iBAAiB,EAAE,SAAS,EACjG,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAE,oBAAo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** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */
|
|
85
85
|
dispose() {
|
|
86
86
|
this[Symbol.dispose]();
|
|
87
87
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GraphicBranch.js","sourceRoot":"","sources":["../../../src/render/GraphicBranch.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAA+D;AAe/D;;;;;;;GAOG;AACH,MAAa,aAAa;IACxB,qCAAqC;IACrB,OAAO,GAAoB,EAAE,CAAC;IAC9C,6GAA6G;IAC7F,WAAW,CAAU;IACrC;;OAEG;IACI,iBAAiB,GAAsB,EAAE,CAAC;IACjD;;OAEG;IACI,2BAA2B,CAA+B;IACjE,gBAAgB;IACT,iBAAiB,CAAW;IACnC,gFAAgF;IACzE,kBAAkB,CAA8B;IACvD;;OAEG;IACI,WAAW,CAAU;IAC5B;;OAEG;IACI,eAAe,CAA4B;IAElD;;;;;;;;OAQG;IACI,WAAW,CAAU;IAE5B;;OAEG;IACH,YAAmB,cAAuB,KAAK;QAC7C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IAED,oCAAoC;IAC7B,GAAG,CAAC,OAAsB;QAC/B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED;;;OAGG;IACI,YAAY,CAAC,KAAgB;QAClC,OAAO,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAChD,CAAC;IAED,uFAAuF;IAChF,YAAY,CAAC,KAAgB;QAClC,IAAI,CAAC,iBAAiB,GAAG,EAAE,GAAG,KAAK,EAAE,CAAC;IACxC,CAAC;IAED,oCAAoC;IAC7B,oBAAoB,CAAC,GAAsB;QAChD,IAAI,CAAC,iBAAiB,GAAG,EAAE,GAAG,GAAG,EAAE,CAAC;IACtC,CAAC;IAED,uFAAuF;IAChF,CAAC,MAAM,CAAC,OAAO,CAAC;QACrB,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,
|
|
1
|
+
{"version":3,"file":"GraphicBranch.js","sourceRoot":"","sources":["../../../src/render/GraphicBranch.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAEH,sDAA+D;AAe/D;;;;;;;GAOG;AACH,MAAa,aAAa;IACxB,qCAAqC;IACrB,OAAO,GAAoB,EAAE,CAAC;IAC9C,6GAA6G;IAC7F,WAAW,CAAU;IACrC;;OAEG;IACI,iBAAiB,GAAsB,EAAE,CAAC;IACjD;;OAEG;IACI,2BAA2B,CAA+B;IACjE,gBAAgB;IACT,iBAAiB,CAAW;IACnC,gFAAgF;IACzE,kBAAkB,CAA8B;IACvD;;OAEG;IACI,WAAW,CAAU;IAC5B;;OAEG;IACI,eAAe,CAA4B;IAElD;;;;;;;;OAQG;IACI,WAAW,CAAU;IAE5B;;OAEG;IACH,YAAmB,cAAuB,KAAK;QAC7C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IAED,oCAAoC;IAC7B,GAAG,CAAC,OAAsB;QAC/B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC7B,CAAC;IAED;;;OAGG;IACI,YAAY,CAAC,KAAgB;QAClC,OAAO,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAChD,CAAC;IAED,uFAAuF;IAChF,YAAY,CAAC,KAAgB;QAClC,IAAI,CAAC,iBAAiB,GAAG,EAAE,GAAG,KAAK,EAAE,CAAC;IACxC,CAAC;IAED,oCAAoC;IAC7B,oBAAoB,CAAC,GAAsB;QAChD,IAAI,CAAC,iBAAiB,GAAG,EAAE,GAAG,GAAG,EAAE,CAAC;IACtC,CAAC;IAED,uFAAuF;IAChF,CAAC,MAAM,CAAC,OAAO,CAAC;QACrB,IAAI,CAAC,KAAK,EAAE,CAAC;IACf,CAAC;IAED,qGAAqG;IAC9F,OAAO;QACZ,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC;IACzB,CAAC;IAED,wDAAwD;IACxD,IAAW,OAAO;QAChB,OAAO,CAAC,KAAK,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;IACnC,CAAC;IAED,sIAAsI;IAC/H,KAAK;QACV,IAAI,IAAI,CAAC,WAAW;YAClB,IAAA,2BAAY,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;;YAE3B,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;IAC5B,CAAC;IAED,gBAAgB;IACT,iBAAiB,CAAC,KAA8B;QACrD,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,OAAO;YAC9B,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC;CACF;AA/FD,sCA+FC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Rendering\n */\n\nimport { disposeArray, Id64String } from \"@itwin/core-bentley\";\nimport {\n FeatureAppearanceProvider, HiddenLine, RealityModelDisplaySettings, ViewFlagOverrides, ViewFlags,\n} from \"@itwin/core-common\";\nimport { IModelConnection } from \"../IModelConnection\";\nimport { FeatureSymbology } from \"./FeatureSymbology\";\nimport { RenderClipVolume } from \"./RenderClipVolume\";\nimport { RenderGraphic } from \"./RenderGraphic\";\nimport { RenderMemory } from \"./RenderMemory\";\nimport { RenderPlanarClassifier } from \"../internal/render/RenderPlanarClassifier\";\nimport { RenderTextureDrape } from \"../internal/render/RenderTextureDrape\";\nimport { Range3d, Transform } from \"@itwin/core-geometry\";\nimport { AnimationNodeId } from \"../common/internal/render/AnimationNodeId\";\nimport { GraphicBranchFrustum } from \"../internal/render/GraphicBranchFrustum\";\n\n/**\n * A node in a scene graph. The branch itself is not renderable. Instead it contains a list of RenderGraphics,\n * and a transform, symbology overrides, and clip volume which are to be applied when rendering them.\n * Branches can be nested to build an arbitrarily-complex scene graph.\n * @see [[RenderSystem.createBranch]]\n * @public\n * @extensions\n */\nexport class GraphicBranch implements Disposable /* , RenderMemory.Consumer */ {\n /** The child nodes of this branch */\n public readonly entries: RenderGraphic[] = [];\n /** If true, when the branch is disposed of, the RenderGraphics in its entries array will also be disposed */\n public readonly ownsEntries: boolean;\n /** Selectively overrides the view's [ViewFlags]($common) while drawing graphics within this branch. The default overrides nothing.\n * @see [[setViewFlagOverrides]].\n */\n public viewFlagOverrides: ViewFlagOverrides = {};\n /** Controls how reality models are displayed within this branch.\n * @beta\n */\n public realityModelDisplaySettings?: RealityModelDisplaySettings;\n /** @internal */\n public realityModelRange?: Range3d;\n /** Optional symbology overrides to be applied to all graphics in this branch */\n public symbologyOverrides?: FeatureSymbology.Overrides;\n /** Optional animation branch Id that incorporates the model Id and, for element timelines, the batch Id.\n * @internal\n */\n public animationId?: string;\n /** Identifies the node in the [RenderSchedule.Script]($backend) with which this branch is associated.\n * @internal\n */\n public animationNodeId?: AnimationNodeId | number;\n\n /** Identifies the \"group\" to which this branch belongs.\n * Groups represent cross-cutting subsets of a tile tree's contents.\n * For example, if a tile tree contains geometry from multiple models, each model (or smaller groups of multiple models) could be considered a group.\n * The top-level branches containing graphics from multiple tiles will each specify the group they represent, and the child branches within each\n * tile will likewise specify the group to which they belong.\n * When drawing, only the graphics within a tile that correlate with the current group will be drawn.\n * Groups cannot nest.\n * @internal\n */\n public groupNodeId?: number;\n\n /** Constructor\n * @param ownsEntries If true, when this branch is [[dispose]]d, all of the [[RenderGraphic]]s it contains will also be disposed.\n */\n public constructor(ownsEntries: boolean = false) {\n this.ownsEntries = ownsEntries;\n }\n\n /** Add a graphic to this branch. */\n public add(graphic: RenderGraphic): void {\n this.entries.push(graphic);\n }\n\n /** Compute the view flags that result from applying this branch's [[viewFlagOverrides]] to the input flags.\n * @param flags The input view flags, e.g., from the view's [[DisplayStyleState]].\n * @returns The result of applying [[viewFlagOverrides]] to `flags`.\n */\n public getViewFlags(flags: ViewFlags): ViewFlags {\n return flags.override(this.viewFlagOverrides);\n }\n\n /** Set [[viewFlagOverrides]] to override **all** ViewFlags as specified by `flags`. */\n public setViewFlags(flags: ViewFlags): void {\n this.viewFlagOverrides = { ...flags };\n }\n\n /** Change [[viewFlagOverrides]]. */\n public setViewFlagOverrides(ovr: ViewFlagOverrides): void {\n this.viewFlagOverrides = { ...ovr };\n }\n\n /** Disposes of all graphics in this branch, if and only if [[ownsEntries]] is true. */\n public [Symbol.dispose]() {\n this.clear();\n }\n\n /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Use [Symbol.dispose] instead. */\n public dispose() {\n this[Symbol.dispose]();\n }\n\n /** Returns true if this branch contains no graphics. */\n public get isEmpty(): boolean {\n return 0 === this.entries.length;\n }\n\n /** Empties the list of [[RenderGraphic]]s contained in this branch, and if the [[ownsEntries]] flag is set, also disposes of them. */\n public clear(): void {\n if (this.ownsEntries)\n disposeArray(this.entries);\n else\n this.entries.length = 0;\n }\n\n /** @internal */\n public collectStatistics(stats: RenderMemory.Statistics): void {\n for (const entry of this.entries)\n entry.collectStatistics(stats);\n }\n}\n\n/** Options passed to [[RenderSystem.createGraphicBranch]].\n * @public\n * @extensions\n */\nexport interface GraphicBranchOptions {\n /** Clip applied to the graphics in the branch. */\n clipVolume?: RenderClipVolume;\n /** @internal */\n classifierOrDrape?: RenderPlanarClassifier | RenderTextureDrape;\n /** Optionally replaces the view's hidden line settings when drawing the branch. */\n hline?: HiddenLine.Settings;\n /** The iModel from which the graphics originate, if different than that associated with the view. */\n iModel?: IModelConnection;\n /** An optional transform from the coordinate system of [[iModel]] to those of a different [[IModelConnection]].\n * This is used by [[AccuSnap]] when displaying one iModel in the context of another iModel (i.e., the iModel associated\n * with the [[Viewport]]).\n */\n transformFromIModel?: Transform;\n /** @internal */\n frustum?: GraphicBranchFrustum;\n /** Supplements the view's [[FeatureSymbology.Overrides]] for graphics in the branch. */\n appearanceProvider?: FeatureAppearanceProvider;\n /** @internal Secondary planar classifiers (map layers) */\n secondaryClassifiers?: Map<number, RenderPlanarClassifier>;\n /** The Id of the [ViewAttachment]($backend) from which this branch's graphics originated.\n * @internal\n */\n viewAttachmentId?: Id64String;\n /** @internal */\n inSectionDrawingAttachment?: boolean;\n /** If true, the view's [DisplayStyleSettings.clipStyle]($common) will be disabled for this branch.\n * No [ClipStyle.insideColor]($common), [ClipStyle.outsideColor]($common), or [ClipStyle.intersectionStyle]($common) will be applied.\n */\n disableClipStyle?: true;\n}\n"]}
|
|
@@ -13,7 +13,7 @@ import { Range3d } from "@itwin/core-geometry";
|
|
|
13
13
|
*/
|
|
14
14
|
export declare abstract class RenderGraphic implements Disposable {
|
|
15
15
|
[Symbol.dispose](): void;
|
|
16
|
-
/** @deprecated in 5.0 Will be made protected in a future release. Use [Symbol.dispose] instead. */
|
|
16
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Will be made protected in a future release. Use [Symbol.dispose] instead. */
|
|
17
17
|
abstract dispose(): void;
|
|
18
18
|
/** @internal */
|
|
19
19
|
abstract collectStatistics(stats: RenderMemory.Statistics): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderGraphic.d.ts","sourceRoot":"","sources":["../../../src/render/RenderGraphic.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C;;;;;;;GAOG;AACH,8BAAsB,aAAc,YAAW,UAAU;IAChD,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,IAAI;IAI/B,
|
|
1
|
+
{"version":3,"file":"RenderGraphic.d.ts","sourceRoot":"","sources":["../../../src/render/RenderGraphic.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,gBAA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AC;IACjE,gBAAgB;IACT,iBAAiB,CAAC,KAA8B,IAAU,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACzG,gBAAgB;IACA,UAAU,CAAC,KAAc,IAAU,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;CACrF;AAXD,gDAWC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Rendering\n */\n\nimport { RenderMemory } from \"./RenderMemory\";\nimport { Range3d } from \"@itwin/core-geometry\";\n\n/** Abstract representation of an object which can be rendered by a [[RenderSystem]].\n * Two broad classes of graphics exist:\n * - \"Scene\" graphics generated on the back-end to represent the contents of the models displayed in a [[Viewport]]; and\n * - [[Decorations]] created on the front-end to be rendered along with the scene.\n * The latter are produced using a [[GraphicBuilder]].\n * @public\n * @extensions\n */\nexport abstract class RenderGraphic implements Disposable /* , RenderMemory.Consumer */ {\n public [Symbol.dispose](): void {\n this.dispose(); // eslint-disable-line @typescript-eslint/no-deprecated\n }\n\n /** @deprecated in 5.0 Will be made protected in a future release. Use [Symbol.dispose] instead. */\n public abstract dispose(): void; // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** @internal */\n public abstract collectStatistics(stats: RenderMemory.Statistics): void;\n\n /** Extend `range` to include the bounding box of this graphic, including any child graphics.\n * @internal\n */\n public abstract unionRange(range: Range3d): void;\n}\n\n/** A graphic that owns another graphic. By default, every time a [[Viewport]]'s decorations or dynamics graphics change, the previous graphics are disposed of.\n * Use a GraphicOwner to prevent disposal of a graphic that you want to reuse. The graphic owner can be added to decorations and list of dynamics just like any other graphic, but the graphic it owns\n * will never be automatically disposed of. Instead, you assume responsibility for disposing of the owned graphic by calling [[disposeGraphic]] when the owned graphic is no longer in use. Failure\n * to do so will result in leaks of graphics memory or other webgl resources.\n * @public\n * @extensions\n */\nexport abstract class RenderGraphicOwner extends RenderGraphic {\n /** The owned graphic. */\n public abstract get graphic(): RenderGraphic;\n /** Does nothing. To dispose of the owned graphic, use [[disposeGraphic]]. */\n public dispose(): void { }\n /** Disposes of the owned graphic. */\n public disposeGraphic(): void { this.graphic[Symbol.dispose](); }\n /** @internal */\n public collectStatistics(stats: RenderMemory.Statistics): void { this.graphic.collectStatistics(stats); }\n /** @internal */\n public override unionRange(range: Range3d): void { this.graphic.unionRange(range); }\n}\n\n/** An array of [[RenderGraphic]]s.\n * @public\n * @extensions\n */\nexport type GraphicList = RenderGraphic[];\n"]}
|
|
1
|
+
{"version":3,"file":"RenderGraphic.js","sourceRoot":"","sources":["../../../src/render/RenderGraphic.ts"],"names":[],"mappings":";AAAA;;;+FAG+F;AAC/F;;GAEG;;;AAKH;;;;;;;GAOG;AACH,MAAsB,aAAa;IAC1B,CAAC,MAAM,CAAC,OAAO,CAAC;QACrB,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,uDAAuD;IACzE,CAAC;CAYF;AAfD,sCAeC;AAED;;;;;;GAMG;AACH,MAAsB,kBAAmB,SAAQ,aAAa;IAG5D,6EAA6E;IACtE,OAAO,KAAW,CAAC;IAC1B,qCAAqC;IAC9B,cAAc,KAAW,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC;IACjE,gBAAgB;IACT,iBAAiB,CAAC,KAA8B,IAAU,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACzG,gBAAgB;IACA,UAAU,CAAC,KAAc,IAAU,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;CACrF;AAXD,gDAWC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n/** @packageDocumentation\n * @module Rendering\n */\n\nimport { RenderMemory } from \"./RenderMemory\";\nimport { Range3d } from \"@itwin/core-geometry\";\n\n/** Abstract representation of an object which can be rendered by a [[RenderSystem]].\n * Two broad classes of graphics exist:\n * - \"Scene\" graphics generated on the back-end to represent the contents of the models displayed in a [[Viewport]]; and\n * - [[Decorations]] created on the front-end to be rendered along with the scene.\n * The latter are produced using a [[GraphicBuilder]].\n * @public\n * @extensions\n */\nexport abstract class RenderGraphic implements Disposable /* , RenderMemory.Consumer */ {\n public [Symbol.dispose](): void {\n this.dispose(); // eslint-disable-line @typescript-eslint/no-deprecated\n }\n\n /** @deprecated in 5.0 - will not be removed until after 2026-06-13. Will be made protected in a future release. Use [Symbol.dispose] instead. */\n public abstract dispose(): void; // eslint-disable-line @typescript-eslint/no-deprecated\n\n /** @internal */\n public abstract collectStatistics(stats: RenderMemory.Statistics): void;\n\n /** Extend `range` to include the bounding box of this graphic, including any child graphics.\n * @internal\n */\n public abstract unionRange(range: Range3d): void;\n}\n\n/** A graphic that owns another graphic. By default, every time a [[Viewport]]'s decorations or dynamics graphics change, the previous graphics are disposed of.\n * Use a GraphicOwner to prevent disposal of a graphic that you want to reuse. The graphic owner can be added to decorations and list of dynamics just like any other graphic, but the graphic it owns\n * will never be automatically disposed of. Instead, you assume responsibility for disposing of the owned graphic by calling [[disposeGraphic]] when the owned graphic is no longer in use. Failure\n * to do so will result in leaks of graphics memory or other webgl resources.\n * @public\n * @extensions\n */\nexport abstract class RenderGraphicOwner extends RenderGraphic {\n /** The owned graphic. */\n public abstract get graphic(): RenderGraphic;\n /** Does nothing. To dispose of the owned graphic, use [[disposeGraphic]]. */\n public dispose(): void { }\n /** Disposes of the owned graphic. */\n public disposeGraphic(): void { this.graphic[Symbol.dispose](); }\n /** @internal */\n public collectStatistics(stats: RenderMemory.Statistics): void { this.graphic.collectStatistics(stats); }\n /** @internal */\n public override unionRange(range: Range3d): void { this.graphic.unionRange(range); }\n}\n\n/** An array of [[RenderGraphic]]s.\n * @public\n * @extensions\n */\nexport type GraphicList = RenderGraphic[];\n"]}
|
|
@@ -135,7 +135,7 @@ export declare abstract class RenderSystem implements Disposable {
|
|
|
135
135
|
/** @internal */
|
|
136
136
|
abstract get isValid(): boolean;
|
|
137
137
|
[Symbol.dispose](): void;
|
|
138
|
-
/** @deprecated in 5.0 Will be made protected in a future release. Use [Symbol.dispose] instead. */
|
|
138
|
+
/** @deprecated in 5.0 - will not be removed until after 2026-06-13. Will be made protected in a future release. Use [Symbol.dispose] instead. */
|
|
139
139
|
abstract dispose(): void;
|
|
140
140
|
/** The maximum permitted width or height of a texture supported by this render system. */
|
|
141
141
|
get maxTextureSize(): number;
|
|
@@ -462,7 +462,7 @@ export declare namespace RenderSystem {
|
|
|
462
462
|
/** Previously, this property dictated whether to attempt to use a WebGL 2 rendering context before falling back to WebGL 1.
|
|
463
463
|
* WebGL 1 is no longer supported, so this property is now ignored.
|
|
464
464
|
* @public
|
|
465
|
-
* @deprecated in 4.x -
|
|
465
|
+
* @deprecated in 4.x - will not be removed until after 2026-06-13. WebGL 1 is no longer supported.
|
|
466
466
|
*/
|
|
467
467
|
useWebGL2?: boolean;
|
|
468
468
|
/** If true, plan projection models will be rendered using [PlanProjectionSettings]($common) defined by the [[DisplayStyle3dState]].
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderSystem.d.ts","sourceRoot":"","sources":["../../../src/render/RenderSystem.ts"],"names":[],"mappings":"AAIA;;GAEG;AAEH,OAAO,EAA4B,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC3E,OAAO,EACL,QAAQ,EAAc,mBAAmB,EAA6C,OAAO,EAAE,QAAQ,EAA4B,iBAAiB,EAC1H,kBAAkB,EAA2B,kBAAkB,EAAE,cAAc,EAAE,aAAa,EAAE,mBAAmB,EAC9I,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAW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