expo-gaode-map-navigation 2.0.17 → 2.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +10 -25
- package/build/ExpoGaodeMapNaviView.js +2 -1
- package/build/ExpoGaodeMapNaviView.js.map +1 -1
- package/build/ExpoGaodeMapNavigationModule.d.ts +1 -1
- package/build/ExpoGaodeMapNavigationModule.d.ts.map +1 -1
- package/build/ExpoGaodeMapNavigationModule.js.map +1 -1
- package/build/map/ExpoGaodeMapModule.d.ts +3 -2
- package/build/map/ExpoGaodeMapModule.d.ts.map +1 -1
- package/build/map/ExpoGaodeMapModule.js +13 -4
- package/build/map/ExpoGaodeMapModule.js.map +1 -1
- package/build/map/ExpoGaodeMapOfflineModule.js +1 -1
- package/build/map/ExpoGaodeMapOfflineModule.js.map +1 -1
- package/build/map/ExpoGaodeMapView.js +2 -8
- package/build/map/ExpoGaodeMapView.js.map +1 -1
- package/build/map/components/FoldableMapView.d.ts +3 -2
- package/build/map/components/FoldableMapView.d.ts.map +1 -1
- package/build/map/components/FoldableMapView.js +2 -1
- package/build/map/components/FoldableMapView.js.map +1 -1
- package/build/map/components/MapUI.js +2 -1
- package/build/map/components/MapUI.js.map +1 -1
- package/build/map/components/overlays/Circle.d.ts +1 -1
- package/build/map/components/overlays/Circle.d.ts.map +1 -1
- package/build/map/components/overlays/Circle.js +2 -1
- package/build/map/components/overlays/Circle.js.map +1 -1
- package/build/map/components/overlays/Cluster.d.ts +1 -1
- package/build/map/components/overlays/Cluster.d.ts.map +1 -1
- package/build/map/components/overlays/Cluster.js +2 -1
- package/build/map/components/overlays/Cluster.js.map +1 -1
- package/build/map/components/overlays/HeatMap.d.ts +1 -1
- package/build/map/components/overlays/HeatMap.d.ts.map +1 -1
- package/build/map/components/overlays/HeatMap.js +2 -1
- package/build/map/components/overlays/HeatMap.js.map +1 -1
- package/build/map/components/overlays/Marker.d.ts +1 -1
- package/build/map/components/overlays/Marker.d.ts.map +1 -1
- package/build/map/components/overlays/Marker.js +2 -5
- package/build/map/components/overlays/Marker.js.map +1 -1
- package/build/map/components/overlays/MultiPoint.d.ts +1 -2
- package/build/map/components/overlays/MultiPoint.d.ts.map +1 -1
- package/build/map/components/overlays/MultiPoint.js +2 -1
- package/build/map/components/overlays/MultiPoint.js.map +1 -1
- package/build/map/components/overlays/Polygon.d.ts +1 -1
- package/build/map/components/overlays/Polygon.d.ts.map +1 -1
- package/build/map/components/overlays/Polygon.js +2 -1
- package/build/map/components/overlays/Polygon.js.map +1 -1
- package/build/map/components/overlays/Polyline.d.ts +1 -1
- package/build/map/components/overlays/Polyline.d.ts.map +1 -1
- package/build/map/components/overlays/Polyline.js +2 -1
- package/build/map/components/overlays/Polyline.js.map +1 -1
- package/build/map/search/ExpoGaodeMapSearchModule.d.ts +1 -1
- package/build/map/search/ExpoGaodeMapSearchModule.d.ts.map +1 -1
- package/build/map/search/ExpoGaodeMapSearchModule.js.map +1 -1
- package/build/map/types/common.types.d.ts +1 -1
- package/build/map/types/common.types.d.ts.map +1 -1
- package/build/map/types/common.types.js.map +1 -1
- package/build/map/types/map-view.types.d.ts +2 -2
- package/build/map/types/map-view.types.d.ts.map +1 -1
- package/build/map/types/map-view.types.js.map +1 -1
- package/build/map/utils/ErrorHandler.d.ts +4 -0
- package/build/map/utils/ErrorHandler.d.ts.map +1 -1
- package/build/map/utils/ErrorHandler.js +8 -0
- package/build/map/utils/ErrorHandler.js.map +1 -1
- package/build/map/utils/GeoUtils.d.ts +1 -1
- package/build/map/utils/GeoUtils.d.ts.map +1 -1
- package/build/map/utils/GeoUtils.js +2 -2
- package/build/map/utils/GeoUtils.js.map +1 -1
- package/build/route-geometry.d.ts.map +1 -1
- package/build/route-geometry.js +24 -8
- package/build/route-geometry.js.map +1 -1
- package/build/src/ExpoGaodeMapNaviView.d.ts +67 -0
- package/build/src/ExpoGaodeMapNaviView.d.ts.map +1 -0
- package/build/src/ExpoGaodeMapNaviView.js +138 -0
- package/build/src/ExpoGaodeMapNaviView.js.map +1 -0
- package/build/src/ExpoGaodeMapNavigation.types.d.ts +2 -0
- package/build/src/ExpoGaodeMapNavigation.types.d.ts.map +1 -0
- package/build/src/ExpoGaodeMapNavigation.types.js +3 -0
- package/build/src/ExpoGaodeMapNavigation.types.js.map +1 -0
- package/build/src/ExpoGaodeMapNavigationModule.d.ts +4 -0
- package/build/src/ExpoGaodeMapNavigationModule.d.ts.map +1 -0
- package/build/src/ExpoGaodeMapNavigationModule.js +27 -0
- package/build/src/ExpoGaodeMapNavigationModule.js.map +1 -0
- package/build/src/index.d.ts +47 -0
- package/build/src/index.d.ts.map +1 -0
- package/build/src/index.js +48 -0
- package/build/src/index.js.map +1 -0
- package/build/src/map/ExpoGaodeMapModule.d.ts +256 -0
- package/build/src/map/ExpoGaodeMapModule.d.ts.map +1 -0
- package/build/src/map/ExpoGaodeMapModule.js +813 -0
- package/build/src/map/ExpoGaodeMapModule.js.map +1 -0
- package/build/src/map/ExpoGaodeMapOfflineModule.d.ts +145 -0
- package/build/src/map/ExpoGaodeMapOfflineModule.d.ts.map +1 -0
- package/build/src/map/ExpoGaodeMapOfflineModule.js +24 -0
- package/build/src/map/ExpoGaodeMapOfflineModule.js.map +1 -0
- package/build/src/map/ExpoGaodeMapView.d.ts +23 -0
- package/build/src/map/ExpoGaodeMapView.d.ts.map +1 -0
- package/build/src/map/ExpoGaodeMapView.js +173 -0
- package/build/src/map/ExpoGaodeMapView.js.map +1 -0
- package/build/src/map/components/FoldableMapView.d.ts +39 -0
- package/build/src/map/components/FoldableMapView.d.ts.map +1 -0
- package/build/src/map/components/FoldableMapView.js +171 -0
- package/build/src/map/components/FoldableMapView.js.map +1 -0
- package/build/src/map/components/MapContext.d.ts +13 -0
- package/build/src/map/components/MapContext.d.ts.map +1 -0
- package/build/src/map/components/MapContext.js +18 -0
- package/build/src/map/components/MapContext.js.map +1 -0
- package/build/src/map/components/MapUI.d.ts +19 -0
- package/build/src/map/components/MapUI.d.ts.map +1 -0
- package/build/src/map/components/MapUI.js +24 -0
- package/build/src/map/components/MapUI.js.map +1 -0
- package/build/src/map/components/overlays/Circle.d.ts +13 -0
- package/build/src/map/components/overlays/Circle.d.ts.map +1 -0
- package/build/src/map/components/overlays/Circle.js +20 -0
- package/build/src/map/components/overlays/Circle.js.map +1 -0
- package/build/src/map/components/overlays/Cluster.d.ts +12 -0
- package/build/src/map/components/overlays/Cluster.d.ts.map +1 -0
- package/build/src/map/components/overlays/Cluster.js +16 -0
- package/build/src/map/components/overlays/Cluster.js.map +1 -0
- package/build/src/map/components/overlays/HeatMap.d.ts +12 -0
- package/build/src/map/components/overlays/HeatMap.d.ts.map +1 -0
- package/build/src/map/components/overlays/HeatMap.js +46 -0
- package/build/src/map/components/overlays/HeatMap.js.map +1 -0
- package/build/src/map/components/overlays/Marker.d.ts +16 -0
- package/build/src/map/components/overlays/Marker.d.ts.map +1 -0
- package/build/src/map/components/overlays/Marker.js +125 -0
- package/build/src/map/components/overlays/Marker.js.map +1 -0
- package/build/src/map/components/overlays/MultiPoint.d.ts +9 -0
- package/build/src/map/components/overlays/MultiPoint.d.ts.map +1 -0
- package/build/src/map/components/overlays/MultiPoint.js +15 -0
- package/build/src/map/components/overlays/MultiPoint.js.map +1 -0
- package/build/src/map/components/overlays/Polygon.d.ts +12 -0
- package/build/src/map/components/overlays/Polygon.d.ts.map +1 -0
- package/build/src/map/components/overlays/Polygon.js +20 -0
- package/build/src/map/components/overlays/Polygon.js.map +1 -0
- package/build/src/map/components/overlays/Polyline.d.ts +12 -0
- package/build/src/map/components/overlays/Polyline.d.ts.map +1 -0
- package/build/src/map/components/overlays/Polyline.js +20 -0
- package/build/src/map/components/overlays/Polyline.js.map +1 -0
- package/build/src/map/components/overlays/index.d.ts +8 -0
- package/build/src/map/components/overlays/index.d.ts.map +1 -0
- package/build/src/map/components/overlays/index.js +8 -0
- package/build/src/map/components/overlays/index.js.map +1 -0
- package/build/src/map/index.d.ts +35 -0
- package/build/src/map/index.d.ts.map +1 -0
- package/build/src/map/index.js +48 -0
- package/build/src/map/index.js.map +1 -0
- package/build/src/map/search/ExpoGaodeMapSearch.types.d.ts +340 -0
- package/build/src/map/search/ExpoGaodeMapSearch.types.d.ts.map +1 -0
- package/build/src/map/search/ExpoGaodeMapSearch.types.js +19 -0
- package/build/src/map/search/ExpoGaodeMapSearch.types.js.map +1 -0
- package/build/src/map/search/ExpoGaodeMapSearchModule.d.ts +74 -0
- package/build/src/map/search/ExpoGaodeMapSearchModule.d.ts.map +1 -0
- package/build/src/map/search/ExpoGaodeMapSearchModule.js +48 -0
- package/build/src/map/search/ExpoGaodeMapSearchModule.js.map +1 -0
- package/build/src/map/search/index.d.ts +156 -0
- package/build/src/map/search/index.d.ts.map +1 -0
- package/build/src/map/search/index.js +171 -0
- package/build/src/map/search/index.js.map +1 -0
- package/build/src/map/types/common.types.d.ts +199 -0
- package/build/src/map/types/common.types.d.ts.map +1 -0
- package/build/src/map/types/common.types.js +33 -0
- package/build/src/map/types/common.types.js.map +1 -0
- package/build/src/map/types/index.d.ts +13 -0
- package/build/src/map/types/index.d.ts.map +1 -0
- package/build/src/map/types/index.js +7 -0
- package/build/src/map/types/index.js.map +1 -0
- package/build/src/map/types/location.types.d.ts +358 -0
- package/build/src/map/types/location.types.d.ts.map +1 -0
- package/build/src/map/types/location.types.js +93 -0
- package/build/src/map/types/location.types.js.map +1 -0
- package/build/src/map/types/map-view.types.d.ts +340 -0
- package/build/src/map/types/map-view.types.d.ts.map +1 -0
- package/build/src/map/types/map-view.types.js +6 -0
- package/build/src/map/types/map-view.types.js.map +1 -0
- package/build/src/map/types/native-module.types.d.ts +395 -0
- package/build/src/map/types/native-module.types.d.ts.map +1 -0
- package/build/src/map/types/native-module.types.js +5 -0
- package/build/src/map/types/native-module.types.js.map +1 -0
- package/build/src/map/types/offline.types.d.ts +133 -0
- package/build/src/map/types/offline.types.d.ts.map +1 -0
- package/build/src/map/types/offline.types.js +5 -0
- package/build/src/map/types/offline.types.js.map +1 -0
- package/build/src/map/types/overlays.types.d.ts +456 -0
- package/build/src/map/types/overlays.types.d.ts.map +1 -0
- package/build/src/map/types/overlays.types.js +6 -0
- package/build/src/map/types/overlays.types.js.map +1 -0
- package/build/src/map/types/route-playback.types.d.ts +28 -0
- package/build/src/map/types/route-playback.types.d.ts.map +1 -0
- package/build/src/map/types/route-playback.types.js +2 -0
- package/build/src/map/types/route-playback.types.js.map +1 -0
- package/build/src/map/utils/ErrorHandler.d.ts +121 -0
- package/build/src/map/utils/ErrorHandler.d.ts.map +1 -0
- package/build/src/map/utils/ErrorHandler.js +470 -0
- package/build/src/map/utils/ErrorHandler.js.map +1 -0
- package/build/src/map/utils/GeoUtils.d.ts +21 -0
- package/build/src/map/utils/GeoUtils.d.ts.map +1 -0
- package/build/src/map/utils/GeoUtils.js +78 -0
- package/build/src/map/utils/GeoUtils.js.map +1 -0
- package/build/src/map/utils/OfflineMapManager.d.ts +153 -0
- package/build/src/map/utils/OfflineMapManager.d.ts.map +1 -0
- package/build/src/map/utils/OfflineMapManager.js +217 -0
- package/build/src/map/utils/OfflineMapManager.js.map +1 -0
- package/build/src/map/utils/PermissionUtils.d.ts +92 -0
- package/build/src/map/utils/PermissionUtils.d.ts.map +1 -0
- package/build/src/map/utils/PermissionUtils.js +252 -0
- package/build/src/map/utils/PermissionUtils.js.map +1 -0
- package/build/src/map/utils/PlatformDetector.d.ts +103 -0
- package/build/src/map/utils/PlatformDetector.d.ts.map +1 -0
- package/build/src/map/utils/PlatformDetector.js +178 -0
- package/build/src/map/utils/PlatformDetector.js.map +1 -0
- package/build/src/map/utils/lazyNativeViewManager.d.ts +3 -0
- package/build/src/map/utils/lazyNativeViewManager.d.ts.map +1 -0
- package/build/src/map/utils/lazyNativeViewManager.js +11 -0
- package/build/src/map/utils/lazyNativeViewManager.js.map +1 -0
- package/build/src/route-geometry.d.ts +13 -0
- package/build/src/route-geometry.d.ts.map +1 -0
- package/build/src/route-geometry.js +154 -0
- package/build/src/route-geometry.js.map +1 -0
- package/build/src/route-planning.d.ts +21 -0
- package/build/src/route-planning.d.ts.map +1 -0
- package/build/src/route-planning.js +67 -0
- package/build/src/route-planning.js.map +1 -0
- package/build/src/types/coordinates.types.d.ts +25 -0
- package/build/src/types/coordinates.types.d.ts.map +1 -0
- package/build/src/types/coordinates.types.js +6 -0
- package/build/src/types/coordinates.types.js.map +1 -0
- package/build/src/types/independent.types.d.ts +385 -0
- package/build/src/types/independent.types.d.ts.map +1 -0
- package/build/src/types/independent.types.js +2 -0
- package/build/src/types/independent.types.js.map +1 -0
- package/build/src/types/index.d.ts +6 -0
- package/build/src/types/index.d.ts.map +1 -0
- package/build/src/types/index.js +7 -0
- package/build/src/types/index.js.map +1 -0
- package/build/src/types/native-module.types.d.ts +74 -0
- package/build/src/types/native-module.types.d.ts.map +1 -0
- package/build/src/types/native-module.types.js +3 -0
- package/build/src/types/native-module.types.js.map +1 -0
- package/build/src/types/naviview.types.d.ts +562 -0
- package/build/src/types/naviview.types.d.ts.map +1 -0
- package/build/src/types/naviview.types.js +2 -0
- package/build/src/types/naviview.types.js.map +1 -0
- package/build/src/types/route.types.d.ts +414 -0
- package/build/src/types/route.types.d.ts.map +1 -0
- package/build/src/types/route.types.js +137 -0
- package/build/src/types/route.types.js.map +1 -0
- package/build/src/web-api-fallback.d.ts +5 -0
- package/build/src/web-api-fallback.d.ts.map +1 -0
- package/build/src/web-api-fallback.js +160 -0
- package/build/src/web-api-fallback.js.map +1 -0
- package/build/src/web-route-following.d.ts +3 -0
- package/build/src/web-route-following.d.ts.map +1 -0
- package/build/src/web-route-following.js +178 -0
- package/build/src/web-route-following.js.map +1 -0
- package/build/types/native-module.types.d.ts +2 -2
- package/build/types/native-module.types.d.ts.map +1 -1
- package/build/types/native-module.types.js.map +1 -1
- package/build/types/naviview.types.d.ts +1 -1
- package/build/types/naviview.types.d.ts.map +1 -1
- package/build/types/naviview.types.js.map +1 -1
- package/build/web-api-fallback.d.ts.map +1 -1
- package/build/web-api-fallback.js +0 -1
- package/build/web-api-fallback.js.map +1 -1
- package/ios/map/ExpoGaodeMapView.swift +145 -3
- package/ios/map/cpp/ClusterEngine.cpp +4 -14
- package/ios/map/cpp/ClusterEngine.hpp +1 -12
- package/ios/map/cpp/ClusterTypes.hpp +18 -0
- package/ios/map/cpp/ColorParser.cpp +22 -3
- package/ios/map/cpp/GeometryEngine.cpp +1 -1
- package/ios/map/cpp/QuadTree.hpp +1 -1
- package/ios/map/managers/UIManager.swift +3 -0
- package/package.json +16 -8
- package/plugin/build/withGaodeMap.js +19 -14
- package/shared/cpp/ClusterEngine.cpp +4 -14
- package/shared/cpp/ClusterEngine.hpp +1 -12
- package/shared/cpp/ClusterTypes.hpp +18 -0
- package/shared/cpp/ColorParser.cpp +22 -3
- package/shared/cpp/GeometryEngine.cpp +1 -1
- package/shared/cpp/QuadTree.hpp +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { MultiPointProps } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* 高德地图多点标记组件
|
|
4
|
+
*
|
|
5
|
+
* @param props 多点标记的配置属性,继承自MultiPointProps接口
|
|
6
|
+
* @returns 渲染原生高德地图多点标记组件
|
|
7
|
+
*/
|
|
8
|
+
export default function MultiPoint(props: MultiPointProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=MultiPoint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiPoint.d.ts","sourceRoot":"","sources":["../../../../../src/map/components/overlays/MultiPoint.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAMnD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAK,EAAE,eAAe,2CAGxD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { createLazyNativeViewManager } from '../../utils/lazyNativeViewManager';
|
|
4
|
+
const getNativeMultiPoint = createLazyNativeViewManager('MultiPointView');
|
|
5
|
+
/**
|
|
6
|
+
* 高德地图多点标记组件
|
|
7
|
+
*
|
|
8
|
+
* @param props 多点标记的配置属性,继承自MultiPointProps接口
|
|
9
|
+
* @returns 渲染原生高德地图多点标记组件
|
|
10
|
+
*/
|
|
11
|
+
export default function MultiPoint(props) {
|
|
12
|
+
const NativeMultiPoint = React.useMemo(() => getNativeMultiPoint(), []);
|
|
13
|
+
return _jsx(NativeMultiPoint, { ...props });
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=MultiPoint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiPoint.js","sourceRoot":"","sources":["../../../../../src/map/components/overlays/MultiPoint.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAEhF,MAAM,mBAAmB,GAAG,2BAA2B,CAAkB,gBAAgB,CAAC,CAAC;AAG3F;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,KAAsB;IACvD,MAAM,gBAAgB,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,mBAAmB,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,OAAO,KAAC,gBAAgB,OAAK,KAAK,GAAI,CAAC;AACzC,CAAC","sourcesContent":["import * as React from 'react';\nimport type { MultiPointProps } from '../../types';\nimport { createLazyNativeViewManager } from '../../utils/lazyNativeViewManager';\n\nconst getNativeMultiPoint = createLazyNativeViewManager<MultiPointProps>('MultiPointView');\n\n\n/**\n * 高德地图多点标记组件\n * \n * @param props 多点标记的配置属性,继承自MultiPointProps接口\n * @returns 渲染原生高德地图多点标记组件\n */\nexport default function MultiPoint(props: MultiPointProps) {\n const NativeMultiPoint = React.useMemo(() => getNativeMultiPoint(), []);\n return <NativeMultiPoint {...props} />;\n}\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { PolygonProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* 渲染一个高德地图多边形覆盖物组件
|
|
5
|
+
*
|
|
6
|
+
* @param props - 多边形属性配置,继承自PolygonProps类型
|
|
7
|
+
* @returns 高德地图原生多边形视图组件
|
|
8
|
+
*/
|
|
9
|
+
declare function Polygon(props: PolygonProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const _default: React.MemoExoticComponent<typeof Polygon>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=Polygon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Polygon.d.ts","sourceRoot":"","sources":["../../../../../src/map/components/overlays/Polygon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAKhD;;;;;GAKG;AACH,iBAAS,OAAO,CAAC,KAAK,EAAE,YAAY,2CAOnC;;AAED,wBAAmC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { normalizeLatLngList } from '../../utils/GeoUtils';
|
|
4
|
+
import { createLazyNativeViewManager } from '../../utils/lazyNativeViewManager';
|
|
5
|
+
const getNativePolygonView = createLazyNativeViewManager('PolygonView');
|
|
6
|
+
/**
|
|
7
|
+
* 渲染一个高德地图多边形覆盖物组件
|
|
8
|
+
*
|
|
9
|
+
* @param props - 多边形属性配置,继承自PolygonProps类型
|
|
10
|
+
* @returns 高德地图原生多边形视图组件
|
|
11
|
+
*/
|
|
12
|
+
function Polygon(props) {
|
|
13
|
+
const NativePolygonView = React.useMemo(() => getNativePolygonView(), []);
|
|
14
|
+
const { points, ...restProps } = props;
|
|
15
|
+
// 归一化坐标数组
|
|
16
|
+
const normalizedPoints = normalizeLatLngList(points);
|
|
17
|
+
return _jsx(NativePolygonView, { points: normalizedPoints, ...restProps });
|
|
18
|
+
}
|
|
19
|
+
export default React.memo(Polygon);
|
|
20
|
+
//# sourceMappingURL=Polygon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Polygon.js","sourceRoot":"","sources":["../../../../../src/map/components/overlays/Polygon.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,MAAM,oBAAoB,GAAG,2BAA2B,CAAe,aAAa,CAAC,CAAC;AAEtF;;;;;GAKG;AACH,SAAS,OAAO,CAAC,KAAmB;IAClC,MAAM,iBAAiB,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IACvC,UAAU;IACV,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAErD,OAAO,KAAC,iBAAiB,IAAC,MAAM,EAAE,gBAAgB,KAAM,SAAS,GAAI,CAAC;AACxE,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport type { PolygonProps } from '../../types';\nimport { normalizeLatLngList } from '../../utils/GeoUtils';\nimport { createLazyNativeViewManager } from '../../utils/lazyNativeViewManager';\nconst getNativePolygonView = createLazyNativeViewManager<PolygonProps>('PolygonView');\n\n/**\n * 渲染一个高德地图多边形覆盖物组件\n *\n * @param props - 多边形属性配置,继承自PolygonProps类型\n * @returns 高德地图原生多边形视图组件\n */\nfunction Polygon(props: PolygonProps) {\n const NativePolygonView = React.useMemo(() => getNativePolygonView(), []);\n const { points, ...restProps } = props;\n // 归一化坐标数组\n const normalizedPoints = normalizeLatLngList(points);\n\n return <NativePolygonView points={normalizedPoints} {...restProps} />;\n}\n\nexport default React.memo(Polygon);\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { PolylineProps } from '../../types';
|
|
3
|
+
/**
|
|
4
|
+
* 渲染高德地图上的折线覆盖物组件
|
|
5
|
+
*
|
|
6
|
+
* @param props - 折线属性配置,继承自PolylineProps类型
|
|
7
|
+
* @returns 高德地图原生折线视图组件
|
|
8
|
+
*/
|
|
9
|
+
declare function Polyline(props: PolylineProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const _default: React.MemoExoticComponent<typeof Polyline>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=Polyline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Polyline.d.ts","sourceRoot":"","sources":["../../../../../src/map/components/overlays/Polyline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAKjD;;;;;GAKG;AACH,iBAAS,QAAQ,CAAC,KAAK,EAAE,aAAa,2CAOrC;;AAED,wBAAoC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { normalizeLatLngList } from '../../utils/GeoUtils';
|
|
4
|
+
import { createLazyNativeViewManager } from '../../utils/lazyNativeViewManager';
|
|
5
|
+
const getNativePolylineView = createLazyNativeViewManager('PolylineView');
|
|
6
|
+
/**
|
|
7
|
+
* 渲染高德地图上的折线覆盖物组件
|
|
8
|
+
*
|
|
9
|
+
* @param props - 折线属性配置,继承自PolylineProps类型
|
|
10
|
+
* @returns 高德地图原生折线视图组件
|
|
11
|
+
*/
|
|
12
|
+
function Polyline(props) {
|
|
13
|
+
const NativePolylineView = React.useMemo(() => getNativePolylineView(), []);
|
|
14
|
+
const { points, ...restProps } = props;
|
|
15
|
+
// 归一化坐标数组
|
|
16
|
+
const normalizedPoints = normalizeLatLngList(points);
|
|
17
|
+
return _jsx(NativePolylineView, { points: normalizedPoints, ...restProps });
|
|
18
|
+
}
|
|
19
|
+
export default React.memo(Polyline);
|
|
20
|
+
//# sourceMappingURL=Polyline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Polyline.js","sourceRoot":"","sources":["../../../../../src/map/components/overlays/Polyline.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,MAAM,qBAAqB,GAAG,2BAA2B,CAAgB,cAAc,CAAC,CAAC;AAEzF;;;;;GAKG;AACH,SAAS,QAAQ,CAAC,KAAoB;IACpC,MAAM,kBAAkB,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,qBAAqB,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IACvC,UAAU;IACV,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;IAErD,OAAO,KAAC,kBAAkB,IAAC,MAAM,EAAE,gBAAgB,KAAM,SAAS,GAAI,CAAC;AACzE,CAAC;AAED,eAAe,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport type { PolylineProps } from '../../types';\nimport { normalizeLatLngList } from '../../utils/GeoUtils';\nimport { createLazyNativeViewManager } from '../../utils/lazyNativeViewManager';\nconst getNativePolylineView = createLazyNativeViewManager<PolylineProps>('PolylineView');\n\n/**\n * 渲染高德地图上的折线覆盖物组件\n *\n * @param props - 折线属性配置,继承自PolylineProps类型\n * @returns 高德地图原生折线视图组件\n */\nfunction Polyline(props: PolylineProps) {\n const NativePolylineView = React.useMemo(() => getNativePolylineView(), []);\n const { points, ...restProps } = props;\n // 归一化坐标数组\n const normalizedPoints = normalizeLatLngList(points);\n \n return <NativePolylineView points={normalizedPoints} {...restProps} />;\n}\n\nexport default React.memo(Polyline);\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as Marker } from './Marker';
|
|
2
|
+
export { default as Polyline } from './Polyline';
|
|
3
|
+
export { default as Polygon } from './Polygon';
|
|
4
|
+
export { default as Circle } from './Circle';
|
|
5
|
+
export { default as HeatMap } from './HeatMap';
|
|
6
|
+
export { default as MultiPoint } from './MultiPoint';
|
|
7
|
+
export { default as Cluster } from './Cluster';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/map/components/overlays/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as Marker } from './Marker';
|
|
2
|
+
export { default as Polyline } from './Polyline';
|
|
3
|
+
export { default as Polygon } from './Polygon';
|
|
4
|
+
export { default as Circle } from './Circle';
|
|
5
|
+
export { default as HeatMap } from './HeatMap';
|
|
6
|
+
export { default as MultiPoint } from './MultiPoint';
|
|
7
|
+
export { default as Cluster } from './Cluster';
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/map/components/overlays/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC","sourcesContent":["\nexport { default as Marker } from './Marker';\nexport { default as Polyline } from './Polyline';\nexport { default as Polygon } from './Polygon';\nexport { default as Circle } from './Circle';\nexport { default as HeatMap } from './HeatMap';\nexport { default as MultiPoint } from './MultiPoint';\nexport { default as Cluster } from './Cluster';\n"]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PermissionUtils, LocationPermissionType } from './utils/PermissionUtils';
|
|
2
|
+
export * from './types';
|
|
3
|
+
export { default as ExpoGaodeMapModule } from './ExpoGaodeMapModule';
|
|
4
|
+
export { default as MapView } from './ExpoGaodeMapView';
|
|
5
|
+
export { useMap } from './components/MapContext';
|
|
6
|
+
export { MapUI } from './components/MapUI';
|
|
7
|
+
export { Marker, Polyline, Polygon, Circle, HeatMap, MultiPoint, Cluster, } from './components/overlays';
|
|
8
|
+
export { ErrorHandler, ErrorLogger, GaodeMapError, ErrorType, } from './utils/ErrorHandler';
|
|
9
|
+
export type { ErrorDetails } from './utils/ErrorHandler';
|
|
10
|
+
export { PlatformDetector, DeviceType, FoldState, isAndroid14Plus, isiOS17Plus, isTablet, isFoldable, isIPad, } from './utils/PlatformDetector';
|
|
11
|
+
export type { DeviceInfo, SystemVersion } from './utils/PlatformDetector';
|
|
12
|
+
export { PermissionUtils, LocationPermissionType };
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated 请使用 `PermissionUtils`
|
|
15
|
+
*/
|
|
16
|
+
export declare const PermissionManager: typeof PermissionUtils;
|
|
17
|
+
export { FoldableMapView, useFoldableMap, } from './components/FoldableMapView';
|
|
18
|
+
export type { FoldableMapViewProps, FoldableConfig, } from './components/FoldableMapView';
|
|
19
|
+
export { OfflineMapManager as ExpoGaodeMapOfflineModule } from './utils/OfflineMapManager';
|
|
20
|
+
export type { OfflineMapInfo, OfflineMapStatus, OfflineMapDownloadConfig, OfflineMapDownloadEvent, OfflineMapCompleteEvent, OfflineMapErrorEvent, OfflineMapPausedEvent, OfflineMapCancelledEvent, OfflineMapStorageInfo, OfflineMapEvents, } from './types/offline.types';
|
|
21
|
+
/**
|
|
22
|
+
* Check or request permissions to access the location.
|
|
23
|
+
* This uses both `requestPermissionsAsync` and `getPermissionsAsync` to interact with the permissions.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const [status, requestPermission] = useLocationPermissions();
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare const useLocationPermissions: (options?: import("expo-modules-core").PermissionHookOptions<object> | undefined) => [import("./types").PermissionStatus | null, () => Promise<import("./types").PermissionStatus>, () => Promise<import("./types").PermissionStatus>];
|
|
31
|
+
export { getSDKConfig, getWebKey } from './ExpoGaodeMapModule';
|
|
32
|
+
export { initSearch, searchPOI, searchNearby, searchAlong, searchPolygon, getInputTips, reGeocode, getPoiDetail, SearchType, } from './search';
|
|
33
|
+
export type { Coordinates as SearchCoordinates, POI, POISearchOptions, NearbySearchOptions, AlongSearchOptions, PolygonSearchOptions, InputTipsOptions, InputTip, SearchResult, InputTipsResult, ReGeocodeOptions, ReGeocodeResult, AddressComponent, Road, RoadCross, AOI, RoutePOIType, } from './search';
|
|
34
|
+
export { default as Search } from './search';
|
|
35
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/map/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,eAAe,EACf,sBAAsB,EACvB,MAAM,yBAAyB,CAAC;AAGjC,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAGrE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAG3C,OAAO,EACL,MAAM,EACN,QAAQ,EACR,OAAO,EACP,MAAM,EACN,OAAO,EACP,UAAU,EACV,OAAO,GACR,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EACL,YAAY,EACZ,WAAW,EACX,aAAa,EACb,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGzD,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,eAAe,EACf,WAAW,EACX,QAAQ,EACR,UAAU,EACV,MAAM,GACP,MAAM,0BAA0B,CAAC;AAClC,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAG1E,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,CAAC;AAEnD;;GAEG;AACH,eAAO,MAAM,iBAAiB,wBAAkB,CAAC;AAGjD,OAAO,EACL,eAAe,EACf,cAAc,GACf,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,oBAAoB,EACpB,cAAc,GACf,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,iBAAiB,IAAI,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAE3F,YAAY,EACV,cAAc,EACd,gBAAgB,EAChB,wBAAwB,EACxB,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACpB,qBAAqB,EACrB,wBAAwB,EACxB,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,uBAAuB,CAAC;AAM/B;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,wOAGjC,CAAA;AAGF,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAG/D,OAAO,EACL,UAAU,EACV,SAAS,EACT,YAAY,EACZ,WAAW,EACX,aAAa,EACb,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,UAAU,GACX,MAAM,UAAU,CAAC;AAElB,YAAY,EACV,WAAW,IAAI,iBAAiB,EAChC,GAAG,EACH,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,IAAI,EACJ,SAAS,EACT,GAAG,EACH,YAAY,GACb,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { createPermissionHook } from 'expo-modules-core';
|
|
2
|
+
import ExpoGaodeMapModuleWithHelpers from './ExpoGaodeMapModule';
|
|
3
|
+
import { PermissionUtils, LocationPermissionType, } from './utils/PermissionUtils';
|
|
4
|
+
// 导出类型定义(包含所有通用类型)
|
|
5
|
+
export * from './types';
|
|
6
|
+
// 导出原生模块
|
|
7
|
+
export { default as ExpoGaodeMapModule } from './ExpoGaodeMapModule';
|
|
8
|
+
// 导出地图视图组件
|
|
9
|
+
export { default as MapView } from './ExpoGaodeMapView';
|
|
10
|
+
export { useMap } from './components/MapContext';
|
|
11
|
+
export { MapUI } from './components/MapUI';
|
|
12
|
+
// 导出覆盖物组件
|
|
13
|
+
export { Marker, Polyline, Polygon, Circle, HeatMap, MultiPoint, Cluster, } from './components/overlays';
|
|
14
|
+
// 导出错误处理工具
|
|
15
|
+
export { ErrorHandler, ErrorLogger, GaodeMapError, ErrorType, } from './utils/ErrorHandler';
|
|
16
|
+
// 导出平台检测工具
|
|
17
|
+
export { PlatformDetector, DeviceType, FoldState, isAndroid14Plus, isiOS17Plus, isTablet, isFoldable, isIPad, } from './utils/PlatformDetector';
|
|
18
|
+
// 导出权限工具类(仅提供文案和诊断,实际权限请求使用 ExpoGaodeMapModule)
|
|
19
|
+
export { PermissionUtils, LocationPermissionType };
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated 请使用 `PermissionUtils`
|
|
22
|
+
*/
|
|
23
|
+
export const PermissionManager = PermissionUtils;
|
|
24
|
+
// 导出折叠屏适配组件
|
|
25
|
+
export { FoldableMapView, useFoldableMap, } from './components/FoldableMapView';
|
|
26
|
+
// 导出离线地图 API
|
|
27
|
+
export { OfflineMapManager as ExpoGaodeMapOfflineModule } from './utils/OfflineMapManager';
|
|
28
|
+
const requestPermissionsAsync = ExpoGaodeMapModuleWithHelpers.requestLocationPermission;
|
|
29
|
+
const getPermissionsAsync = ExpoGaodeMapModuleWithHelpers.checkLocationPermission;
|
|
30
|
+
/**
|
|
31
|
+
* Check or request permissions to access the location.
|
|
32
|
+
* This uses both `requestPermissionsAsync` and `getPermissionsAsync` to interact with the permissions.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const [status, requestPermission] = useLocationPermissions();
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export const useLocationPermissions = createPermissionHook({
|
|
40
|
+
getMethod: getPermissionsAsync,
|
|
41
|
+
requestMethod: requestPermissionsAsync,
|
|
42
|
+
});
|
|
43
|
+
// 导出便捷读取的 SDK 配置与 webKey
|
|
44
|
+
export { getSDKConfig, getWebKey } from './ExpoGaodeMapModule';
|
|
45
|
+
// 导出内置搜索 API
|
|
46
|
+
export { initSearch, searchPOI, searchNearby, searchAlong, searchPolygon, getInputTips, reGeocode, getPoiDetail, SearchType, } from './search';
|
|
47
|
+
export { default as Search } from './search';
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/map/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,6BAA6B,MAAM,sBAAsB,CAAC;AACjE,OAAO,EACL,eAAe,EACf,sBAAsB,GACvB,MAAM,yBAAyB,CAAC;AAEjC,mBAAmB;AACnB,cAAc,SAAS,CAAC;AACxB,SAAS;AACT,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAErE,WAAW;AACX,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,UAAU;AACV,OAAO,EACL,MAAM,EACN,QAAQ,EACR,OAAO,EACP,MAAM,EACN,OAAO,EACP,UAAU,EACV,OAAO,GACR,MAAM,uBAAuB,CAAC;AAE/B,WAAW;AACX,OAAO,EACL,YAAY,EACZ,WAAW,EACX,aAAa,EACb,SAAS,GACV,MAAM,sBAAsB,CAAC;AAG9B,WAAW;AACX,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,SAAS,EACT,eAAe,EACf,WAAW,EACX,QAAQ,EACR,UAAU,EACV,MAAM,GACP,MAAM,0BAA0B,CAAC;AAGlC,gDAAgD;AAChD,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,CAAC;AAEnD;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,CAAC;AAEjD,YAAY;AACZ,OAAO,EACL,eAAe,EACf,cAAc,GACf,MAAM,8BAA8B,CAAC;AAMtC,aAAa;AACb,OAAO,EAAE,iBAAiB,IAAI,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAe3F,MAAM,uBAAuB,GAAG,6BAA6B,CAAC,yBAAyB,CAAA;AACvF,MAAM,mBAAmB,GAAG,6BAA6B,CAAC,uBAAuB,CAAA;AAGjF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,oBAAoB,CAAC;IACzD,SAAS,EAAE,mBAAmB;IAC9B,aAAa,EAAE,uBAAuB;CACvC,CAAC,CAAA;AAEF,yBAAyB;AACzB,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAE/D,aAAa;AACb,OAAO,EACL,UAAU,EACV,SAAS,EACT,YAAY,EACZ,WAAW,EACX,aAAa,EACb,YAAY,EACZ,SAAS,EACT,YAAY,EACZ,UAAU,GACX,MAAM,UAAU,CAAC;AAsBlB,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC","sourcesContent":["\nimport { createPermissionHook } from 'expo-modules-core';\nimport ExpoGaodeMapModuleWithHelpers from './ExpoGaodeMapModule';\nimport {\n PermissionUtils,\n LocationPermissionType,\n} from './utils/PermissionUtils';\n\n// 导出类型定义(包含所有通用类型)\nexport * from './types';\n// 导出原生模块\nexport { default as ExpoGaodeMapModule } from './ExpoGaodeMapModule';\n\n// 导出地图视图组件\nexport { default as MapView } from './ExpoGaodeMapView';\nexport { useMap } from './components/MapContext';\nexport { MapUI } from './components/MapUI';\n\n// 导出覆盖物组件\nexport {\n Marker,\n Polyline,\n Polygon,\n Circle,\n HeatMap,\n MultiPoint,\n Cluster,\n} from './components/overlays';\n\n// 导出错误处理工具\nexport {\n ErrorHandler,\n ErrorLogger,\n GaodeMapError,\n ErrorType,\n} from './utils/ErrorHandler';\nexport type { ErrorDetails } from './utils/ErrorHandler';\n\n// 导出平台检测工具\nexport {\n PlatformDetector,\n DeviceType,\n FoldState,\n isAndroid14Plus,\n isiOS17Plus,\n isTablet,\n isFoldable,\n isIPad,\n} from './utils/PlatformDetector';\nexport type { DeviceInfo, SystemVersion } from './utils/PlatformDetector';\n\n// 导出权限工具类(仅提供文案和诊断,实际权限请求使用 ExpoGaodeMapModule)\nexport { PermissionUtils, LocationPermissionType };\n\n/**\n * @deprecated 请使用 `PermissionUtils`\n */\nexport const PermissionManager = PermissionUtils;\n\n// 导出折叠屏适配组件\nexport {\n FoldableMapView,\n useFoldableMap,\n} from './components/FoldableMapView';\nexport type {\n FoldableMapViewProps,\n FoldableConfig,\n} from './components/FoldableMapView';\n\n// 导出离线地图 API\nexport { OfflineMapManager as ExpoGaodeMapOfflineModule } from './utils/OfflineMapManager';\n\nexport type {\n OfflineMapInfo,\n OfflineMapStatus,\n OfflineMapDownloadConfig,\n OfflineMapDownloadEvent,\n OfflineMapCompleteEvent,\n OfflineMapErrorEvent,\n OfflineMapPausedEvent,\n OfflineMapCancelledEvent,\n OfflineMapStorageInfo,\n OfflineMapEvents,\n} from './types/offline.types';\n\nconst requestPermissionsAsync = ExpoGaodeMapModuleWithHelpers.requestLocationPermission\nconst getPermissionsAsync = ExpoGaodeMapModuleWithHelpers.checkLocationPermission\n\n\n/**\n * Check or request permissions to access the location.\n * This uses both `requestPermissionsAsync` and `getPermissionsAsync` to interact with the permissions.\n *\n * @example\n * ```ts\n * const [status, requestPermission] = useLocationPermissions();\n * ```\n */\nexport const useLocationPermissions = createPermissionHook({\n getMethod: getPermissionsAsync,\n requestMethod: requestPermissionsAsync,\n})\n\n// 导出便捷读取的 SDK 配置与 webKey\nexport { getSDKConfig, getWebKey } from './ExpoGaodeMapModule';\n\n// 导出内置搜索 API\nexport {\n initSearch,\n searchPOI,\n searchNearby,\n searchAlong,\n searchPolygon,\n getInputTips,\n reGeocode,\n getPoiDetail,\n SearchType,\n} from './search';\n\nexport type {\n Coordinates as SearchCoordinates,\n POI,\n POISearchOptions,\n NearbySearchOptions,\n AlongSearchOptions,\n PolygonSearchOptions,\n InputTipsOptions,\n InputTip,\n SearchResult,\n InputTipsResult,\n ReGeocodeOptions,\n ReGeocodeResult,\n AddressComponent,\n Road,\n RoadCross,\n AOI,\n RoutePOIType,\n} from './search';\n\nexport { default as Search } from './search';\n"]}
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 搜索类型
|
|
3
|
+
*/
|
|
4
|
+
export declare enum SearchType {
|
|
5
|
+
/** POI 搜索 */
|
|
6
|
+
POI = "poi",
|
|
7
|
+
/** 周边搜索 */
|
|
8
|
+
NEARBY = "nearby",
|
|
9
|
+
/** 沿途搜索 */
|
|
10
|
+
ALONG = "along",
|
|
11
|
+
/** 多边形搜索 */
|
|
12
|
+
POLYGON = "polygon",
|
|
13
|
+
/** 输入提示 */
|
|
14
|
+
INPUT_TIPS = "inputTips",
|
|
15
|
+
/** 逆地理编码 */
|
|
16
|
+
RE_GEOCODE = "reGeocode"
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* 沿途搜索支持的 POI 类型。
|
|
20
|
+
*
|
|
21
|
+
* 高德沿途搜索 SDK 不是通用 POI 搜索,只支持这些固定类型。
|
|
22
|
+
*/
|
|
23
|
+
export type RoutePOIType = 'gasStation' | 'maintenanceStation' | 'atm' | 'toilet' | 'gasAirStation' | 'serviceArea' | 'chargingPile' | 'food' | 'hotel';
|
|
24
|
+
/**
|
|
25
|
+
* 坐标点
|
|
26
|
+
*/
|
|
27
|
+
export interface Coordinates {
|
|
28
|
+
latitude: number;
|
|
29
|
+
longitude: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* POI 信息
|
|
33
|
+
*/
|
|
34
|
+
export interface POI {
|
|
35
|
+
/** POI ID */
|
|
36
|
+
id: string;
|
|
37
|
+
/** 名称 */
|
|
38
|
+
name: string;
|
|
39
|
+
/** 地址 */
|
|
40
|
+
address: string;
|
|
41
|
+
/** 坐标 */
|
|
42
|
+
location: Coordinates;
|
|
43
|
+
/** 类型编码 */
|
|
44
|
+
typeCode: string;
|
|
45
|
+
/** 类型描述 */
|
|
46
|
+
typeDes: string;
|
|
47
|
+
/** 电话 */
|
|
48
|
+
tel?: string;
|
|
49
|
+
/** 距离(米),仅周边搜索返回 */
|
|
50
|
+
distance?: number;
|
|
51
|
+
/** 城市名称 */
|
|
52
|
+
cityName?: string;
|
|
53
|
+
/** 城市编码 */
|
|
54
|
+
cityCode?: string;
|
|
55
|
+
/** 省份名称 */
|
|
56
|
+
provinceName?: string;
|
|
57
|
+
/** 区域名称 */
|
|
58
|
+
adName?: string;
|
|
59
|
+
/** 区域编码 */
|
|
60
|
+
adCode?: string;
|
|
61
|
+
/**
|
|
62
|
+
* 深度信息 (Android SDK V9.4.0+ 新增)
|
|
63
|
+
* 包含评分、营业时间、人均消费等扩展信息
|
|
64
|
+
*/
|
|
65
|
+
business?: {
|
|
66
|
+
opentime?: string;
|
|
67
|
+
opentimeToday?: string;
|
|
68
|
+
rating?: string;
|
|
69
|
+
cost?: string;
|
|
70
|
+
parkingType?: string;
|
|
71
|
+
tag?: string;
|
|
72
|
+
tel?: string;
|
|
73
|
+
alias?: string;
|
|
74
|
+
businessArea?: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* 图片信息
|
|
78
|
+
*/
|
|
79
|
+
photos?: Array<{
|
|
80
|
+
title?: string;
|
|
81
|
+
url?: string;
|
|
82
|
+
}>;
|
|
83
|
+
/** 室内地图信息 */
|
|
84
|
+
indoor?: {
|
|
85
|
+
/** 楼层 */
|
|
86
|
+
floor?: string;
|
|
87
|
+
/** 楼层名称 */
|
|
88
|
+
floorName?: string;
|
|
89
|
+
/** POI ID */
|
|
90
|
+
poiId?: string;
|
|
91
|
+
/** 是否有室内地图 */
|
|
92
|
+
hasIndoorMap?: boolean;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* 商圈信息
|
|
97
|
+
*/
|
|
98
|
+
export interface BusinessArea {
|
|
99
|
+
/** 名称 */
|
|
100
|
+
name: string;
|
|
101
|
+
/** 中心坐标 */
|
|
102
|
+
location: Coordinates;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* 地址组成要素
|
|
106
|
+
*/
|
|
107
|
+
export interface AddressComponent {
|
|
108
|
+
/** 省名称 */
|
|
109
|
+
province: string;
|
|
110
|
+
/** 市名称 */
|
|
111
|
+
city: string;
|
|
112
|
+
/** 区名称 */
|
|
113
|
+
district: string;
|
|
114
|
+
/** 乡镇名称 */
|
|
115
|
+
township: string;
|
|
116
|
+
/** 社区名称 */
|
|
117
|
+
neighborhood: string;
|
|
118
|
+
/** 建筑名称 */
|
|
119
|
+
building: string;
|
|
120
|
+
/** 城市编码 */
|
|
121
|
+
cityCode: string;
|
|
122
|
+
/** 区域编码 */
|
|
123
|
+
adCode: string;
|
|
124
|
+
/** 门牌信息 */
|
|
125
|
+
streetNumber: {
|
|
126
|
+
/** 街道名称 */
|
|
127
|
+
street: string;
|
|
128
|
+
/** 门牌号 */
|
|
129
|
+
number: string;
|
|
130
|
+
/** 坐标点 */
|
|
131
|
+
location?: Coordinates;
|
|
132
|
+
/** 方向 */
|
|
133
|
+
direction: string;
|
|
134
|
+
/** 距离 */
|
|
135
|
+
distance: number;
|
|
136
|
+
};
|
|
137
|
+
/** 商圈列表 */
|
|
138
|
+
businessAreas?: BusinessArea[];
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* 道路信息
|
|
142
|
+
*/
|
|
143
|
+
export interface Road {
|
|
144
|
+
/** 道路ID */
|
|
145
|
+
id: string;
|
|
146
|
+
/** 道路名称 */
|
|
147
|
+
name: string;
|
|
148
|
+
/** 距离 */
|
|
149
|
+
distance: number;
|
|
150
|
+
/** 方向 */
|
|
151
|
+
direction: string;
|
|
152
|
+
/** 坐标点 */
|
|
153
|
+
location: Coordinates;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* 道路交叉口信息
|
|
157
|
+
*/
|
|
158
|
+
export interface RoadCross {
|
|
159
|
+
/** 距离 */
|
|
160
|
+
distance: number;
|
|
161
|
+
/** 方向 */
|
|
162
|
+
direction: string;
|
|
163
|
+
/** 交叉口坐标 */
|
|
164
|
+
location: Coordinates;
|
|
165
|
+
/** 第一条道路ID */
|
|
166
|
+
firstId: string;
|
|
167
|
+
/** 第一条道路名称 */
|
|
168
|
+
firstName: string;
|
|
169
|
+
/** 第二条道路ID */
|
|
170
|
+
secondId: string;
|
|
171
|
+
/** 第二条道路名称 */
|
|
172
|
+
secondName: string;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* 兴趣区域信息
|
|
176
|
+
*/
|
|
177
|
+
export interface AOI {
|
|
178
|
+
/** AOI ID */
|
|
179
|
+
id: string;
|
|
180
|
+
/** AOI 名称 */
|
|
181
|
+
name: string;
|
|
182
|
+
/** 区域编码 */
|
|
183
|
+
adCode: string;
|
|
184
|
+
/** 中心点坐标 */
|
|
185
|
+
location: Coordinates;
|
|
186
|
+
/** 面积 */
|
|
187
|
+
area: number;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* 逆地理编码选项
|
|
191
|
+
*/
|
|
192
|
+
export interface ReGeocodeOptions {
|
|
193
|
+
/** 经纬度坐标 */
|
|
194
|
+
location: Coordinates;
|
|
195
|
+
/** 搜索半径,默认 1000 米 */
|
|
196
|
+
radius?: number;
|
|
197
|
+
/** 是否返回扩展信息,默认 true */
|
|
198
|
+
requireExtension?: boolean;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* 逆地理编码结果
|
|
202
|
+
*/
|
|
203
|
+
export interface ReGeocodeResult {
|
|
204
|
+
/** 格式化地址 */
|
|
205
|
+
formattedAddress: string;
|
|
206
|
+
/** 地址组成要素 */
|
|
207
|
+
addressComponent: AddressComponent;
|
|
208
|
+
/** 兴趣点列表 */
|
|
209
|
+
pois: POI[];
|
|
210
|
+
/** 道路列表 */
|
|
211
|
+
roads: Road[];
|
|
212
|
+
/** 道路交叉口列表 */
|
|
213
|
+
roadCrosses: RoadCross[];
|
|
214
|
+
/** 兴趣区域列表 */
|
|
215
|
+
aois: AOI[];
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* POI 搜索选项
|
|
219
|
+
*/
|
|
220
|
+
export interface POISearchOptions {
|
|
221
|
+
/** 搜索关键词 */
|
|
222
|
+
keyword: string;
|
|
223
|
+
/** 城市名称或城市编码(可选) */
|
|
224
|
+
city?: string;
|
|
225
|
+
/** POI 类型(可选),多个类型用 | 分隔 */
|
|
226
|
+
types?: string;
|
|
227
|
+
/** 每页记录数,默认 20,最大 50 */
|
|
228
|
+
pageSize?: number;
|
|
229
|
+
/** 当前页码,从 1 开始,默认 1 */
|
|
230
|
+
pageNum?: number;
|
|
231
|
+
/** 是否按照距离排序,需要设置中心点 */
|
|
232
|
+
sortByDistance?: boolean;
|
|
233
|
+
/** 中心点坐标,用于距离排序或周边搜索 */
|
|
234
|
+
center?: Coordinates;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* 周边搜索选项
|
|
238
|
+
*/
|
|
239
|
+
export interface NearbySearchOptions {
|
|
240
|
+
/** 搜索关键词 */
|
|
241
|
+
keyword: string;
|
|
242
|
+
/** 中心点坐标 */
|
|
243
|
+
center: Coordinates;
|
|
244
|
+
/** 搜索半径,单位:米,默认 1000,最大 50000 */
|
|
245
|
+
radius?: number;
|
|
246
|
+
/** POI 类型(可选),多个类型用 | 分隔 */
|
|
247
|
+
types?: string;
|
|
248
|
+
/** 每页记录数,默认 20,最大 50 */
|
|
249
|
+
pageSize?: number;
|
|
250
|
+
/** 当前页码,从 1 开始,默认 1 */
|
|
251
|
+
pageNum?: number;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* 沿途搜索选项
|
|
255
|
+
*/
|
|
256
|
+
export interface AlongSearchOptions {
|
|
257
|
+
/** 搜索关键词 */
|
|
258
|
+
keyword: string;
|
|
259
|
+
/** 路线坐标点数组 */
|
|
260
|
+
polyline: Coordinates[];
|
|
261
|
+
/** 沿途搜索类型。高德 SDK 只支持固定类型,建议显式传入此字段。 */
|
|
262
|
+
routePoiType?: RoutePOIType;
|
|
263
|
+
/** 搜索范围,单位:米,默认 250,最大 500 */
|
|
264
|
+
range?: number;
|
|
265
|
+
/**
|
|
266
|
+
* @deprecated 沿途搜索不是通用 POI 类型搜索,请使用 routePoiType。
|
|
267
|
+
* 为兼容旧代码,仅接受与 RoutePOIType 相同的字符串。
|
|
268
|
+
*/
|
|
269
|
+
types?: string;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* 多边形搜索选项
|
|
273
|
+
*/
|
|
274
|
+
export interface PolygonSearchOptions {
|
|
275
|
+
/** 搜索关键词 */
|
|
276
|
+
keyword: string;
|
|
277
|
+
/** 多边形顶点坐标数组 */
|
|
278
|
+
polygon: Coordinates[];
|
|
279
|
+
/** POI 类型(可选),多个类型用 | 分隔 */
|
|
280
|
+
types?: string;
|
|
281
|
+
/** 每页记录数,默认 20,最大 50 */
|
|
282
|
+
pageSize?: number;
|
|
283
|
+
/** 当前页码,从 1 开始,默认 1 */
|
|
284
|
+
pageNum?: number;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* 输入提示选项
|
|
288
|
+
*/
|
|
289
|
+
export interface InputTipsOptions {
|
|
290
|
+
/** 关键词 */
|
|
291
|
+
keyword: string;
|
|
292
|
+
/** 城市名称或城市编码(可选) */
|
|
293
|
+
city?: string;
|
|
294
|
+
/** POI 类型(可选),多个类型用 | 分隔 */
|
|
295
|
+
types?: string;
|
|
296
|
+
/** 是否强制限制在 city 内,默认 false */
|
|
297
|
+
cityLimit?: boolean;
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* 输入提示结果
|
|
301
|
+
*/
|
|
302
|
+
export interface InputTip {
|
|
303
|
+
/** 提示 ID */
|
|
304
|
+
id: string;
|
|
305
|
+
/** 名称 */
|
|
306
|
+
name: string;
|
|
307
|
+
/** 地址 */
|
|
308
|
+
address: string;
|
|
309
|
+
/** 坐标(可能为空) */
|
|
310
|
+
location?: Coordinates;
|
|
311
|
+
/** 类型编码 */
|
|
312
|
+
typeCode?: string;
|
|
313
|
+
/** 城市名称 */
|
|
314
|
+
cityName?: string;
|
|
315
|
+
/** 区域名称 */
|
|
316
|
+
adName?: string;
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* 搜索结果
|
|
320
|
+
*/
|
|
321
|
+
export interface SearchResult {
|
|
322
|
+
/** POI 列表 */
|
|
323
|
+
pois: POI[];
|
|
324
|
+
/** 总记录数 */
|
|
325
|
+
total: number;
|
|
326
|
+
/** 当前页码 */
|
|
327
|
+
pageNum: number;
|
|
328
|
+
/** 每页记录数 */
|
|
329
|
+
pageSize: number;
|
|
330
|
+
/** 总页数 */
|
|
331
|
+
pageCount: number;
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* 输入提示结果
|
|
335
|
+
*/
|
|
336
|
+
export interface InputTipsResult {
|
|
337
|
+
/** 提示列表 */
|
|
338
|
+
tips: InputTip[];
|
|
339
|
+
}
|
|
340
|
+
//# sourceMappingURL=ExpoGaodeMapSearch.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExpoGaodeMapSearch.types.d.ts","sourceRoot":"","sources":["../../../../src/map/search/ExpoGaodeMapSearch.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,UAAU;IACpB,aAAa;IACb,GAAG,QAAQ;IACX,WAAW;IACX,MAAM,WAAW;IACjB,WAAW;IACX,KAAK,UAAU;IACf,YAAY;I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|
5
|
+
(function (SearchType) {
|
|
6
|
+
/** POI 搜索 */
|
|
7
|
+
SearchType["POI"] = "poi";
|
|
8
|
+
/** 周边搜索 */
|
|
9
|
+
SearchType["NEARBY"] = "nearby";
|
|
10
|
+
/** 沿途搜索 */
|
|
11
|
+
SearchType["ALONG"] = "along";
|
|
12
|
+
/** 多边形搜索 */
|
|
13
|
+
SearchType["POLYGON"] = "polygon";
|
|
14
|
+
/** 输入提示 */
|
|
15
|
+
SearchType["INPUT_TIPS"] = "inputTips";
|
|
16
|
+
/** 逆地理编码 */
|
|
17
|
+
SearchType["RE_GEOCODE"] = "reGeocode";
|
|
18
|
+
})(SearchType || (SearchType = {}));
|
|
19
|
+
//# sourceMappingURL=ExpoGaodeMapSearch.types.js.map
|