@itwin/frontend-devtools 4.0.0-dev.7 → 4.0.0-dev.72
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 +41 -1
- package/lib/cjs/ClipboardUtilities.d.ts +8 -8
- package/lib/cjs/ClipboardUtilities.js +26 -26
- package/lib/cjs/FrontEndDevTools.d.ts +19 -19
- package/lib/cjs/FrontEndDevTools.js +221 -221
- package/lib/cjs/FrontEndDevTools.js.map +1 -1
- package/lib/cjs/effects/Convolution.d.ts +68 -68
- package/lib/cjs/effects/Convolution.js +148 -148
- package/lib/cjs/effects/Convolution.js.map +1 -1
- package/lib/cjs/effects/EffectTools.d.ts +33 -33
- package/lib/cjs/effects/EffectTools.js +67 -68
- package/lib/cjs/effects/EffectTools.js.map +1 -1
- package/lib/cjs/effects/Explosion.d.ts +12 -12
- package/lib/cjs/effects/Explosion.js +168 -168
- package/lib/cjs/effects/Explosion.js.map +1 -1
- package/lib/cjs/effects/FlipImage.d.ts +30 -30
- package/lib/cjs/effects/FlipImage.js +79 -79
- package/lib/cjs/effects/FlipImage.js.map +1 -1
- package/lib/cjs/effects/LensDistortion.d.ts +34 -34
- package/lib/cjs/effects/LensDistortion.js +88 -88
- package/lib/cjs/effects/LensDistortion.js.map +1 -1
- package/lib/cjs/effects/Random.d.ts +24 -24
- package/lib/cjs/effects/Random.js +49 -49
- package/lib/cjs/effects/Saturation.d.ts +30 -30
- package/lib/cjs/effects/Saturation.js +59 -59
- package/lib/cjs/effects/Saturation.js.map +1 -1
- package/lib/cjs/effects/Snow.d.ts +76 -76
- package/lib/cjs/effects/Snow.js +187 -187
- package/lib/cjs/effects/Snow.js.map +1 -1
- package/lib/cjs/effects/Vignette.d.ts +39 -39
- package/lib/cjs/effects/Vignette.js +79 -79
- package/lib/cjs/effects/Vignette.js.map +1 -1
- package/lib/cjs/frontend-devtools.d.ts +82 -82
- package/lib/cjs/frontend-devtools.js +102 -98
- package/lib/cjs/frontend-devtools.js.map +1 -1
- package/lib/cjs/tools/AnimationIntervalTool.d.ts +15 -15
- package/lib/cjs/tools/AnimationIntervalTool.js +30 -30
- package/lib/cjs/tools/AnimationIntervalTool.js.map +1 -1
- package/lib/cjs/tools/ChangeUnitsTool.d.ts +15 -15
- package/lib/cjs/tools/ChangeUnitsTool.js +41 -41
- package/lib/cjs/tools/ChangeUnitsTool.js.map +1 -1
- package/lib/cjs/tools/ClipTools.d.ts +67 -67
- package/lib/cjs/tools/ClipTools.js +161 -164
- package/lib/cjs/tools/ClipTools.js.map +1 -1
- package/lib/cjs/tools/DisplayStyleTools.d.ts +145 -145
- package/lib/cjs/tools/DisplayStyleTools.js +368 -370
- package/lib/cjs/tools/DisplayStyleTools.js.map +1 -1
- package/lib/cjs/tools/EmphasizeElementsTool.d.ts +60 -60
- package/lib/cjs/tools/EmphasizeElementsTool.js +154 -154
- package/lib/cjs/tools/EmphasizeElementsTool.js.map +1 -1
- package/lib/cjs/tools/FrustumDecoration.d.ts +57 -57
- package/lib/cjs/tools/FrustumDecoration.js +374 -374
- package/lib/cjs/tools/FrustumDecoration.js.map +1 -1
- package/lib/cjs/tools/InspectElementTool.d.ts +42 -42
- package/lib/cjs/tools/InspectElementTool.js +198 -198
- package/lib/cjs/tools/InspectElementTool.js.map +1 -1
- package/lib/cjs/tools/MapLayerTool.d.ts +264 -264
- package/lib/cjs/tools/MapLayerTool.js +507 -507
- package/lib/cjs/tools/MapLayerTool.js.map +1 -1
- package/lib/cjs/tools/MeasureTileLoadTime.d.ts +12 -12
- package/lib/cjs/tools/MeasureTileLoadTime.js +63 -63
- package/lib/cjs/tools/MeasureTileLoadTime.js.map +1 -1
- package/lib/cjs/tools/ModelAppearanceTools.d.ts +86 -86
- package/lib/cjs/tools/ModelAppearanceTools.js +183 -183
- package/lib/cjs/tools/ModelAppearanceTools.js.map +1 -1
- package/lib/cjs/tools/PlanProjectionTools.d.ts +40 -40
- package/lib/cjs/tools/PlanProjectionTools.js +149 -149
- package/lib/cjs/tools/PlanProjectionTools.js.map +1 -1
- package/lib/cjs/tools/PlanarMaskTools.d.ts +182 -182
- package/lib/cjs/tools/PlanarMaskTools.js +391 -393
- package/lib/cjs/tools/PlanarMaskTools.js.map +1 -1
- package/lib/cjs/tools/ProjectExtents.d.ts +41 -41
- package/lib/cjs/tools/ProjectExtents.js +110 -110
- package/lib/cjs/tools/ProjectExtents.js.map +1 -1
- package/lib/cjs/tools/RealityModelTools.d.ts +116 -116
- package/lib/cjs/tools/RealityModelTools.js +281 -281
- package/lib/cjs/tools/RealityModelTools.js.map +1 -1
- package/lib/cjs/tools/RealityTransitionTool.d.ts +25 -25
- package/lib/cjs/tools/RealityTransitionTool.js +115 -116
- package/lib/cjs/tools/RealityTransitionTool.js.map +1 -1
- package/lib/cjs/tools/RenderSystemTools.d.ts +38 -38
- package/lib/cjs/tools/RenderSystemTools.js +69 -70
- package/lib/cjs/tools/RenderSystemTools.js.map +1 -1
- package/lib/cjs/tools/RenderTargetTools.d.ts +107 -107
- package/lib/cjs/tools/RenderTargetTools.d.ts.map +1 -1
- package/lib/cjs/tools/RenderTargetTools.js +174 -174
- package/lib/cjs/tools/RenderTargetTools.js.map +1 -1
- package/lib/cjs/tools/ReportWebGLCompatibilityTool.d.ts +11 -11
- package/lib/cjs/tools/ReportWebGLCompatibilityTool.js +30 -30
- package/lib/cjs/tools/ReportWebGLCompatibilityTool.js.map +1 -1
- package/lib/cjs/tools/SavedViews.d.ts +46 -46
- package/lib/cjs/tools/SavedViews.js +136 -136
- package/lib/cjs/tools/SavedViews.js.map +1 -1
- package/lib/cjs/tools/ScheduleScriptTools.d.ts +37 -37
- package/lib/cjs/tools/ScheduleScriptTools.js +157 -159
- package/lib/cjs/tools/ScheduleScriptTools.js.map +1 -1
- package/lib/cjs/tools/SelectionTools.d.ts +28 -28
- package/lib/cjs/tools/SelectionTools.js +87 -87
- package/lib/cjs/tools/SelectionTools.js.map +1 -1
- package/lib/cjs/tools/SetGpuMemoryLimitTool.d.ts +15 -15
- package/lib/cjs/tools/SetGpuMemoryLimitTool.js +33 -33
- package/lib/cjs/tools/SetGpuMemoryLimitTool.js.map +1 -1
- package/lib/cjs/tools/SourceAspectIdTools.d.ts +40 -40
- package/lib/cjs/tools/SourceAspectIdTools.d.ts.map +1 -1
- package/lib/cjs/tools/SourceAspectIdTools.js +86 -86
- package/lib/cjs/tools/SourceAspectIdTools.js.map +1 -1
- package/lib/cjs/tools/TileRequestDecoration.d.ts +12 -12
- package/lib/cjs/tools/TileRequestDecoration.js +83 -83
- package/lib/cjs/tools/TileRequestDecoration.js.map +1 -1
- package/lib/cjs/tools/TileTreeBoundsDecoration.d.ts +11 -11
- package/lib/cjs/tools/TileTreeBoundsDecoration.js +74 -74
- package/lib/cjs/tools/TileTreeBoundsDecoration.js.map +1 -1
- package/lib/cjs/tools/ToolTipProvider.d.ts +15 -15
- package/lib/cjs/tools/ToolTipProvider.js +66 -66
- package/lib/cjs/tools/ToolTipProvider.js.map +1 -1
- package/lib/cjs/tools/ViewportTools.d.ts +218 -218
- package/lib/cjs/tools/ViewportTools.d.ts.map +1 -1
- package/lib/cjs/tools/ViewportTools.js +516 -516
- package/lib/cjs/tools/ViewportTools.js.map +1 -1
- package/lib/cjs/tools/parseArgs.d.ts +23 -23
- package/lib/cjs/tools/parseArgs.js +51 -51
- package/lib/cjs/tools/parseBoolean.d.ts +8 -8
- package/lib/cjs/tools/parseBoolean.js +26 -26
- package/lib/cjs/tools/parseToggle.d.ts +8 -8
- package/lib/cjs/tools/parseToggle.js +25 -25
- package/lib/cjs/ui/Button.d.ts +29 -29
- package/lib/cjs/ui/Button.d.ts.map +1 -1
- package/lib/cjs/ui/Button.js +26 -26
- package/lib/cjs/ui/CheckBox.d.ts +23 -23
- package/lib/cjs/ui/CheckBox.d.ts.map +1 -1
- package/lib/cjs/ui/CheckBox.js +27 -27
- package/lib/cjs/ui/ColorInput.d.ts +27 -27
- package/lib/cjs/ui/ColorInput.d.ts.map +1 -1
- package/lib/cjs/ui/ColorInput.js +53 -53
- package/lib/cjs/ui/ComboBox.d.ts +28 -28
- package/lib/cjs/ui/ComboBox.d.ts.map +1 -1
- package/lib/cjs/ui/ComboBox.js +42 -42
- package/lib/cjs/ui/DataList.d.ts +27 -27
- package/lib/cjs/ui/DataList.d.ts.map +1 -1
- package/lib/cjs/ui/DataList.js +39 -39
- package/lib/cjs/ui/NestedMenu.d.ts +19 -19
- package/lib/cjs/ui/NestedMenu.d.ts.map +1 -1
- package/lib/cjs/ui/NestedMenu.js +46 -46
- package/lib/cjs/ui/NumericInput.d.ts +35 -35
- package/lib/cjs/ui/NumericInput.d.ts.map +1 -1
- package/lib/cjs/ui/NumericInput.js +61 -61
- package/lib/cjs/ui/RadioBox.d.ts +29 -29
- package/lib/cjs/ui/RadioBox.d.ts.map +1 -1
- package/lib/cjs/ui/RadioBox.js +76 -76
- package/lib/cjs/ui/Slider.d.ts +28 -28
- package/lib/cjs/ui/Slider.d.ts.map +1 -1
- package/lib/cjs/ui/Slider.js +42 -42
- package/lib/cjs/ui/TextBox.d.ts +32 -32
- package/lib/cjs/ui/TextBox.d.ts.map +1 -1
- package/lib/cjs/ui/TextBox.js +56 -56
- package/lib/cjs/widgets/DiagnosticsPanel.d.ts +37 -37
- package/lib/cjs/widgets/DiagnosticsPanel.js +81 -81
- package/lib/cjs/widgets/FpsTracker.d.ts +19 -19
- package/lib/cjs/widgets/FpsTracker.js +56 -56
- package/lib/cjs/widgets/GpuProfiler.d.ts +16 -16
- package/lib/cjs/widgets/GpuProfiler.js +192 -192
- package/lib/cjs/widgets/KeyinField.d.ts +61 -61
- package/lib/cjs/widgets/KeyinField.js +186 -187
- package/lib/cjs/widgets/KeyinField.js.map +1 -1
- package/lib/cjs/widgets/MemoryTracker.d.ts +27 -27
- package/lib/cjs/widgets/MemoryTracker.js +242 -243
- package/lib/cjs/widgets/MemoryTracker.js.map +1 -1
- package/lib/cjs/widgets/RenderCommandBreakdown.d.ts +15 -15
- package/lib/cjs/widgets/RenderCommandBreakdown.js +67 -68
- package/lib/cjs/widgets/RenderCommandBreakdown.js.map +1 -1
- package/lib/cjs/widgets/TileMemoryBreakdown.d.ts +30 -30
- package/lib/cjs/widgets/TileMemoryBreakdown.js +203 -204
- package/lib/cjs/widgets/TileMemoryBreakdown.js.map +1 -1
- package/lib/cjs/widgets/TileStatisticsTracker.d.ts +21 -21
- package/lib/cjs/widgets/TileStatisticsTracker.d.ts.map +1 -1
- package/lib/cjs/widgets/TileStatisticsTracker.js +144 -142
- package/lib/cjs/widgets/TileStatisticsTracker.js.map +1 -1
- package/lib/cjs/widgets/ToolSettingsTracker.d.ts +9 -9
- package/lib/cjs/widgets/ToolSettingsTracker.js +211 -211
- package/lib/cjs/widgets/ToolSettingsTracker.js.map +1 -1
- package/lib/esm/ClipboardUtilities.d.ts +8 -8
- package/lib/esm/ClipboardUtilities.js +22 -22
- package/lib/esm/FrontEndDevTools.d.ts +19 -19
- package/lib/esm/FrontEndDevTools.js +218 -217
- package/lib/esm/FrontEndDevTools.js.map +1 -1
- package/lib/esm/effects/Convolution.d.ts +68 -68
- package/lib/esm/effects/Convolution.js +144 -138
- package/lib/esm/effects/Convolution.js.map +1 -1
- package/lib/esm/effects/EffectTools.d.ts +33 -33
- package/lib/esm/effects/EffectTools.js +63 -62
- package/lib/esm/effects/EffectTools.js.map +1 -1
- package/lib/esm/effects/Explosion.d.ts +12 -12
- package/lib/esm/effects/Explosion.js +165 -164
- package/lib/esm/effects/Explosion.js.map +1 -1
- package/lib/esm/effects/FlipImage.d.ts +30 -30
- package/lib/esm/effects/FlipImage.js +76 -74
- package/lib/esm/effects/FlipImage.js.map +1 -1
- package/lib/esm/effects/LensDistortion.d.ts +34 -34
- package/lib/esm/effects/LensDistortion.js +85 -83
- package/lib/esm/effects/LensDistortion.js.map +1 -1
- package/lib/esm/effects/Random.d.ts +24 -24
- package/lib/esm/effects/Random.js +41 -41
- package/lib/esm/effects/Saturation.d.ts +30 -30
- package/lib/esm/effects/Saturation.js +56 -54
- package/lib/esm/effects/Saturation.js.map +1 -1
- package/lib/esm/effects/Snow.d.ts +76 -76
- package/lib/esm/effects/Snow.js +184 -182
- package/lib/esm/effects/Snow.js.map +1 -1
- package/lib/esm/effects/Vignette.d.ts +39 -39
- package/lib/esm/effects/Vignette.js +76 -74
- package/lib/esm/effects/Vignette.js.map +1 -1
- package/lib/esm/frontend-devtools.d.ts +82 -82
- package/lib/esm/frontend-devtools.js +86 -86
- package/lib/esm/tools/AnimationIntervalTool.d.ts +15 -15
- package/lib/esm/tools/AnimationIntervalTool.js +27 -26
- package/lib/esm/tools/AnimationIntervalTool.js.map +1 -1
- package/lib/esm/tools/ChangeUnitsTool.d.ts +15 -15
- package/lib/esm/tools/ChangeUnitsTool.js +38 -37
- package/lib/esm/tools/ChangeUnitsTool.js.map +1 -1
- package/lib/esm/tools/ClipTools.d.ts +67 -67
- package/lib/esm/tools/ClipTools.js +158 -158
- package/lib/esm/tools/ClipTools.js.map +1 -1
- package/lib/esm/tools/DisplayStyleTools.d.ts +145 -145
- package/lib/esm/tools/DisplayStyleTools.js +364 -356
- package/lib/esm/tools/DisplayStyleTools.js.map +1 -1
- package/lib/esm/tools/EmphasizeElementsTool.d.ts +60 -60
- package/lib/esm/tools/EmphasizeElementsTool.js +150 -145
- package/lib/esm/tools/EmphasizeElementsTool.js.map +1 -1
- package/lib/esm/tools/FrustumDecoration.d.ts +57 -57
- package/lib/esm/tools/FrustumDecoration.js +370 -367
- package/lib/esm/tools/FrustumDecoration.js.map +1 -1
- package/lib/esm/tools/InspectElementTool.d.ts +42 -42
- package/lib/esm/tools/InspectElementTool.js +195 -194
- package/lib/esm/tools/InspectElementTool.js.map +1 -1
- package/lib/esm/tools/MapLayerTool.d.ts +264 -264
- package/lib/esm/tools/MapLayerTool.js +504 -485
- package/lib/esm/tools/MapLayerTool.js.map +1 -1
- package/lib/esm/tools/MeasureTileLoadTime.d.ts +12 -12
- package/lib/esm/tools/MeasureTileLoadTime.js +60 -59
- package/lib/esm/tools/MeasureTileLoadTime.js.map +1 -1
- package/lib/esm/tools/ModelAppearanceTools.d.ts +86 -86
- package/lib/esm/tools/ModelAppearanceTools.js +180 -172
- package/lib/esm/tools/ModelAppearanceTools.js.map +1 -1
- package/lib/esm/tools/PlanProjectionTools.d.ts +40 -40
- package/lib/esm/tools/PlanProjectionTools.js +146 -143
- package/lib/esm/tools/PlanProjectionTools.js.map +1 -1
- package/lib/esm/tools/PlanarMaskTools.d.ts +182 -182
- package/lib/esm/tools/PlanarMaskTools.js +387 -377
- package/lib/esm/tools/PlanarMaskTools.js.map +1 -1
- package/lib/esm/tools/ProjectExtents.d.ts +41 -41
- package/lib/esm/tools/ProjectExtents.js +105 -104
- package/lib/esm/tools/ProjectExtents.js.map +1 -1
- package/lib/esm/tools/RealityModelTools.d.ts +116 -116
- package/lib/esm/tools/RealityModelTools.js +278 -268
- package/lib/esm/tools/RealityModelTools.js.map +1 -1
- package/lib/esm/tools/RealityTransitionTool.d.ts +25 -25
- package/lib/esm/tools/RealityTransitionTool.js +112 -112
- package/lib/esm/tools/RealityTransitionTool.js.map +1 -1
- package/lib/esm/tools/RenderSystemTools.d.ts +38 -38
- package/lib/esm/tools/RenderSystemTools.js +65 -63
- package/lib/esm/tools/RenderSystemTools.js.map +1 -1
- package/lib/esm/tools/RenderTargetTools.d.ts +107 -107
- package/lib/esm/tools/RenderTargetTools.d.ts.map +1 -1
- package/lib/esm/tools/RenderTargetTools.js +169 -159
- package/lib/esm/tools/RenderTargetTools.js.map +1 -1
- package/lib/esm/tools/ReportWebGLCompatibilityTool.d.ts +11 -11
- package/lib/esm/tools/ReportWebGLCompatibilityTool.js +27 -26
- package/lib/esm/tools/ReportWebGLCompatibilityTool.js.map +1 -1
- package/lib/esm/tools/SavedViews.d.ts +46 -46
- package/lib/esm/tools/SavedViews.js +131 -128
- package/lib/esm/tools/SavedViews.js.map +1 -1
- package/lib/esm/tools/ScheduleScriptTools.d.ts +37 -37
- package/lib/esm/tools/ScheduleScriptTools.js +154 -153
- package/lib/esm/tools/ScheduleScriptTools.js.map +1 -1
- package/lib/esm/tools/SelectionTools.d.ts +28 -28
- package/lib/esm/tools/SelectionTools.js +84 -82
- package/lib/esm/tools/SelectionTools.js.map +1 -1
- package/lib/esm/tools/SetGpuMemoryLimitTool.d.ts +15 -15
- package/lib/esm/tools/SetGpuMemoryLimitTool.js +30 -29
- package/lib/esm/tools/SetGpuMemoryLimitTool.js.map +1 -1
- package/lib/esm/tools/SourceAspectIdTools.d.ts +40 -40
- package/lib/esm/tools/SourceAspectIdTools.d.ts.map +1 -1
- package/lib/esm/tools/SourceAspectIdTools.js +82 -80
- package/lib/esm/tools/SourceAspectIdTools.js.map +1 -1
- package/lib/esm/tools/TileRequestDecoration.d.ts +12 -12
- package/lib/esm/tools/TileRequestDecoration.js +80 -79
- package/lib/esm/tools/TileRequestDecoration.js.map +1 -1
- package/lib/esm/tools/TileTreeBoundsDecoration.d.ts +11 -11
- package/lib/esm/tools/TileTreeBoundsDecoration.js +71 -70
- package/lib/esm/tools/TileTreeBoundsDecoration.js.map +1 -1
- package/lib/esm/tools/ToolTipProvider.d.ts +15 -15
- package/lib/esm/tools/ToolTipProvider.js +63 -62
- package/lib/esm/tools/ToolTipProvider.js.map +1 -1
- package/lib/esm/tools/ViewportTools.d.ts +218 -218
- package/lib/esm/tools/ViewportTools.d.ts.map +1 -1
- package/lib/esm/tools/ViewportTools.js +511 -492
- package/lib/esm/tools/ViewportTools.js.map +1 -1
- package/lib/esm/tools/parseArgs.d.ts +23 -23
- package/lib/esm/tools/parseArgs.js +47 -47
- package/lib/esm/tools/parseBoolean.d.ts +8 -8
- package/lib/esm/tools/parseBoolean.js +22 -22
- package/lib/esm/tools/parseToggle.d.ts +8 -8
- package/lib/esm/tools/parseToggle.js +21 -21
- package/lib/esm/ui/Button.d.ts +29 -29
- package/lib/esm/ui/Button.d.ts.map +1 -1
- package/lib/esm/ui/Button.js +22 -22
- package/lib/esm/ui/CheckBox.d.ts +23 -23
- package/lib/esm/ui/CheckBox.d.ts.map +1 -1
- package/lib/esm/ui/CheckBox.js +23 -23
- package/lib/esm/ui/ColorInput.d.ts +27 -27
- package/lib/esm/ui/ColorInput.d.ts.map +1 -1
- package/lib/esm/ui/ColorInput.js +48 -48
- package/lib/esm/ui/ComboBox.d.ts +28 -28
- package/lib/esm/ui/ComboBox.d.ts.map +1 -1
- package/lib/esm/ui/ComboBox.js +38 -38
- package/lib/esm/ui/DataList.d.ts +27 -27
- package/lib/esm/ui/DataList.d.ts.map +1 -1
- package/lib/esm/ui/DataList.js +34 -34
- package/lib/esm/ui/NestedMenu.d.ts +19 -19
- package/lib/esm/ui/NestedMenu.d.ts.map +1 -1
- package/lib/esm/ui/NestedMenu.js +42 -42
- package/lib/esm/ui/NumericInput.d.ts +35 -35
- package/lib/esm/ui/NumericInput.d.ts.map +1 -1
- package/lib/esm/ui/NumericInput.js +56 -56
- package/lib/esm/ui/RadioBox.d.ts +29 -29
- package/lib/esm/ui/RadioBox.d.ts.map +1 -1
- package/lib/esm/ui/RadioBox.js +72 -72
- package/lib/esm/ui/Slider.d.ts +28 -28
- package/lib/esm/ui/Slider.d.ts.map +1 -1
- package/lib/esm/ui/Slider.js +38 -38
- package/lib/esm/ui/TextBox.d.ts +32 -32
- package/lib/esm/ui/TextBox.d.ts.map +1 -1
- package/lib/esm/ui/TextBox.js +52 -52
- package/lib/esm/widgets/DiagnosticsPanel.d.ts +37 -37
- package/lib/esm/widgets/DiagnosticsPanel.js +77 -77
- package/lib/esm/widgets/FpsTracker.d.ts +19 -19
- package/lib/esm/widgets/FpsTracker.js +52 -52
- package/lib/esm/widgets/GpuProfiler.d.ts +16 -16
- package/lib/esm/widgets/GpuProfiler.js +188 -188
- package/lib/esm/widgets/KeyinField.d.ts +61 -61
- package/lib/esm/widgets/KeyinField.js +182 -183
- package/lib/esm/widgets/KeyinField.js.map +1 -1
- package/lib/esm/widgets/MemoryTracker.d.ts +27 -27
- package/lib/esm/widgets/MemoryTracker.js +237 -238
- package/lib/esm/widgets/MemoryTracker.js.map +1 -1
- package/lib/esm/widgets/RenderCommandBreakdown.d.ts +15 -15
- package/lib/esm/widgets/RenderCommandBreakdown.js +63 -64
- package/lib/esm/widgets/RenderCommandBreakdown.js.map +1 -1
- package/lib/esm/widgets/TileMemoryBreakdown.d.ts +30 -30
- package/lib/esm/widgets/TileMemoryBreakdown.js +199 -200
- package/lib/esm/widgets/TileMemoryBreakdown.js.map +1 -1
- package/lib/esm/widgets/TileStatisticsTracker.d.ts +21 -21
- package/lib/esm/widgets/TileStatisticsTracker.d.ts.map +1 -1
- package/lib/esm/widgets/TileStatisticsTracker.js +140 -138
- package/lib/esm/widgets/TileStatisticsTracker.js.map +1 -1
- package/lib/esm/widgets/ToolSettingsTracker.d.ts +9 -9
- package/lib/esm/widgets/ToolSettingsTracker.js +208 -207
- package/lib/esm/widgets/ToolSettingsTracker.js.map +1 -1
- package/package.json +13 -13
|
@@ -1,265 +1,265 @@
|
|
|
1
|
-
import { ColorDef } from "@itwin/core-common";
|
|
2
|
-
import { MapLayerSource, Tool } from "@itwin/core-frontend";
|
|
3
|
-
/** Base class for attaching map layer tool. */
|
|
4
|
-
declare class AttachMapLayerBaseTool extends Tool {
|
|
5
|
-
protected _isBackground: boolean;
|
|
6
|
-
protected _isBase: boolean;
|
|
7
|
-
constructor(_isBackground?: boolean, _isBase?: boolean);
|
|
8
|
-
protected doAttach(source?: MapLayerSource): void;
|
|
9
|
-
}
|
|
10
|
-
/** Attach a map layer from URL base class. A layer is attached for each unique model in the selection
|
|
11
|
-
* @beta
|
|
12
|
-
*/
|
|
13
|
-
export declare class AttachModelMapLayerTool extends Tool {
|
|
14
|
-
protected _formatId: string;
|
|
15
|
-
static get minArgs(): number;
|
|
16
|
-
static get maxArgs(): number;
|
|
17
|
-
static toolId: string;
|
|
18
|
-
constructor(_formatId: string);
|
|
19
|
-
run(nameIn?: string): Promise<boolean>;
|
|
20
|
-
parseAndRun(...args: string[]): Promise<boolean>;
|
|
21
|
-
onRestartTool(): Promise<void>;
|
|
22
|
-
}
|
|
23
|
-
/** Attach a map layer from URL base class. */
|
|
24
|
-
declare class AttachMapLayerByURLBaseTool extends AttachMapLayerBaseTool {
|
|
25
|
-
protected _formatId: string;
|
|
26
|
-
static get minArgs(): number;
|
|
27
|
-
static get maxArgs(): number;
|
|
28
|
-
constructor(_formatId: string);
|
|
29
|
-
run(url: string, name?: string, userName?: string, password?: string): Promise<boolean>;
|
|
30
|
-
parseAndRun(...args: string[]): Promise<boolean>;
|
|
31
|
-
}
|
|
32
|
-
/** This tool attaches a WMS map layer from a given URL.
|
|
33
|
-
* @beta
|
|
34
|
-
*/
|
|
35
|
-
export declare class AttachWmsMapLayerByUrlTool extends AttachMapLayerByURLBaseTool {
|
|
36
|
-
static toolId: string;
|
|
37
|
-
constructor();
|
|
38
|
-
/** This method runs the tool, attaching a WMS map layer from a given URL.
|
|
39
|
-
* @param args contains url, name, userName, password in array order
|
|
40
|
-
*/
|
|
41
|
-
parseAndRun(...args: string[]): Promise<boolean>;
|
|
42
|
-
}
|
|
43
|
-
/** This tool attaches a WMTS map layer from a given URL.
|
|
44
|
-
* @beta
|
|
45
|
-
*/
|
|
46
|
-
export declare class AttachWmtsMapLayerByUrlTool extends AttachMapLayerByURLBaseTool {
|
|
47
|
-
static toolId: string;
|
|
48
|
-
constructor();
|
|
49
|
-
/** This method runs the tool, attaching a WMTS map layer from a given URL.
|
|
50
|
-
* @param args contains url, name, userName, password in array order
|
|
51
|
-
*/
|
|
52
|
-
parseAndRun(...args: string[]): Promise<boolean>;
|
|
53
|
-
}
|
|
54
|
-
/** This tool attaches an ArcGIS map layer from a given URL.
|
|
55
|
-
* @beta
|
|
56
|
-
*/
|
|
57
|
-
export declare class AttachArcGISMapLayerByUrlTool extends AttachMapLayerByURLBaseTool {
|
|
58
|
-
static toolId: string;
|
|
59
|
-
constructor();
|
|
60
|
-
}
|
|
61
|
-
/** This tool attaches an ArcGIS map layer from a given URL.
|
|
62
|
-
* @beta
|
|
63
|
-
*/
|
|
64
|
-
export declare class AttachArcGISFeatureMapLayerByUrlTool extends AttachMapLayerByURLBaseTool {
|
|
65
|
-
static toolId: string;
|
|
66
|
-
constructor();
|
|
67
|
-
}
|
|
68
|
-
/** This tool attaches a map layer from a given tile URL.
|
|
69
|
-
* @beta
|
|
70
|
-
*/
|
|
71
|
-
export declare class AttachTileURLMapLayerByUrlTool extends AttachMapLayerByURLBaseTool {
|
|
72
|
-
static toolId: string;
|
|
73
|
-
constructor();
|
|
74
|
-
}
|
|
75
|
-
/** This tool add a Map Layer from a specified name (look up in MapLayerSources.json).
|
|
76
|
-
* @beta
|
|
77
|
-
*/
|
|
78
|
-
export declare class AttachMapLayerTool extends AttachMapLayerBaseTool {
|
|
79
|
-
static toolId: string;
|
|
80
|
-
static get minArgs(): number;
|
|
81
|
-
static get maxArgs(): number;
|
|
82
|
-
/** This method runs the tool, adding a map layer from a specified name in MayLayerSources.json.
|
|
83
|
-
* @param name the name of the map layer to add
|
|
84
|
-
*/
|
|
85
|
-
run(name: string): Promise<boolean>;
|
|
86
|
-
/** Executes this tool's run method with args[0] containing `name`.
|
|
87
|
-
* @see [[run]]
|
|
88
|
-
*/
|
|
89
|
-
parseAndRun(...args: string[]): Promise<boolean>;
|
|
90
|
-
}
|
|
91
|
-
/** This tool attaches a Overlay map layer.
|
|
92
|
-
* @beta
|
|
93
|
-
*/
|
|
94
|
-
export declare class AttachMapOverlayTool extends AttachMapLayerTool {
|
|
95
|
-
static toolId: string;
|
|
96
|
-
constructor();
|
|
97
|
-
}
|
|
98
|
-
/** Sets map layer base tool.
|
|
99
|
-
* @beta
|
|
100
|
-
*/
|
|
101
|
-
export declare class SetMapBaseTool extends AttachMapLayerTool {
|
|
102
|
-
static toolId: string;
|
|
103
|
-
constructor();
|
|
104
|
-
}
|
|
105
|
-
/** Detach Map Layers Tool.
|
|
106
|
-
* @beta
|
|
107
|
-
*/
|
|
108
|
-
export declare class DetachMapLayersTool extends Tool {
|
|
109
|
-
static toolId: string;
|
|
110
|
-
static get minArgs(): number;
|
|
111
|
-
static get maxArgs(): number;
|
|
112
|
-
parseAndRun(..._args: string[]): Promise<boolean>;
|
|
113
|
-
run(): Promise<boolean>;
|
|
114
|
-
}
|
|
115
|
-
/** This tool sets the visibility of the map layer.
|
|
116
|
-
* @beta
|
|
117
|
-
*/
|
|
118
|
-
export declare class MapLayerVisibilityTool extends Tool {
|
|
119
|
-
static toolId: string;
|
|
120
|
-
static get minArgs(): number;
|
|
121
|
-
static get maxArgs(): number;
|
|
122
|
-
/** This method runs the tool, setting the visibility of a map layer.
|
|
123
|
-
* @param layerIndex the index of the layer to change
|
|
124
|
-
* @param visible a boolean that should be true if the layer should be visible
|
|
125
|
-
*/
|
|
126
|
-
run(layerIndex: number, enable?: boolean): Promise<boolean>;
|
|
127
|
-
/** Executes this tool's run method with args[0] containing `enable` and args[1] containing `layerIndex`.
|
|
128
|
-
* @see [[run]]
|
|
129
|
-
*/
|
|
130
|
-
parseAndRun(...args: string[]): Promise<boolean>;
|
|
131
|
-
}
|
|
132
|
-
/** This tool reorders map layers.
|
|
133
|
-
* @beta
|
|
134
|
-
*/
|
|
135
|
-
export declare class ReorderMapLayers extends Tool {
|
|
136
|
-
static toolId: string;
|
|
137
|
-
static get minArgs(): number;
|
|
138
|
-
static get maxArgs(): number;
|
|
139
|
-
/** This method runs the tool, reordering the map layers.
|
|
140
|
-
* @param from a numeric value specifying the layer index that is being moved
|
|
141
|
-
* @param from a numeric value specifying the layer index to move that layer to
|
|
142
|
-
*/
|
|
143
|
-
run(from: number, to: number): Promise<boolean>;
|
|
144
|
-
/** Executes this tool's run method with args[0] containing `from` and args[1] containing `to`.
|
|
145
|
-
* @see [[run]]
|
|
146
|
-
*/
|
|
147
|
-
parseAndRun(...args: string[]): Promise<boolean>;
|
|
148
|
-
}
|
|
149
|
-
/** This tool sets the transparency of a map layer.
|
|
150
|
-
* @beta
|
|
151
|
-
*/
|
|
152
|
-
export declare class MapLayerTransparencyTool extends Tool {
|
|
153
|
-
static toolId: string;
|
|
154
|
-
static get minArgs(): number;
|
|
155
|
-
static get maxArgs(): number;
|
|
156
|
-
/** This method runs the tool, setting the transparency of a map layer.
|
|
157
|
-
* @param layerIndex the index of the layer to change
|
|
158
|
-
* @param transparency a numeric value in the range 0.0 (fully opaque) to 1.0 (fully transparent)
|
|
159
|
-
*/
|
|
160
|
-
run(layerIndex: number, transparency: number): Promise<boolean>;
|
|
161
|
-
/** Executes this tool's run method with args[0] containing `transparency` and args[1] containing `layerIndex`.
|
|
162
|
-
* @see [[run]]
|
|
163
|
-
*/
|
|
164
|
-
parseAndRun(...args: string[]): Promise<boolean>;
|
|
165
|
-
}
|
|
166
|
-
/** This tool sets the visibility of the map sublayer.
|
|
167
|
-
* @beta
|
|
168
|
-
*/
|
|
169
|
-
export declare class MapLayerSubLayerVisibilityTool extends Tool {
|
|
170
|
-
static toolId: string;
|
|
171
|
-
static get minArgs(): number;
|
|
172
|
-
static get maxArgs(): number;
|
|
173
|
-
/** This method runs the tool, setting the visibility of a map sublayer.
|
|
174
|
-
* @param layerIndex the index of the layer to change
|
|
175
|
-
* @param visible a boolean that should be true if the sublayer should be visible
|
|
176
|
-
*/
|
|
177
|
-
run(layerIndex: number, visible: boolean): Promise<boolean>;
|
|
178
|
-
/** Executes this tool's run method with args[0] containing `transparency` and args[1] containing `layerIndex`.
|
|
179
|
-
* @see [[run]]
|
|
180
|
-
*/
|
|
181
|
-
parseAndRun(...args: string[]): Promise<boolean>;
|
|
182
|
-
}
|
|
183
|
-
/** This tool changes the viewport so it is zoomed to the range of a map layer.
|
|
184
|
-
* @beta
|
|
185
|
-
*/
|
|
186
|
-
export declare class MapLayerZoomTool extends Tool {
|
|
187
|
-
static toolId: string;
|
|
188
|
-
static get minArgs(): number;
|
|
189
|
-
static get maxArgs(): number;
|
|
190
|
-
/** This method runs the tool, changing the viewport so it is zoomed to the range of a map layer.
|
|
191
|
-
* @param layerIndex the index of the layer whose range to zoom to
|
|
192
|
-
*/
|
|
193
|
-
run(layerIndex: number): Promise<boolean>;
|
|
194
|
-
/** Executes this tool's run method with args[0] containing `layerIndex`.
|
|
195
|
-
* @see [[run]]
|
|
196
|
-
*/
|
|
197
|
-
parseAndRun(...args: string[]): Promise<boolean>;
|
|
198
|
-
}
|
|
199
|
-
/** This tool toggles whether to apply terrain heights to the map.
|
|
200
|
-
* @beta
|
|
201
|
-
*/
|
|
202
|
-
export declare class ToggleTerrainTool extends Tool {
|
|
203
|
-
static toolId: string;
|
|
204
|
-
static get minArgs(): number;
|
|
205
|
-
static get maxArgs(): number;
|
|
206
|
-
/** This method runs the tool, changing whether to apply terrain heights to the map.
|
|
207
|
-
* @param enable whether or not to enable terrain heights on the map
|
|
208
|
-
*/
|
|
209
|
-
run(enable?: boolean): Promise<boolean>;
|
|
210
|
-
/** Executes this tool's run method with args[0] containing `enable`.
|
|
211
|
-
* @see [[run]]
|
|
212
|
-
*/
|
|
213
|
-
parseAndRun(...args: string[]): Promise<boolean>;
|
|
214
|
-
}
|
|
215
|
-
/** This tool changes the color of the base map.
|
|
216
|
-
* @beta
|
|
217
|
-
*/
|
|
218
|
-
export declare class MapBaseColorTool extends Tool {
|
|
219
|
-
static toolId: string;
|
|
220
|
-
static get minArgs(): number;
|
|
221
|
-
static get maxArgs(): number;
|
|
222
|
-
/** This method runs the tool, changing the color of the base map.
|
|
223
|
-
* @param color the color for the base map
|
|
224
|
-
*/
|
|
225
|
-
run(color: ColorDef): Promise<boolean>;
|
|
226
|
-
/** Executes this tool's run method with args[0] containing a 0 to 255 red component, args[1] containing a 0 to 255 green component, and args[2] containing a 0 to 255 blue component.
|
|
227
|
-
* These rgb values will be used to construct the `color` parameter passed to this tool's run method.
|
|
228
|
-
* @see [[run]]
|
|
229
|
-
*/
|
|
230
|
-
parseAndRun(...args: string[]): Promise<boolean>;
|
|
231
|
-
}
|
|
232
|
-
/** This tool changes the transparency of the base map.
|
|
233
|
-
* @beta
|
|
234
|
-
*/
|
|
235
|
-
export declare class MapBaseTransparencyTool extends Tool {
|
|
236
|
-
static toolId: string;
|
|
237
|
-
static get minArgs(): number;
|
|
238
|
-
static get maxArgs(): number;
|
|
239
|
-
/** This method runs the tool, changing the transparency of the base map.
|
|
240
|
-
* @param transparency a numeric value in range 0.0 to 1.0 whether 0.0 means fully opaque and 1.0 means fully transparent
|
|
241
|
-
*/
|
|
242
|
-
run(transparency: number): Promise<boolean>;
|
|
243
|
-
/** Executes this tool's run method with args[0] containing `transparency`.
|
|
244
|
-
* @see [[run]]
|
|
245
|
-
*/
|
|
246
|
-
parseAndRun(...args: string[]): Promise<boolean>;
|
|
247
|
-
}
|
|
248
|
-
/** This tool changes the visibility of the base map.
|
|
249
|
-
* @beta
|
|
250
|
-
*/
|
|
251
|
-
export declare class MapBaseVisibilityTool extends Tool {
|
|
252
|
-
static toolId: string;
|
|
253
|
-
static get minArgs(): number;
|
|
254
|
-
static get maxArgs(): number;
|
|
255
|
-
/** This method runs the tool, changing the visibility of the base map.
|
|
256
|
-
* @param visible a boolean which specifies whether or not to make the base map visible
|
|
257
|
-
*/
|
|
258
|
-
run(visible: boolean): Promise<boolean>;
|
|
259
|
-
/** Executes this tool's run method with args[0] containing `visible`.
|
|
260
|
-
* @see [[run]]
|
|
261
|
-
*/
|
|
262
|
-
parseAndRun(...args: string[]): Promise<boolean>;
|
|
263
|
-
}
|
|
264
|
-
export {};
|
|
1
|
+
import { ColorDef } from "@itwin/core-common";
|
|
2
|
+
import { MapLayerSource, Tool } from "@itwin/core-frontend";
|
|
3
|
+
/** Base class for attaching map layer tool. */
|
|
4
|
+
declare class AttachMapLayerBaseTool extends Tool {
|
|
5
|
+
protected _isBackground: boolean;
|
|
6
|
+
protected _isBase: boolean;
|
|
7
|
+
constructor(_isBackground?: boolean, _isBase?: boolean);
|
|
8
|
+
protected doAttach(source?: MapLayerSource): void;
|
|
9
|
+
}
|
|
10
|
+
/** Attach a map layer from URL base class. A layer is attached for each unique model in the selection
|
|
11
|
+
* @beta
|
|
12
|
+
*/
|
|
13
|
+
export declare class AttachModelMapLayerTool extends Tool {
|
|
14
|
+
protected _formatId: string;
|
|
15
|
+
static get minArgs(): number;
|
|
16
|
+
static get maxArgs(): number;
|
|
17
|
+
static toolId: string;
|
|
18
|
+
constructor(_formatId: string);
|
|
19
|
+
run(nameIn?: string): Promise<boolean>;
|
|
20
|
+
parseAndRun(...args: string[]): Promise<boolean>;
|
|
21
|
+
onRestartTool(): Promise<void>;
|
|
22
|
+
}
|
|
23
|
+
/** Attach a map layer from URL base class. */
|
|
24
|
+
declare class AttachMapLayerByURLBaseTool extends AttachMapLayerBaseTool {
|
|
25
|
+
protected _formatId: string;
|
|
26
|
+
static get minArgs(): number;
|
|
27
|
+
static get maxArgs(): number;
|
|
28
|
+
constructor(_formatId: string);
|
|
29
|
+
run(url: string, name?: string, userName?: string, password?: string): Promise<boolean>;
|
|
30
|
+
parseAndRun(...args: string[]): Promise<boolean>;
|
|
31
|
+
}
|
|
32
|
+
/** This tool attaches a WMS map layer from a given URL.
|
|
33
|
+
* @beta
|
|
34
|
+
*/
|
|
35
|
+
export declare class AttachWmsMapLayerByUrlTool extends AttachMapLayerByURLBaseTool {
|
|
36
|
+
static toolId: string;
|
|
37
|
+
constructor();
|
|
38
|
+
/** This method runs the tool, attaching a WMS map layer from a given URL.
|
|
39
|
+
* @param args contains url, name, userName, password in array order
|
|
40
|
+
*/
|
|
41
|
+
parseAndRun(...args: string[]): Promise<boolean>;
|
|
42
|
+
}
|
|
43
|
+
/** This tool attaches a WMTS map layer from a given URL.
|
|
44
|
+
* @beta
|
|
45
|
+
*/
|
|
46
|
+
export declare class AttachWmtsMapLayerByUrlTool extends AttachMapLayerByURLBaseTool {
|
|
47
|
+
static toolId: string;
|
|
48
|
+
constructor();
|
|
49
|
+
/** This method runs the tool, attaching a WMTS map layer from a given URL.
|
|
50
|
+
* @param args contains url, name, userName, password in array order
|
|
51
|
+
*/
|
|
52
|
+
parseAndRun(...args: string[]): Promise<boolean>;
|
|
53
|
+
}
|
|
54
|
+
/** This tool attaches an ArcGIS map layer from a given URL.
|
|
55
|
+
* @beta
|
|
56
|
+
*/
|
|
57
|
+
export declare class AttachArcGISMapLayerByUrlTool extends AttachMapLayerByURLBaseTool {
|
|
58
|
+
static toolId: string;
|
|
59
|
+
constructor();
|
|
60
|
+
}
|
|
61
|
+
/** This tool attaches an ArcGIS map layer from a given URL.
|
|
62
|
+
* @beta
|
|
63
|
+
*/
|
|
64
|
+
export declare class AttachArcGISFeatureMapLayerByUrlTool extends AttachMapLayerByURLBaseTool {
|
|
65
|
+
static toolId: string;
|
|
66
|
+
constructor();
|
|
67
|
+
}
|
|
68
|
+
/** This tool attaches a map layer from a given tile URL.
|
|
69
|
+
* @beta
|
|
70
|
+
*/
|
|
71
|
+
export declare class AttachTileURLMapLayerByUrlTool extends AttachMapLayerByURLBaseTool {
|
|
72
|
+
static toolId: string;
|
|
73
|
+
constructor();
|
|
74
|
+
}
|
|
75
|
+
/** This tool add a Map Layer from a specified name (look up in MapLayerSources.json).
|
|
76
|
+
* @beta
|
|
77
|
+
*/
|
|
78
|
+
export declare class AttachMapLayerTool extends AttachMapLayerBaseTool {
|
|
79
|
+
static toolId: string;
|
|
80
|
+
static get minArgs(): number;
|
|
81
|
+
static get maxArgs(): number;
|
|
82
|
+
/** This method runs the tool, adding a map layer from a specified name in MayLayerSources.json.
|
|
83
|
+
* @param name the name of the map layer to add
|
|
84
|
+
*/
|
|
85
|
+
run(name: string): Promise<boolean>;
|
|
86
|
+
/** Executes this tool's run method with args[0] containing `name`.
|
|
87
|
+
* @see [[run]]
|
|
88
|
+
*/
|
|
89
|
+
parseAndRun(...args: string[]): Promise<boolean>;
|
|
90
|
+
}
|
|
91
|
+
/** This tool attaches a Overlay map layer.
|
|
92
|
+
* @beta
|
|
93
|
+
*/
|
|
94
|
+
export declare class AttachMapOverlayTool extends AttachMapLayerTool {
|
|
95
|
+
static toolId: string;
|
|
96
|
+
constructor();
|
|
97
|
+
}
|
|
98
|
+
/** Sets map layer base tool.
|
|
99
|
+
* @beta
|
|
100
|
+
*/
|
|
101
|
+
export declare class SetMapBaseTool extends AttachMapLayerTool {
|
|
102
|
+
static toolId: string;
|
|
103
|
+
constructor();
|
|
104
|
+
}
|
|
105
|
+
/** Detach Map Layers Tool.
|
|
106
|
+
* @beta
|
|
107
|
+
*/
|
|
108
|
+
export declare class DetachMapLayersTool extends Tool {
|
|
109
|
+
static toolId: string;
|
|
110
|
+
static get minArgs(): number;
|
|
111
|
+
static get maxArgs(): number;
|
|
112
|
+
parseAndRun(..._args: string[]): Promise<boolean>;
|
|
113
|
+
run(): Promise<boolean>;
|
|
114
|
+
}
|
|
115
|
+
/** This tool sets the visibility of the map layer.
|
|
116
|
+
* @beta
|
|
117
|
+
*/
|
|
118
|
+
export declare class MapLayerVisibilityTool extends Tool {
|
|
119
|
+
static toolId: string;
|
|
120
|
+
static get minArgs(): number;
|
|
121
|
+
static get maxArgs(): number;
|
|
122
|
+
/** This method runs the tool, setting the visibility of a map layer.
|
|
123
|
+
* @param layerIndex the index of the layer to change
|
|
124
|
+
* @param visible a boolean that should be true if the layer should be visible
|
|
125
|
+
*/
|
|
126
|
+
run(layerIndex: number, enable?: boolean): Promise<boolean>;
|
|
127
|
+
/** Executes this tool's run method with args[0] containing `enable` and args[1] containing `layerIndex`.
|
|
128
|
+
* @see [[run]]
|
|
129
|
+
*/
|
|
130
|
+
parseAndRun(...args: string[]): Promise<boolean>;
|
|
131
|
+
}
|
|
132
|
+
/** This tool reorders map layers.
|
|
133
|
+
* @beta
|
|
134
|
+
*/
|
|
135
|
+
export declare class ReorderMapLayers extends Tool {
|
|
136
|
+
static toolId: string;
|
|
137
|
+
static get minArgs(): number;
|
|
138
|
+
static get maxArgs(): number;
|
|
139
|
+
/** This method runs the tool, reordering the map layers.
|
|
140
|
+
* @param from a numeric value specifying the layer index that is being moved
|
|
141
|
+
* @param from a numeric value specifying the layer index to move that layer to
|
|
142
|
+
*/
|
|
143
|
+
run(from: number, to: number): Promise<boolean>;
|
|
144
|
+
/** Executes this tool's run method with args[0] containing `from` and args[1] containing `to`.
|
|
145
|
+
* @see [[run]]
|
|
146
|
+
*/
|
|
147
|
+
parseAndRun(...args: string[]): Promise<boolean>;
|
|
148
|
+
}
|
|
149
|
+
/** This tool sets the transparency of a map layer.
|
|
150
|
+
* @beta
|
|
151
|
+
*/
|
|
152
|
+
export declare class MapLayerTransparencyTool extends Tool {
|
|
153
|
+
static toolId: string;
|
|
154
|
+
static get minArgs(): number;
|
|
155
|
+
static get maxArgs(): number;
|
|
156
|
+
/** This method runs the tool, setting the transparency of a map layer.
|
|
157
|
+
* @param layerIndex the index of the layer to change
|
|
158
|
+
* @param transparency a numeric value in the range 0.0 (fully opaque) to 1.0 (fully transparent)
|
|
159
|
+
*/
|
|
160
|
+
run(layerIndex: number, transparency: number): Promise<boolean>;
|
|
161
|
+
/** Executes this tool's run method with args[0] containing `transparency` and args[1] containing `layerIndex`.
|
|
162
|
+
* @see [[run]]
|
|
163
|
+
*/
|
|
164
|
+
parseAndRun(...args: string[]): Promise<boolean>;
|
|
165
|
+
}
|
|
166
|
+
/** This tool sets the visibility of the map sublayer.
|
|
167
|
+
* @beta
|
|
168
|
+
*/
|
|
169
|
+
export declare class MapLayerSubLayerVisibilityTool extends Tool {
|
|
170
|
+
static toolId: string;
|
|
171
|
+
static get minArgs(): number;
|
|
172
|
+
static get maxArgs(): number;
|
|
173
|
+
/** This method runs the tool, setting the visibility of a map sublayer.
|
|
174
|
+
* @param layerIndex the index of the layer to change
|
|
175
|
+
* @param visible a boolean that should be true if the sublayer should be visible
|
|
176
|
+
*/
|
|
177
|
+
run(layerIndex: number, visible: boolean): Promise<boolean>;
|
|
178
|
+
/** Executes this tool's run method with args[0] containing `transparency` and args[1] containing `layerIndex`.
|
|
179
|
+
* @see [[run]]
|
|
180
|
+
*/
|
|
181
|
+
parseAndRun(...args: string[]): Promise<boolean>;
|
|
182
|
+
}
|
|
183
|
+
/** This tool changes the viewport so it is zoomed to the range of a map layer.
|
|
184
|
+
* @beta
|
|
185
|
+
*/
|
|
186
|
+
export declare class MapLayerZoomTool extends Tool {
|
|
187
|
+
static toolId: string;
|
|
188
|
+
static get minArgs(): number;
|
|
189
|
+
static get maxArgs(): number;
|
|
190
|
+
/** This method runs the tool, changing the viewport so it is zoomed to the range of a map layer.
|
|
191
|
+
* @param layerIndex the index of the layer whose range to zoom to
|
|
192
|
+
*/
|
|
193
|
+
run(layerIndex: number): Promise<boolean>;
|
|
194
|
+
/** Executes this tool's run method with args[0] containing `layerIndex`.
|
|
195
|
+
* @see [[run]]
|
|
196
|
+
*/
|
|
197
|
+
parseAndRun(...args: string[]): Promise<boolean>;
|
|
198
|
+
}
|
|
199
|
+
/** This tool toggles whether to apply terrain heights to the map.
|
|
200
|
+
* @beta
|
|
201
|
+
*/
|
|
202
|
+
export declare class ToggleTerrainTool extends Tool {
|
|
203
|
+
static toolId: string;
|
|
204
|
+
static get minArgs(): number;
|
|
205
|
+
static get maxArgs(): number;
|
|
206
|
+
/** This method runs the tool, changing whether to apply terrain heights to the map.
|
|
207
|
+
* @param enable whether or not to enable terrain heights on the map
|
|
208
|
+
*/
|
|
209
|
+
run(enable?: boolean): Promise<boolean>;
|
|
210
|
+
/** Executes this tool's run method with args[0] containing `enable`.
|
|
211
|
+
* @see [[run]]
|
|
212
|
+
*/
|
|
213
|
+
parseAndRun(...args: string[]): Promise<boolean>;
|
|
214
|
+
}
|
|
215
|
+
/** This tool changes the color of the base map.
|
|
216
|
+
* @beta
|
|
217
|
+
*/
|
|
218
|
+
export declare class MapBaseColorTool extends Tool {
|
|
219
|
+
static toolId: string;
|
|
220
|
+
static get minArgs(): number;
|
|
221
|
+
static get maxArgs(): number;
|
|
222
|
+
/** This method runs the tool, changing the color of the base map.
|
|
223
|
+
* @param color the color for the base map
|
|
224
|
+
*/
|
|
225
|
+
run(color: ColorDef): Promise<boolean>;
|
|
226
|
+
/** Executes this tool's run method with args[0] containing a 0 to 255 red component, args[1] containing a 0 to 255 green component, and args[2] containing a 0 to 255 blue component.
|
|
227
|
+
* These rgb values will be used to construct the `color` parameter passed to this tool's run method.
|
|
228
|
+
* @see [[run]]
|
|
229
|
+
*/
|
|
230
|
+
parseAndRun(...args: string[]): Promise<boolean>;
|
|
231
|
+
}
|
|
232
|
+
/** This tool changes the transparency of the base map.
|
|
233
|
+
* @beta
|
|
234
|
+
*/
|
|
235
|
+
export declare class MapBaseTransparencyTool extends Tool {
|
|
236
|
+
static toolId: string;
|
|
237
|
+
static get minArgs(): number;
|
|
238
|
+
static get maxArgs(): number;
|
|
239
|
+
/** This method runs the tool, changing the transparency of the base map.
|
|
240
|
+
* @param transparency a numeric value in range 0.0 to 1.0 whether 0.0 means fully opaque and 1.0 means fully transparent
|
|
241
|
+
*/
|
|
242
|
+
run(transparency: number): Promise<boolean>;
|
|
243
|
+
/** Executes this tool's run method with args[0] containing `transparency`.
|
|
244
|
+
* @see [[run]]
|
|
245
|
+
*/
|
|
246
|
+
parseAndRun(...args: string[]): Promise<boolean>;
|
|
247
|
+
}
|
|
248
|
+
/** This tool changes the visibility of the base map.
|
|
249
|
+
* @beta
|
|
250
|
+
*/
|
|
251
|
+
export declare class MapBaseVisibilityTool extends Tool {
|
|
252
|
+
static toolId: string;
|
|
253
|
+
static get minArgs(): number;
|
|
254
|
+
static get maxArgs(): number;
|
|
255
|
+
/** This method runs the tool, changing the visibility of the base map.
|
|
256
|
+
* @param visible a boolean which specifies whether or not to make the base map visible
|
|
257
|
+
*/
|
|
258
|
+
run(visible: boolean): Promise<boolean>;
|
|
259
|
+
/** Executes this tool's run method with args[0] containing `visible`.
|
|
260
|
+
* @see [[run]]
|
|
261
|
+
*/
|
|
262
|
+
parseAndRun(...args: string[]): Promise<boolean>;
|
|
263
|
+
}
|
|
264
|
+
export {};
|
|
265
265
|
//# sourceMappingURL=MapLayerTool.d.ts.map
|