DefinitelyTyped/types/ol/MapBrowserEvent.d.ts
2020-01-06 13:12:33 -08:00

19 lines
495 B
TypeScript

import { Coordinate } from './coordinate';
import MapEvent from './MapEvent';
import { Pixel } from './pixel';
import PluggableMap, { FrameState } from './PluggableMap';
export default class MapBrowserEvent extends MapEvent {
constructor(
type: string,
map: PluggableMap,
browserEvent: Event,
opt_dragging?: boolean,
opt_frameState?: FrameState,
);
coordinate: Coordinate;
dragging: boolean;
pixel: Pixel;
originalEvent: Event;
}