@openglobus/og 0.24.0 → 0.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/@openglobus/js/Clock.d.ts +2 -2
- package/lib/@openglobus/js/Globe.d.ts +10 -5
- package/lib/@openglobus/js/LonLat.d.ts +2 -2
- package/lib/@openglobus/js/Object3d.d.ts +3 -2
- package/lib/@openglobus/js/Popup.d.ts +7 -4
- package/lib/@openglobus/js/astro/astro.d.ts +1 -1
- package/lib/@openglobus/js/astro/earth.d.ts +1 -1
- package/lib/@openglobus/js/bv/Box.d.ts +1 -1
- package/lib/@openglobus/js/camera/Camera.d.ts +7 -4
- package/lib/@openglobus/js/camera/Frustum.d.ts +2 -2
- package/lib/@openglobus/js/camera/PlanetCamera.d.ts +1 -1
- package/lib/@openglobus/js/control/Atmosphere.d.ts +3 -3
- package/lib/@openglobus/js/control/AtmosphereConfig.d.ts +2 -2
- package/lib/@openglobus/js/control/CameraLock.d.ts +3 -3
- package/lib/@openglobus/js/control/CompassButton.d.ts +1 -1
- package/lib/@openglobus/js/control/DebugInfo.d.ts +1 -1
- package/lib/@openglobus/js/control/EarthCoordinates.d.ts +2 -2
- package/lib/@openglobus/js/control/GeoImageDragControl.d.ts +2 -2
- package/lib/@openglobus/js/control/KeyboardNavigation.d.ts +1 -1
- package/lib/@openglobus/js/control/LayerAnimation.d.ts +2 -2
- package/lib/@openglobus/js/control/LayerSwitcher.d.ts +4 -2
- package/lib/@openglobus/js/control/Lighting.d.ts +2 -1
- package/lib/@openglobus/js/control/MouseNavigation.d.ts +3 -2
- package/lib/@openglobus/js/control/OldMouseNavigation.d.ts +3 -2
- package/lib/@openglobus/js/control/RulerSwitcher.d.ts +2 -1
- package/lib/@openglobus/js/control/ScaleControl.d.ts +2 -1
- package/lib/@openglobus/js/control/SegmentBoundVisualization.d.ts +2 -1
- package/lib/@openglobus/js/control/ShowFps.d.ts +2 -1
- package/lib/@openglobus/js/control/SimpleNavigation.d.ts +3 -2
- package/lib/@openglobus/js/control/SimpleSkyBackground.d.ts +2 -1
- package/lib/@openglobus/js/control/Sun.d.ts +2 -1
- package/lib/@openglobus/js/control/ToggleWireframe.d.ts +2 -1
- package/lib/@openglobus/js/control/TouchNavigation.d.ts +3 -2
- package/lib/@openglobus/js/control/ZoomControl.d.ts +2 -1
- package/lib/@openglobus/js/control/drawing/DrawingControl.d.ts +1 -1
- package/lib/@openglobus/js/control/drawing/LineStringDrawingScene.d.ts +1 -1
- package/lib/@openglobus/js/control/drawing/PolygonDrawingScene.d.ts +3 -3
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfile.d.ts +1 -1
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileButtonsView.d.ts +3 -2
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileControl.d.ts +2 -2
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileLegend.d.ts +1 -1
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileScene.d.ts +2 -2
- package/lib/@openglobus/js/control/elevationProfile/ElevationProfileView.d.ts +6 -4
- package/lib/@openglobus/js/control/elevationProfile/PointListDialog.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/ArrowEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/AxisTrackEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/GeoObjectEditor.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/GeoObjectEditorDialog.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/GeoObjectEditorScene.d.ts +2 -2
- package/lib/@openglobus/js/control/geoObjectEditor/MoveAxisEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/MovePlaneEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/geoObjectEditor/RotateEntity.d.ts +1 -1
- package/lib/@openglobus/js/control/heightRuler/HeightRuler.d.ts +1 -1
- package/lib/@openglobus/js/control/heightRuler/HeightRulerScene.d.ts +1 -1
- package/lib/@openglobus/js/control/ruler/Ruler.d.ts +2 -1
- package/lib/@openglobus/js/control/ruler/RulerScene.d.ts +2 -2
- package/lib/@openglobus/js/control/selection/Selection.d.ts +2 -1
- package/lib/@openglobus/js/control/timeline/TimelineControl.d.ts +1 -1
- package/lib/@openglobus/js/control/timeline/TimelineModel.d.ts +1 -1
- package/lib/@openglobus/js/control/timeline/TimelineView.d.ts +4 -3
- package/lib/@openglobus/js/ellipsoid/Ellipsoid.d.ts +1 -1
- package/lib/@openglobus/js/entity/BaseBillboard.d.ts +6 -3
- package/lib/@openglobus/js/entity/BaseBillboardHandler.d.ts +2 -2
- package/lib/@openglobus/js/entity/Billboard.d.ts +3 -2
- package/lib/@openglobus/js/entity/Entity.d.ts +23 -12
- package/lib/@openglobus/js/entity/EntityCollection.d.ts +4 -3
- package/lib/@openglobus/js/entity/GeoObject.d.ts +2 -2
- package/lib/@openglobus/js/entity/Geometry.d.ts +4 -3
- package/lib/@openglobus/js/entity/GeometryHandler.d.ts +3 -2
- package/lib/@openglobus/js/entity/InstanceData.d.ts +2 -2
- package/lib/@openglobus/js/entity/Label.d.ts +4 -2
- package/lib/@openglobus/js/entity/LabelHandler.d.ts +1 -1
- package/lib/@openglobus/js/entity/PointCloud.d.ts +1 -1
- package/lib/@openglobus/js/entity/Polyline.d.ts +9 -7
- package/lib/@openglobus/js/entity/Ray.d.ts +4 -2
- package/lib/@openglobus/js/entity/RayHandler.d.ts +2 -2
- package/lib/@openglobus/js/entity/Strip.d.ts +5 -3
- package/lib/@openglobus/js/input/KeyboardHandler.d.ts +1 -1
- package/lib/@openglobus/js/layer/BaseGeoImage.d.ts +6 -5
- package/lib/@openglobus/js/layer/Bing.d.ts +2 -1
- package/lib/@openglobus/js/layer/CanvasTiles.d.ts +4 -3
- package/lib/@openglobus/js/layer/GeoImage.d.ts +2 -1
- package/lib/@openglobus/js/layer/GeoTexture2d.d.ts +3 -2
- package/lib/@openglobus/js/layer/GeoVideo.d.ts +2 -1
- package/lib/@openglobus/js/layer/KML.d.ts +5 -3
- package/lib/@openglobus/js/layer/Layer.d.ts +5 -4
- package/lib/@openglobus/js/layer/Material.d.ts +2 -2
- package/lib/@openglobus/js/layer/OpenStreetMap.d.ts +2 -1
- package/lib/@openglobus/js/layer/Vector.d.ts +9 -7
- package/lib/@openglobus/js/layer/WMS.d.ts +2 -1
- package/lib/@openglobus/js/layer/XYZ.d.ts +4 -3
- package/lib/@openglobus/js/math/Quat.d.ts +6 -1
- package/lib/@openglobus/js/math/Vec3.d.ts +3 -2
- package/lib/@openglobus/js/math/coder.d.ts +5 -3
- package/lib/@openglobus/js/math/index.d.ts +6 -3
- package/lib/@openglobus/js/math.d.ts +2 -2
- package/lib/@openglobus/js/quadTree/earth/EarthEntityCollectionNodeLonLat.d.ts +2 -1
- package/lib/@openglobus/js/quadTree/earth/EarthQuadTreeStrategy.d.ts +0 -2
- package/lib/@openglobus/js/quadTree/equi/EquiEntityCollectionNodeLonLat.d.ts +2 -1
- package/lib/@openglobus/js/renderer/Renderer.d.ts +5 -3
- package/lib/@openglobus/js/renderer/RendererEvents.d.ts +6 -3
- package/lib/@openglobus/js/scene/Axes.d.ts +1 -1
- package/lib/@openglobus/js/scene/Planet.d.ts +8 -6
- package/lib/@openglobus/js/scene/SkyBox.d.ts +1 -1
- package/lib/@openglobus/js/segment/Segment.d.ts +7 -5
- package/lib/@openglobus/js/segment/SegmentLonLat.d.ts +1 -1
- package/lib/@openglobus/js/segment/SegmentLonLatEqui.d.ts +1 -1
- package/lib/@openglobus/js/shaders/atmos.d.ts +1 -1
- package/lib/@openglobus/js/shaders/drawnode.d.ts +1 -1
- package/lib/@openglobus/js/terrain/BilTerrain.d.ts +3 -2
- package/lib/@openglobus/js/terrain/EmptyTerrain.d.ts +1 -1
- package/lib/@openglobus/js/terrain/GlobusRgbTerrain.d.ts +2 -1
- package/lib/@openglobus/js/terrain/GlobusTerrain.d.ts +5 -4
- package/lib/@openglobus/js/terrain/RgbTerrain.d.ts +3 -2
- package/lib/@openglobus/js/ui/Button.d.ts +3 -2
- package/lib/@openglobus/js/ui/ButtonGroup.d.ts +1 -1
- package/lib/@openglobus/js/ui/Checkbox.d.ts +3 -2
- package/lib/@openglobus/js/ui/Color.d.ts +3 -2
- package/lib/@openglobus/js/ui/Dialog.d.ts +3 -2
- package/lib/@openglobus/js/ui/Input.d.ts +3 -2
- package/lib/@openglobus/js/ui/Slider.d.ts +3 -2
- package/lib/@openglobus/js/ui/ToggleButton.d.ts +4 -3
- package/lib/@openglobus/js/ui/View.d.ts +1 -1
- package/lib/@openglobus/js/utils/FontAtlas.d.ts +1 -1
- package/lib/@openglobus/js/utils/GeoImageCreator.d.ts +1 -1
- package/lib/@openglobus/js/utils/Loader.d.ts +1 -1
- package/lib/@openglobus/js/utils/NormalMapCreator.d.ts +2 -1
- package/lib/@openglobus/js/utils/TerrainWorker.d.ts +1 -1
- package/lib/@openglobus/js/utils/TextureAtlas.d.ts +4 -2
- package/lib/@openglobus/js/utils/objParser.d.ts +1 -1
- package/lib/@openglobus/js/utils/shared.d.ts +5 -3
- package/lib/@openglobus/js/webgl/Framebuffer.d.ts +3 -2
- package/lib/@openglobus/js/webgl/Handler.d.ts +11 -7
- package/lib/@openglobus/js/webgl/Multisample.d.ts +2 -1
- package/lib/@openglobus/js/webgl/Program.d.ts +2 -2
- package/lib/@openglobus/js/webgl/ProgramController.d.ts +2 -1
- package/lib/@openglobus/js/webgl/variableHandlers.d.ts +1 -1
- package/lib/@openglobus/og.esm.js +1 -1
- package/lib/@openglobus/og.esm.js.map +1 -1
- package/lib/@openglobus/og.umd.js +1 -1
- package/lib/@openglobus/og.umd.js.map +1 -1
- package/lib/js/Clock.d.ts +2 -2
- package/lib/js/Globe.d.ts +10 -5
- package/lib/js/Globe.js +6 -2
- package/lib/js/LonLat.d.ts +2 -2
- package/lib/js/Object3d.d.ts +3 -2
- package/lib/js/Popup.d.ts +7 -4
- package/lib/js/astro/astro.d.ts +1 -1
- package/lib/js/astro/earth.d.ts +1 -1
- package/lib/js/bv/Box.d.ts +1 -1
- package/lib/js/camera/Camera.d.ts +7 -4
- package/lib/js/camera/Frustum.d.ts +2 -2
- package/lib/js/camera/PlanetCamera.d.ts +1 -1
- package/lib/js/control/Atmosphere.d.ts +3 -3
- package/lib/js/control/AtmosphereConfig.d.ts +2 -2
- package/lib/js/control/CameraLock.d.ts +3 -3
- package/lib/js/control/CompassButton.d.ts +1 -1
- package/lib/js/control/DebugInfo.d.ts +1 -1
- package/lib/js/control/EarthCoordinates.d.ts +2 -2
- package/lib/js/control/GeoImageDragControl.d.ts +2 -2
- package/lib/js/control/KeyboardNavigation.d.ts +1 -1
- package/lib/js/control/LayerAnimation.d.ts +2 -2
- package/lib/js/control/LayerSwitcher.d.ts +4 -2
- package/lib/js/control/Lighting.d.ts +2 -1
- package/lib/js/control/MouseNavigation.d.ts +3 -2
- package/lib/js/control/OldMouseNavigation.d.ts +3 -2
- package/lib/js/control/RulerSwitcher.d.ts +2 -1
- package/lib/js/control/ScaleControl.d.ts +2 -1
- package/lib/js/control/SegmentBoundVisualization.d.ts +2 -1
- package/lib/js/control/ShowFps.d.ts +2 -1
- package/lib/js/control/SimpleNavigation.d.ts +3 -2
- package/lib/js/control/SimpleSkyBackground.d.ts +2 -1
- package/lib/js/control/Sun.d.ts +2 -1
- package/lib/js/control/ToggleWireframe.d.ts +2 -1
- package/lib/js/control/TouchNavigation.d.ts +3 -2
- package/lib/js/control/ZoomControl.d.ts +2 -1
- package/lib/js/control/drawing/DrawingControl.d.ts +1 -1
- package/lib/js/control/drawing/LineStringDrawingScene.d.ts +1 -1
- package/lib/js/control/drawing/PolygonDrawingScene.d.ts +3 -3
- package/lib/js/control/drawing/PolygonDrawingScene.js +0 -1
- package/lib/js/control/elevationProfile/ElevationProfile.d.ts +1 -1
- package/lib/js/control/elevationProfile/ElevationProfileButtonsView.d.ts +3 -2
- package/lib/js/control/elevationProfile/ElevationProfileControl.d.ts +2 -2
- package/lib/js/control/elevationProfile/ElevationProfileControl.js +0 -2
- package/lib/js/control/elevationProfile/ElevationProfileLegend.d.ts +1 -1
- package/lib/js/control/elevationProfile/ElevationProfileScene.d.ts +2 -2
- package/lib/js/control/elevationProfile/ElevationProfileView.d.ts +6 -4
- package/lib/js/control/elevationProfile/ElevationProfileView.js +1 -1
- package/lib/js/control/elevationProfile/PointListDialog.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/ArrowEntity.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/AxisTrackEntity.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/GeoObjectEditor.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/GeoObjectEditorDialog.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/GeoObjectEditorScene.d.ts +2 -2
- package/lib/js/control/geoObjectEditor/MoveAxisEntity.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/MovePlaneEntity.d.ts +1 -1
- package/lib/js/control/geoObjectEditor/RotateEntity.d.ts +1 -1
- package/lib/js/control/heightRuler/HeightRuler.d.ts +1 -1
- package/lib/js/control/heightRuler/HeightRulerScene.d.ts +1 -1
- package/lib/js/control/ruler/Ruler.d.ts +2 -1
- package/lib/js/control/ruler/RulerScene.d.ts +2 -2
- package/lib/js/control/selection/Selection.d.ts +2 -1
- package/lib/js/control/timeline/TimelineControl.d.ts +1 -1
- package/lib/js/control/timeline/TimelineModel.d.ts +1 -1
- package/lib/js/control/timeline/TimelineView.d.ts +4 -3
- package/lib/js/ellipsoid/Ellipsoid.d.ts +1 -1
- package/lib/js/ellipsoid/Ellipsoid.js +1 -1
- package/lib/js/entity/BaseBillboard.d.ts +6 -3
- package/lib/js/entity/BaseBillboardHandler.d.ts +2 -2
- package/lib/js/entity/Billboard.d.ts +3 -2
- package/lib/js/entity/Entity.d.ts +23 -12
- package/lib/js/entity/EntityCollection.d.ts +4 -3
- package/lib/js/entity/GeoObject.d.ts +2 -2
- package/lib/js/entity/Geometry.d.ts +4 -3
- package/lib/js/entity/GeometryHandler.d.ts +3 -2
- package/lib/js/entity/InstanceData.d.ts +2 -2
- package/lib/js/entity/Label.d.ts +4 -2
- package/lib/js/entity/LabelHandler.d.ts +1 -1
- package/lib/js/entity/PointCloud.d.ts +1 -1
- package/lib/js/entity/Polyline.d.ts +9 -7
- package/lib/js/entity/Polyline.js +2 -1
- package/lib/js/entity/Ray.d.ts +4 -2
- package/lib/js/entity/RayHandler.d.ts +2 -2
- package/lib/js/entity/Strip.d.ts +5 -3
- package/lib/js/input/KeyboardHandler.d.ts +1 -1
- package/lib/js/layer/BaseGeoImage.d.ts +6 -5
- package/lib/js/layer/Bing.d.ts +2 -1
- package/lib/js/layer/CanvasTiles.d.ts +4 -3
- package/lib/js/layer/GeoImage.d.ts +2 -1
- package/lib/js/layer/GeoTexture2d.d.ts +3 -2
- package/lib/js/layer/GeoVideo.d.ts +2 -1
- package/lib/js/layer/KML.d.ts +5 -3
- package/lib/js/layer/KML.js +1 -1
- package/lib/js/layer/Layer.d.ts +5 -4
- package/lib/js/layer/Material.d.ts +2 -2
- package/lib/js/layer/OpenStreetMap.d.ts +2 -1
- package/lib/js/layer/Vector.d.ts +9 -7
- package/lib/js/layer/Vector.js +1 -1
- package/lib/js/layer/WMS.d.ts +2 -1
- package/lib/js/layer/XYZ.d.ts +4 -3
- package/lib/js/math/Quat.d.ts +6 -1
- package/lib/js/math/Quat.js +6 -1
- package/lib/js/math/Vec3.d.ts +3 -2
- package/lib/js/math/coder.d.ts +5 -3
- package/lib/js/math/index.d.ts +6 -3
- package/lib/js/math.d.ts +2 -2
- package/lib/js/math.js +2 -2
- package/lib/js/quadTree/earth/EarthEntityCollectionNodeLonLat.d.ts +2 -1
- package/lib/js/quadTree/earth/EarthQuadTreeStrategy.d.ts +0 -2
- package/lib/js/quadTree/equi/EquiEntityCollectionNodeLonLat.d.ts +2 -1
- package/lib/js/renderer/Renderer.d.ts +5 -3
- package/lib/js/renderer/RendererEvents.d.ts +6 -3
- package/lib/js/renderer/RendererEvents.js +2 -2
- package/lib/js/scene/Axes.d.ts +1 -1
- package/lib/js/scene/Planet.d.ts +8 -6
- package/lib/js/scene/SkyBox.d.ts +1 -1
- package/lib/js/segment/Segment.d.ts +7 -5
- package/lib/js/segment/SegmentLonLat.d.ts +1 -1
- package/lib/js/segment/SegmentLonLatEqui.d.ts +1 -1
- package/lib/js/shaders/atmos.d.ts +1 -1
- package/lib/js/shaders/drawnode.d.ts +1 -1
- package/lib/js/terrain/BilTerrain.d.ts +3 -2
- package/lib/js/terrain/EmptyTerrain.d.ts +1 -1
- package/lib/js/terrain/GlobusRgbTerrain.d.ts +2 -1
- package/lib/js/terrain/GlobusTerrain.d.ts +5 -4
- package/lib/js/terrain/RgbTerrain.d.ts +3 -2
- package/lib/js/ui/Button.d.ts +3 -2
- package/lib/js/ui/ButtonGroup.d.ts +1 -1
- package/lib/js/ui/Checkbox.d.ts +3 -2
- package/lib/js/ui/Color.d.ts +3 -2
- package/lib/js/ui/Dialog.d.ts +3 -2
- package/lib/js/ui/Input.d.ts +3 -2
- package/lib/js/ui/Slider.d.ts +3 -2
- package/lib/js/ui/ToggleButton.d.ts +4 -3
- package/lib/js/ui/View.d.ts +1 -1
- package/lib/js/utils/FontAtlas.d.ts +1 -1
- package/lib/js/utils/GeoImageCreator.d.ts +1 -1
- package/lib/js/utils/Loader.d.ts +1 -1
- package/lib/js/utils/NormalMapCreator.d.ts +2 -1
- package/lib/js/utils/TerrainWorker.d.ts +1 -1
- package/lib/js/utils/TextureAtlas.d.ts +4 -2
- package/lib/js/utils/objParser.d.ts +1 -1
- package/lib/js/utils/shared.d.ts +5 -3
- package/lib/js/webgl/Framebuffer.d.ts +3 -2
- package/lib/js/webgl/Handler.d.ts +11 -7
- package/lib/js/webgl/Handler.js +6 -3
- package/lib/js/webgl/Multisample.d.ts +2 -1
- package/lib/js/webgl/Program.d.ts +2 -2
- package/lib/js/webgl/ProgramController.d.ts +2 -1
- package/lib/js/webgl/variableHandlers.d.ts +1 -1
- package/package.json +1 -1
package/lib/js/Clock.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EventsHandler } from "./Events";
|
|
2
|
-
import { JulianDate } from "./astro/jd";
|
|
1
|
+
import { type EventsHandler } from "./Events";
|
|
2
|
+
import type { JulianDate } from "./astro/jd";
|
|
3
3
|
import { Handler } from "./webgl/Handler";
|
|
4
4
|
type ClockEventsList = ["tick", "end", "start", "stop"];
|
|
5
5
|
export interface IClockParams {
|
package/lib/js/Globe.d.ts
CHANGED
|
@@ -2,14 +2,15 @@ import { Control } from "./control/Control";
|
|
|
2
2
|
import { Ellipsoid } from "./ellipsoid/Ellipsoid";
|
|
3
3
|
import { EmptyTerrain } from "./terrain/EmptyTerrain";
|
|
4
4
|
import { Layer } from "./layer/Layer";
|
|
5
|
-
import { NumberArray2 } from "./math/Vec2";
|
|
6
|
-
import { NumberArray4 } from "./math/Vec4";
|
|
5
|
+
import type { NumberArray2 } from "./math/Vec2";
|
|
6
|
+
import type { NumberArray4 } from "./math/Vec4";
|
|
7
7
|
import { Planet } from "./scene/Planet";
|
|
8
8
|
import { Sun } from "./control/Sun";
|
|
9
|
-
import {
|
|
9
|
+
import { Renderer } from "./renderer/Renderer";
|
|
10
|
+
import type { HTMLDivElementExt } from "./renderer/Renderer";
|
|
10
11
|
import { RenderNode } from "./scene/RenderNode";
|
|
11
12
|
import { Extent } from "./Extent";
|
|
12
|
-
import { IAtmosphereParams } from "./control/Atmosphere";
|
|
13
|
+
import type { IAtmosphereParams } from "./control/Atmosphere";
|
|
13
14
|
export interface IGlobeParams {
|
|
14
15
|
attributionContainer?: HTMLElement;
|
|
15
16
|
target?: string | HTMLElement;
|
|
@@ -47,6 +48,10 @@ export interface IGlobeParams {
|
|
|
47
48
|
gamma?: number;
|
|
48
49
|
exposure?: number;
|
|
49
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* @typedef {Array<number>} LonLatCoordinate
|
|
53
|
+
* @typedef {Array<LonLatCoordinate>} ExtentBoundingBox
|
|
54
|
+
*/
|
|
50
55
|
/**
|
|
51
56
|
* Creates a WebGL context with globe.
|
|
52
57
|
* @class
|
|
@@ -78,7 +83,7 @@ export interface IGlobeParams {
|
|
|
78
83
|
* @param {EmptyTerrain} [options.terrain] - Terrain provider. Default no terrain - og.terrain.EmptyTerrain.
|
|
79
84
|
* @param {Array.<Control>} [options.controls] - Renderer controls array.
|
|
80
85
|
* @param {Array.<Layer>} [options.layers] - Planet layers.
|
|
81
|
-
* @param {Extent|
|
|
86
|
+
* @param {Extent | ExtentBoundingBox} [options.viewExtent] [options.viewExtent] - Viewable starting extent.
|
|
82
87
|
* @param {boolean} [options.autoActivate=true] - Globe rendering auto activation flag. True is default.
|
|
83
88
|
* @param {HTMLElement} [options.attributionContainer] - Container for attribution list.
|
|
84
89
|
* @param {number} [options.maxGridSize=128] = Maximal segment grid size. 128 is default
|
package/lib/js/Globe.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// #
|
|
1
|
+
// #StandWith
|
|
2
2
|
import { CompassButton } from "./control/CompassButton";
|
|
3
3
|
import { EarthCoordinates } from "./control/EarthCoordinates";
|
|
4
4
|
import { EmptyTerrain } from "./terrain/EmptyTerrain";
|
|
@@ -16,6 +16,10 @@ const DEFAULT_SPEC_SRC = `/spec.png`;
|
|
|
16
16
|
const DEFAULT_RESOURCES_SRC = '/res';
|
|
17
17
|
/** @const {string} */
|
|
18
18
|
const PLANET_NAME_PREFIX = "globus_planet_";
|
|
19
|
+
/**
|
|
20
|
+
* @typedef {Array<number>} LonLatCoordinate
|
|
21
|
+
* @typedef {Array<LonLatCoordinate>} ExtentBoundingBox
|
|
22
|
+
*/
|
|
19
23
|
/**
|
|
20
24
|
* Creates a WebGL context with globe.
|
|
21
25
|
* @class
|
|
@@ -47,7 +51,7 @@ const PLANET_NAME_PREFIX = "globus_planet_";
|
|
|
47
51
|
* @param {EmptyTerrain} [options.terrain] - Terrain provider. Default no terrain - og.terrain.EmptyTerrain.
|
|
48
52
|
* @param {Array.<Control>} [options.controls] - Renderer controls array.
|
|
49
53
|
* @param {Array.<Layer>} [options.layers] - Planet layers.
|
|
50
|
-
* @param {Extent|
|
|
54
|
+
* @param {Extent | ExtentBoundingBox} [options.viewExtent] [options.viewExtent] - Viewable starting extent.
|
|
51
55
|
* @param {boolean} [options.autoActivate=true] - Globe rendering auto activation flag. True is default.
|
|
52
56
|
* @param {HTMLElement} [options.attributionContainer] - Container for attribution list.
|
|
53
57
|
* @param {number} [options.maxGridSize=128] = Maximal segment grid size. 128 is default
|
package/lib/js/LonLat.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NumberArray2 } from "./math/Vec2";
|
|
2
|
-
import { NumberArray3 } from "./math/Vec3";
|
|
1
|
+
import type { NumberArray2 } from "./math/Vec2";
|
|
2
|
+
import type { NumberArray3 } from "./math/Vec3";
|
|
3
3
|
/**
|
|
4
4
|
* Represents a geographical point with a certain latitude, longitude and height.
|
|
5
5
|
* @class
|
package/lib/js/Object3d.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { TypedArray } from './utils/shared';
|
|
2
|
-
import {
|
|
1
|
+
import type { TypedArray } from './utils/shared';
|
|
2
|
+
import { Vec3 } from './math/Vec3';
|
|
3
|
+
import type { NumberArray3 } from './math/Vec3';
|
|
3
4
|
import { Mat4 } from "./math/Mat4";
|
|
4
5
|
interface IObject3dParams {
|
|
5
6
|
name?: string;
|
package/lib/js/Popup.d.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { EventsHandler } from "./Events";
|
|
1
|
+
import type { EventsHandler } from "./Events";
|
|
2
2
|
import { LonLat } from "./LonLat";
|
|
3
3
|
import { Planet } from "./scene/Planet";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { Vec2 } from "./math/Vec2";
|
|
5
|
+
import { Vec3 } from "./math/Vec3";
|
|
6
|
+
import type { NumberArray2 } from "./math/Vec2";
|
|
7
|
+
import type { NumberArray3 } from "./math/Vec3";
|
|
8
|
+
import { View } from './ui/View';
|
|
9
|
+
import type { IViewParams, ViewEventsList } from './ui/View';
|
|
7
10
|
interface IPopupParams extends IViewParams {
|
|
8
11
|
planet: Planet;
|
|
9
12
|
title?: string;
|
package/lib/js/astro/astro.d.ts
CHANGED
package/lib/js/astro/earth.d.ts
CHANGED
package/lib/js/bv/Box.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Vec3 } from "../math/Vec3";
|
|
2
|
-
import { NumberArray6 } from "./Sphere";
|
|
2
|
+
import type { NumberArray6 } from "./Sphere";
|
|
3
3
|
import { Ellipsoid } from "../ellipsoid/Ellipsoid";
|
|
4
4
|
import { Extent } from "../Extent";
|
|
5
5
|
type Vec3Array8 = [Vec3, Vec3, Vec3, Vec3, Vec3, Vec3, Vec3, Vec3];
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { EventsHandler } from "../Events";
|
|
1
|
+
import { type EventsHandler } from "../Events";
|
|
2
2
|
import { Frustum } from "./Frustum";
|
|
3
|
-
import { Mat3
|
|
4
|
-
import {
|
|
3
|
+
import { Mat3 } from "../math/Mat3";
|
|
4
|
+
import type { NumberArray9 } from "../math/Mat3";
|
|
5
|
+
import { Mat4 } from "../math/Mat4";
|
|
6
|
+
import type { NumberArray16 } from "../math/Mat4";
|
|
5
7
|
import { Renderer } from "../renderer/Renderer";
|
|
6
|
-
import { Vec2
|
|
8
|
+
import { Vec2 } from "../math/Vec2";
|
|
9
|
+
import type { NumberArray2 } from "../math/Vec2";
|
|
7
10
|
import { Vec3 } from "../math/Vec3";
|
|
8
11
|
import { Sphere } from "../bv/Sphere";
|
|
9
12
|
import { Quat } from "../math/Quat";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Box } from "../bv/Box";
|
|
2
|
-
import { Mat4, NumberArray16 } from "../math/Mat4";
|
|
3
|
-
import { NumberArray4 } from "../math/Vec4";
|
|
2
|
+
import { Mat4, type NumberArray16 } from "../math/Mat4";
|
|
3
|
+
import type { NumberArray4 } from "../math/Vec4";
|
|
4
4
|
import { Sphere } from "../bv/Sphere";
|
|
5
5
|
import { Vec3 } from "../math/Vec3";
|
|
6
6
|
interface IFrustumParams {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AtmosphereParameters } from "../shaders/atmos";
|
|
1
|
+
import { type AtmosphereParameters } from "../shaders/atmos";
|
|
2
2
|
import { Framebuffer } from "../webgl/Framebuffer";
|
|
3
|
-
import { Control, IControlParams } from "./Control";
|
|
4
|
-
import { NumberArray3 } from '../math/Vec3';
|
|
3
|
+
import { Control, type IControlParams } from "./Control";
|
|
4
|
+
import type { NumberArray3 } from '../math/Vec3';
|
|
5
5
|
export interface IAtmosphereParams extends IControlParams {
|
|
6
6
|
height?: number;
|
|
7
7
|
rayleighScale?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Control, IControlParams } from "./Control";
|
|
1
|
+
import { Control, type IControlParams } from "./Control";
|
|
2
2
|
import { Dialog } from '../ui/Dialog';
|
|
3
3
|
import { Slider } from "../ui/Slider";
|
|
4
4
|
import { ToggleButton } from "../ui/ToggleButton";
|
|
5
5
|
import { View } from '../ui/View';
|
|
6
|
-
import { AtmosphereParameters } from "../shaders/atmos";
|
|
6
|
+
import type { AtmosphereParameters } from "../shaders/atmos";
|
|
7
7
|
interface IAtmosphereConfigParams extends IControlParams {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Control, IControlParams } from "./Control";
|
|
1
|
+
import { Control, type IControlParams } from "./Control";
|
|
2
2
|
import { LonLat } from "../LonLat";
|
|
3
3
|
import { Vec3 } from "../math/Vec3";
|
|
4
|
-
import { EventsHandler } from "../Events";
|
|
4
|
+
import { type EventsHandler } from "../Events";
|
|
5
5
|
import { Entity } from "../entity/Entity";
|
|
6
|
-
import { IMouseState } from "../renderer/RendererEvents";
|
|
6
|
+
import type { IMouseState } from "../renderer/RendererEvents";
|
|
7
7
|
import { Planet } from "../scene/Planet";
|
|
8
8
|
type CameraLockEventsList = ["lockview", "unlockview"];
|
|
9
9
|
interface ICameraLockParams extends IControlParams {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Control, IControlParams } from './Control';
|
|
1
|
+
import { Control, type IControlParams } from './Control';
|
|
2
2
|
import { LonLat } from '../LonLat';
|
|
3
|
-
import { IMouseState } from "../renderer/RendererEvents";
|
|
3
|
+
import type { IMouseState } from "../renderer/RendererEvents";
|
|
4
4
|
interface IEarthCoordinatesParams extends IControlParams {
|
|
5
5
|
heightMode?: string;
|
|
6
6
|
centerMode?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Control, IControlParams } from './Control';
|
|
1
|
+
import { Control, type IControlParams } from './Control';
|
|
2
2
|
import { Layer } from "../layer/Layer";
|
|
3
3
|
import { ToggleButton } from "../ui/ToggleButton";
|
|
4
|
-
import { IMouseState } from "../renderer/RendererEvents";
|
|
4
|
+
import type { IMouseState } from "../renderer/RendererEvents";
|
|
5
5
|
interface IGeoImageDragControlParams extends IControlParams {
|
|
6
6
|
}
|
|
7
7
|
export declare class GeoImageDragControl extends Control {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventsHandler } from '../Events';
|
|
1
|
+
import { type EventsHandler } from '../Events';
|
|
2
2
|
import { Layer } from '../layer/Layer';
|
|
3
|
-
import { Control, IControlParams } from "./Control";
|
|
3
|
+
import { Control, type IControlParams } from "./Control";
|
|
4
4
|
type LayerAnimationEventsList = ["change", "idle", "play", "pause", "stop"];
|
|
5
5
|
interface ILayerAnimationParams extends IControlParams {
|
|
6
6
|
layers?: Layer;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { Control
|
|
1
|
+
import { Control } from "./Control";
|
|
2
|
+
import type { IControlParams } from "./Control";
|
|
2
3
|
import { Dialog } from "../ui/Dialog";
|
|
3
4
|
import { Layer } from "../layer/Layer";
|
|
4
5
|
import { ToggleButton } from "../ui/ToggleButton";
|
|
5
|
-
import {
|
|
6
|
+
import { View } from "../ui/View";
|
|
7
|
+
import type { IViewParams } from "../ui/View";
|
|
6
8
|
interface ILayerSwitcherParams extends IControlParams {
|
|
7
9
|
}
|
|
8
10
|
declare class LayerButtonView extends View<Layer> {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Control
|
|
2
|
-
import {
|
|
1
|
+
import { Control } from "./Control";
|
|
2
|
+
import type { IControlParams } from "./Control";
|
|
3
|
+
import type { IMouseState } from "../renderer/RendererEvents";
|
|
3
4
|
import { Quat } from "../math/Quat";
|
|
4
5
|
import { Sphere } from "../bv/Sphere";
|
|
5
6
|
import { Vec2 } from "../math/Vec2";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Control
|
|
1
|
+
import { Control } from "./Control";
|
|
2
|
+
import type { IControlParams } from "./Control";
|
|
2
3
|
import { Key } from "../Lock";
|
|
3
4
|
import { Quat } from "../math/Quat";
|
|
4
5
|
import { Sphere } from "../bv/Sphere";
|
|
@@ -6,7 +7,7 @@ import { Vec3 } from "../math/Vec3";
|
|
|
6
7
|
import { Vec2 } from "../math/Vec2";
|
|
7
8
|
import { Planet } from "../scene/Planet";
|
|
8
9
|
import { PlanetCamera } from "../camera/PlanetCamera";
|
|
9
|
-
import { IMouseState } from "../renderer/RendererEvents";
|
|
10
|
+
import type { IMouseState } from "../renderer/RendererEvents";
|
|
10
11
|
export interface IStepForward {
|
|
11
12
|
eye: Vec3;
|
|
12
13
|
v: Vec3;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Control
|
|
1
|
+
import { Control } from "./Control";
|
|
2
|
+
import type { IControlParams } from "./Control";
|
|
2
3
|
import { HeightRuler } from "./heightRuler/HeightRuler";
|
|
3
4
|
interface IRulerSwitcherParams extends IControlParams {
|
|
4
5
|
ignoreTerrain?: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Control
|
|
2
|
-
import {
|
|
1
|
+
import { Control } from "./Control";
|
|
2
|
+
import type { IControlParams } from "./Control";
|
|
3
|
+
import type { IMouseState } from "../renderer/RendererEvents";
|
|
3
4
|
import { Vec3 } from "../math/Vec3";
|
|
4
5
|
interface ISimpleNavigationParams extends IControlParams {
|
|
5
6
|
speed?: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Control
|
|
1
|
+
import { Control } from "./Control";
|
|
2
|
+
import type { IControlParams } from "./Control";
|
|
2
3
|
interface ISimpleSkyBackgroundParams extends IControlParams {
|
|
3
4
|
}
|
|
4
5
|
export declare class SimpleSkyBackground extends Control {
|
package/lib/js/control/Sun.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Control
|
|
1
|
+
import { Control } from "./Control";
|
|
2
|
+
import type { IControlParams } from "./Control";
|
|
2
3
|
import { Clock } from "../Clock";
|
|
3
4
|
import { LightSource } from "../light/LightSource";
|
|
4
5
|
interface ISunParams extends IControlParams {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { Control
|
|
1
|
+
import { Control } from "./Control";
|
|
2
|
+
import type { IControlParams } from "./Control";
|
|
2
3
|
import { Key } from "../Lock";
|
|
3
4
|
import { Quat } from "../math/Quat";
|
|
4
5
|
import { Sphere } from "../bv/Sphere";
|
|
5
6
|
import { Vec2 } from "../math/Vec2";
|
|
6
7
|
import { Vec3 } from "../math/Vec3";
|
|
7
|
-
import { ITouchState } from "../renderer/RendererEvents";
|
|
8
|
+
import type { ITouchState } from "../renderer/RendererEvents";
|
|
8
9
|
interface ITouchNavigationParams extends IControlParams {
|
|
9
10
|
}
|
|
10
11
|
declare class TouchExt {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Key } from "../Lock";
|
|
2
|
-
import { Control
|
|
2
|
+
import { Control } from "./Control";
|
|
3
|
+
import type { IControlParams } from "./Control";
|
|
3
4
|
import { Renderer } from "../renderer/Renderer";
|
|
4
5
|
import { Vec2 } from "../math/Vec2";
|
|
5
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Control, IControlParams } from "../Control";
|
|
1
|
+
import { Control, type IControlParams } from "../Control";
|
|
2
2
|
import { PolygonDrawingScene } from "./PolygonDrawingScene";
|
|
3
3
|
declare class DrawingControl extends Control {
|
|
4
4
|
protected _drawingScene: PolygonDrawingScene;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Vec2 } from "../../math/Vec2";
|
|
2
2
|
import { Vec3 } from "../../math/Vec3";
|
|
3
|
-
import { PolygonDrawingScene, IPolygonDrawingSceneParams } from "./PolygonDrawingScene";
|
|
3
|
+
import { PolygonDrawingScene, type IPolygonDrawingSceneParams } from "./PolygonDrawingScene";
|
|
4
4
|
declare class LineStringDrawingScene extends PolygonDrawingScene {
|
|
5
5
|
constructor(props: IPolygonDrawingSceneParams);
|
|
6
6
|
get geometryType(): string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EventsHandler } from '../../Events';
|
|
2
|
-
import { CoordinatesType } from "../../entity/Geometry";
|
|
1
|
+
import { type EventsHandler } from '../../Events';
|
|
2
|
+
import type { CoordinatesType } from "../../entity/Geometry";
|
|
3
3
|
import { Entity } from '../../entity/Entity';
|
|
4
|
-
import { IMouseState } from "../../renderer/RendererEvents";
|
|
4
|
+
import type { IMouseState } from "../../renderer/RendererEvents";
|
|
5
5
|
import { Object3d } from '../../Object3d';
|
|
6
6
|
import { Planet } from '../../scene/Planet';
|
|
7
7
|
import { RenderNode } from '../../scene/RenderNode';
|
|
@@ -207,7 +207,6 @@ class PolygonDrawingScene extends RenderNode {
|
|
|
207
207
|
this._planet.addLayer(this._centerLayer);
|
|
208
208
|
this.showGhostPointer();
|
|
209
209
|
this.startNewPoint();
|
|
210
|
-
this._planet.renderer.controls.mouseNavigation.deactivateDoubleClickZoom();
|
|
211
210
|
this._geometryLayer.addTo(this._planet);
|
|
212
211
|
this.events.on("change", this._onChange, this);
|
|
213
212
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { View
|
|
1
|
+
import { View } from "../../ui/View";
|
|
2
|
+
import type { IViewParams, ViewEventsList } from "../../ui/View";
|
|
2
3
|
import { ToggleButton } from "../../ui/ToggleButton";
|
|
3
|
-
import { EventsHandler } from "../../Events";
|
|
4
|
+
import type { EventsHandler } from "../../Events";
|
|
4
5
|
import { ElevationProfile } from "./ElevationProfile";
|
|
5
6
|
interface IElevationProfileButtonsViewParams extends IViewParams {
|
|
6
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Control, IControlParams } from "../Control";
|
|
1
|
+
import { Control, type IControlParams } from "../Control";
|
|
2
2
|
import { Dialog } from "../../ui/Dialog";
|
|
3
3
|
import { View } from "../../ui/View";
|
|
4
4
|
import { ToggleButton } from "../../ui/ToggleButton";
|
|
@@ -6,7 +6,7 @@ import { ElevationProfileView } from "./ElevationProfileView";
|
|
|
6
6
|
import { ElevationProfileScene } from "./ElevationProfileScene";
|
|
7
7
|
import { ElevationProfileButtonsView } from "./ElevationProfileButtonsView";
|
|
8
8
|
import { PointListDialog } from "./PointListDialog";
|
|
9
|
-
import { GroundItem, TrackItem } from "./ElevationProfile";
|
|
9
|
+
import type { GroundItem, TrackItem } from "./ElevationProfile";
|
|
10
10
|
import { ElevationProfileLegend } from "./ElevationProfileLegend";
|
|
11
11
|
interface IElevationProfileGraphParams extends IControlParams {
|
|
12
12
|
}
|
|
@@ -139,14 +139,12 @@ export class ElevationProfileControl extends Control {
|
|
|
139
139
|
this._elevationProfileScene.events.on("change", this._onSceneChange);
|
|
140
140
|
}
|
|
141
141
|
onactivate() {
|
|
142
|
-
this.renderer.controls.mouseNavigation.deactivateDoubleClickZoom();
|
|
143
142
|
this.planet && this._elevationProfileScene.bindPlanet(this.planet);
|
|
144
143
|
this.renderer && this.renderer.addNode(this._elevationProfileScene);
|
|
145
144
|
}
|
|
146
145
|
ondeactivate() {
|
|
147
146
|
this._poiListDialog.setVisibility(false);
|
|
148
147
|
this._elevationProfileView.model.clear();
|
|
149
|
-
this.renderer.controls.mouseNavigation.activateDoubleClickZoom();
|
|
150
148
|
this.renderer && this.renderer.removeNode(this._elevationProfileScene);
|
|
151
149
|
this._dialog.hide();
|
|
152
150
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Entity } from '../../entity/Entity';
|
|
2
|
-
import { EventsHandler } from '../../Events';
|
|
2
|
+
import { type EventsHandler } from '../../Events';
|
|
3
3
|
import { LonLat } from "../../LonLat";
|
|
4
4
|
import { Planet } from "../../scene/Planet";
|
|
5
5
|
import { RenderNode } from '../../scene/RenderNode';
|
|
6
6
|
import { Vector } from '../../layer/Vector';
|
|
7
7
|
import { Vec2 } from '../../math/Vec2';
|
|
8
8
|
import { Vec3 } from '../../math/Vec3';
|
|
9
|
-
import { IMouseState } from "../../renderer/RendererEvents";
|
|
9
|
+
import type { IMouseState } from "../../renderer/RendererEvents";
|
|
10
10
|
import { Ellipsoid } from "../../ellipsoid/Ellipsoid";
|
|
11
11
|
export interface IElevationProfileSceneParams {
|
|
12
12
|
name?: string;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { EventsHandler } from "../../Events";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import type { EventsHandler } from "../../Events";
|
|
2
|
+
import { View } from '../../ui/View';
|
|
3
|
+
import type { IViewParams, ViewEventsList } from '../../ui/View';
|
|
4
|
+
import { ElevationProfile } from './ElevationProfile';
|
|
5
|
+
import type { GroundItem, TrackItem } from './ElevationProfile';
|
|
6
|
+
import type { MouseEventExt } from "../../input/MouseHandler";
|
|
5
7
|
interface IElevationProfileViewParams extends IViewParams {
|
|
6
8
|
fillStyle?: string;
|
|
7
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { View } from '../../ui/View';
|
|
2
|
-
import { SAFE, WARNING, COLLISION, ElevationProfile } from './ElevationProfile';
|
|
2
|
+
import { SAFE, WARNING, COLLISION, ElevationProfile, } from './ElevationProfile';
|
|
3
3
|
import { distanceFormatExt, binarySearch } from "../../utils/shared";
|
|
4
4
|
const FILL_COLOR = "rgb(63, 63, 63)";
|
|
5
5
|
const TRACK_COLOR = "rgb(0, 255, 50)";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IDialogParams, Dialog } from "../../ui/Dialog";
|
|
1
|
+
import { type IDialogParams, Dialog } from "../../ui/Dialog";
|
|
2
2
|
import { ElevationProfileScene } from "./ElevationProfileScene";
|
|
3
3
|
interface IPointListDialog extends IDialogParams {
|
|
4
4
|
model: ElevationProfileScene;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Control, IControlParams } from "../Control";
|
|
1
|
+
import { Control, type IControlParams } from "../Control";
|
|
2
2
|
import { GeoObjectEditorScene } from "./GeoObjectEditorScene";
|
|
3
3
|
import { GeoObjectPropertiesDialog } from "./GeoObjectEditorDialog";
|
|
4
4
|
export interface IGeoObjectEditorParams extends IControlParams {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dialog, IDialogParams } from "../../ui/Dialog";
|
|
1
|
+
import { Dialog, type IDialogParams } from "../../ui/Dialog";
|
|
2
2
|
import { GeoObjectEditorScene } from "./GeoObjectEditorScene";
|
|
3
3
|
import { Entity } from "../../entity/Entity";
|
|
4
4
|
import { Input } from "../../ui/Input";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { EventsHandler } from '../../Events';
|
|
1
|
+
import { type EventsHandler } from '../../Events';
|
|
2
2
|
import { Planet } from "../../scene/Planet";
|
|
3
3
|
import { RenderNode } from '../../scene/RenderNode';
|
|
4
4
|
import { Vec2 } from '../../math/Vec2';
|
|
5
5
|
import { Vec3 } from '../../math/Vec3';
|
|
6
6
|
import { Quat } from '../../math/Quat';
|
|
7
|
-
import { IMouseState } from "../../renderer/RendererEvents";
|
|
7
|
+
import type { IMouseState } from "../../renderer/RendererEvents";
|
|
8
8
|
import { Ellipsoid } from "../../ellipsoid/Ellipsoid";
|
|
9
9
|
import { Entity } from "../../entity/Entity";
|
|
10
10
|
import { MoveAxisEntity } from "./MoveAxisEntity";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Entity, IEntityParams } from "../../entity/Entity";
|
|
1
|
+
import { Entity, type IEntityParams } from "../../entity/Entity";
|
|
2
2
|
import { Vec3 } from "../../math/Vec3";
|
|
3
3
|
import { ArrowEntity } from "./ArrowEntity";
|
|
4
4
|
export interface IAxisEntityParams extends IEntityParams {
|