TerrainViewEventMap: {
    CameraPosChanged: ((pos, v, up) => void);
    Click: ((mousePos, mapPos) => void);
    InputCompleted: ((event) => void);
    MeasureCompleted: ((event) => void);
    MouseDown: ((button, mousePos, mapPos) => void);
    MouseUp: ((button, mousePos, mapPos) => void);
    MoveEnd: (() => void);
    MoveFunStop: (() => void);
    MoveModeChanged: (() => void);
    MoveStart: (() => void);
    TouchEnd: ((event) => void);
    TouchMove: ((event) => void);
    TouchStart: ((event) => void);
}

視圖事件字典

Type declaration

  • CameraPosChanged: ((pos, v, up) => void)
  • Click: ((mousePos, mapPos) => void)
  • InputCompleted: ((event) => void)
      • (event): void
      • 輸入完成

        Parameters

        • event: {
              geo: unknown;
              success: boolean;
          }
          • geo: unknown
          • success: boolean

        Returns void

  • MeasureCompleted: ((event) => void)
      • (event): void
      • 測量完成

        Parameters

        • event: {
              geo: unknown;
              success: boolean;
          }
          • geo: unknown
          • success: boolean

        Returns void

  • MouseDown: ((button, mousePos, mapPos) => void)
      • (button, mousePos, mapPos): void
      • 滑鼠按下

        Parameters

        Returns void

  • MouseUp: ((button, mousePos, mapPos) => void)
      • (button, mousePos, mapPos): void
      • 滑鼠彈起

        Parameters

        Returns void

  • MoveEnd: (() => void)
      • (): void
      • 移動結束

        Returns void

  • MoveFunStop: (() => void)
      • (): void
      • 移動方式結束

        Returns void

  • MoveModeChanged: (() => void)
      • (): void
      • 移動方式改變

        Returns void

  • MoveStart: (() => void)
      • (): void
      • 移動開始

        Returns void

  • TouchEnd: ((event) => void)
  • TouchMove: ((event) => void)
  • TouchStart: ((event) => void)

Generated using TypeDoc