@web-map-service/map2d
Version:
基于openlayer的2D地图服务
11 lines (10 loc) • 440 B
TypeScript
import { Element } from '../container/elements/element';
import { Interactive } from './types';
import { InteractiveManager } from './interactiveManager';
export type MoveInteractive = Interactive<{
add(element: Element): void;
remove(element: Element): void;
clean(): void;
}>;
export type Emit = Element[];
export declare function createInteractive(interactiveManager: InteractiveManager, useSync?: boolean): MoveInteractive;