|
|
@ -2,6 +2,7 @@ import Emitter from "@finevis/emitter"; |
|
|
|
import "@amap/amap-jsapi-types"; |
|
|
|
import "@amap/amap-jsapi-types"; |
|
|
|
|
|
|
|
|
|
|
|
import { getOverlayPaths, getUID, registerHotkey } from "@utils"; |
|
|
|
import { getOverlayPaths, getUID, registerHotkey } from "@utils"; |
|
|
|
|
|
|
|
import { EventTypes } from "@types"; |
|
|
|
|
|
|
|
|
|
|
|
import { |
|
|
|
import { |
|
|
|
BaseOverlayEditor, |
|
|
|
BaseOverlayEditor, |
|
|
@ -11,12 +12,10 @@ import { |
|
|
|
CircleEditor, |
|
|
|
CircleEditor, |
|
|
|
} from "./editors"; |
|
|
|
} from "./editors"; |
|
|
|
|
|
|
|
|
|
|
|
import { IMapOptions, IMapEditor, IOverlay } from "./type"; |
|
|
|
import { IMapOptions, IMapEditor, IOverlay, OverlayTypes } from "./type"; |
|
|
|
|
|
|
|
|
|
|
|
import { PolygonOptions, PolylineOptions, SelectedOptions } from "./constants"; |
|
|
|
import { PolygonOptions, PolylineOptions, SelectedOptions } from "./constants"; |
|
|
|
|
|
|
|
|
|
|
|
import { EventTypes, OverlayTypes } from "../types/enum"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type AMapOverlayEditor = |
|
|
|
type AMapOverlayEditor = |
|
|
|
| AMap.RectangleEditor |
|
|
|
| AMap.RectangleEditor |
|
|
|
| AMap.PolygonEditor |
|
|
|
| AMap.PolygonEditor |
|
|
|