UNPKG

@zxh19890103/wik

Version:

The world-class JavaScript library for building large-scale digital warehouse both on 2D and 3D.

36 lines (35 loc) 1.34 kB
import L from 'leaflet'; import { ReactiveLayer } from '../../mixins'; import { InteractiveStateActionManager, ModeManager } from '../../model'; import { PaneManager, WikPane } from '../state/PaneManager.class'; import { ContextMenuItem, OnInteractive } from '../../interfaces'; interface GroupOptions { /** * @default group */ pane?: string; } declare const Group_base: import("../../interfaces").Constructor<L.Layer & ReactiveLayer>; export declare class Group extends Group_base implements OnInteractive { readonly paneMgr: PaneManager; readonly modeMgr: ModeManager; readonly interactiveStateActionManager: InteractiveStateActionManager; readonly paneObj: WikPane; readonly options: GroupOptions; constructor(layers?: ReactiveLayer[], options?: GroupOptions); onAdd(map: L.Map): this; onClick(e?: L.LeafletMouseEvent): void; onDblClick(e?: L.LeafletMouseEvent): void; onDragStart(): void; onDragging(latlng?: L.LatLng): void; onDragEnd(latlng?: L.LatLng): void; onContextMenu(evt?: L.LeafletMouseEvent): ContextMenuItem[]; onContextMenuClick(key: string): void | Promise<any>; onHighlight(): void; onUnHighlight(state?: any): void; onHover(): void; onUnHover(state?: any): void; onSelect(): void; onUnSelect(state?: any): void; } export {};