@ray-js/robot-map-sdk 0.0.3-beta-2 → 0.0.3-beta-3

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/dist/index.d.ts CHANGED
@@ -1935,6 +1935,7 @@ export declare class MapApplication extends Application implements MapApi {
1935
1935
  /* Excluded from this release type: scaleMax */
1936
1936
  /* Excluded from this release type: events */
1937
1937
  /* Excluded from this release type: instanceKey */
1938
+ /* Excluded from this release type: containerElement */
1938
1939
  /* Excluded from this release type: emitter */
1939
1940
  /* Excluded from this release type: tickerState */
1940
1941
  private pendingAsyncRender;
@@ -3393,11 +3394,16 @@ export declare function useAppService(): AppService;
3393
3394
  declare class ViewportContainer extends Container {
3394
3395
  private viewportBounds;
3395
3396
  private maskGraphics;
3396
- constructor(config: AppConfig);
3397
+ private containerElement;
3398
+ constructor(config: AppConfig, containerElement?: HTMLElement | Window);
3397
3399
  /**
3398
3400
  * 计算视口边界
3399
3401
  */
3400
3402
  private calculateViewportBounds;
3403
+ /**
3404
+ * 获取容器尺寸
3405
+ */
3406
+ private getContainerSize;
3401
3407
  /**
3402
3408
  * 创建遮罩限制内容在视口内
3403
3409
  */