UNPKG

@zxh19890103/wik

Version:

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

42 lines (35 loc) 737 B
import { Renderer } from 'leaflet'; import { EventEmitterStatic3 } from 'eventemitter3'; import { WikMap } from './2d/basic'; declare global { const __PROD__: boolean; } declare module 'leaflet' { interface Renderer { _container: HTMLCanvasElement; _map: WikMap; _onMouseMove(e): void; _handleMouseOut(e): void; _onClick(e): void; } interface Layer { _mapToAdd: WikMap; } interface Canvas { _ctx: CanvasRenderingContext2D; _updatePoly(...args): any; } interface Popup { _element: HTMLDivElement; } interface LatLngBounds { /** * the left-bottom position */ _southWest: L.LatLng; /** * the right-top position */ _northEast: L.LatLng; } }