@openglobus/og 1.0.0-rc2 → 1.0.0-rc3

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.
@@ -37,7 +37,7 @@ export interface IFlyBaseParams {
37
37
  startCallback?: Function;
38
38
  frameCallback?: Function;
39
39
  }
40
- export declare const DEFAULT_FLIGHT_DURATION = 800;
40
+ export declare const DEFAULT_FLIGHT_DURATION = 1000;
41
41
  export declare const DEFAULT_EASING: EasingFunction;
42
42
  type CameraFrame = {
43
43
  eye: Vec3;
@@ -91,6 +91,7 @@ declare class PlanetCamera extends Camera {
91
91
  protected _keyLock: Key;
92
92
  protected _checkTerrainCollision: boolean;
93
93
  eyeNorm: Vec3;
94
+ protected _extentFitRequestId: number;
94
95
  constructor(planet: Planet, options?: IPlanetCameraParams);
95
96
  /**
96
97
  * Enables or disables terrain collision checks.
@@ -148,6 +149,11 @@ declare class PlanetCamera extends Camera {
148
149
  * @returns {Vec3}
149
150
  */
150
151
  getExtentPosition(extent: Extent, height?: number | null): Vec3;
152
+ protected _getExtentCenterHeightInfo(extent: Extent): {
153
+ height: number;
154
+ segmentZoom: number;
155
+ };
156
+ protected _isSegmentHeightAccurate(extentHeight: number, segmentZoom: number): boolean;
151
157
  /**
152
158
  * View current extent.
153
159
  * @public