From bb1bb778444f1d7dfede665ed49e04cc9850a8fe Mon Sep 17 00:00:00 2001 From: wangxingkang Date: Thu, 16 Nov 2023 11:36:59 +0800 Subject: [PATCH] feat: export MapContext --- packages/amap/src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/amap/src/index.ts b/packages/amap/src/index.ts index 615f1818..9d29cdb1 100644 --- a/packages/amap/src/index.ts +++ b/packages/amap/src/index.ts @@ -1,4 +1,5 @@ import { Map, useMap } from './map'; +import { MapContext } from './map/context'; import { Ellipse } from './ellipse'; import { AutoComplete } from './auto-complete'; import { EllipseEditor } from './ellipse-editor'; @@ -39,6 +40,7 @@ import { toLnglat, toSize, toPixel, toBounds } from './utils'; export { APILoader, Map, + MapContext, useMap, Marker, MarkerCluster, @@ -83,6 +85,7 @@ export { export default { APILoader, Map, + MapContext, useMap, Marker, MarkerCluster,