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,456 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 高德地图覆盖物相关类型定义
|
|
3
|
+
* 基于 Expo Modules API
|
|
4
|
+
*/
|
|
5
|
+
import type { ImageSourcePropType, ViewStyle, NativeSyntheticEvent, TextStyle } from 'react-native';
|
|
6
|
+
import type { ColorValue, LatLng, LatLngPoint, Point } from './common.types';
|
|
7
|
+
import type { SmoothMoveEndEvent, SmoothMoveProgressEvent } from './route-playback.types';
|
|
8
|
+
/**
|
|
9
|
+
* 标记点属性
|
|
10
|
+
*/
|
|
11
|
+
export interface MarkerProps {
|
|
12
|
+
/**
|
|
13
|
+
* 坐标
|
|
14
|
+
* 支持对象 {latitude, longitude} 或数组 [longitude, latitude]
|
|
15
|
+
*/
|
|
16
|
+
position: LatLngPoint;
|
|
17
|
+
/**
|
|
18
|
+
* 图标
|
|
19
|
+
*/
|
|
20
|
+
icon?: string | ImageSourcePropType;
|
|
21
|
+
/**
|
|
22
|
+
* 图标宽度(像素)
|
|
23
|
+
* 仅在使用 icon 属性时有效
|
|
24
|
+
*/
|
|
25
|
+
iconWidth?: number;
|
|
26
|
+
/**
|
|
27
|
+
* 图标高度(像素)
|
|
28
|
+
* 仅在使用 icon 属性时有效
|
|
29
|
+
*/
|
|
30
|
+
iconHeight?: number;
|
|
31
|
+
/**
|
|
32
|
+
* 标题
|
|
33
|
+
*/
|
|
34
|
+
title?: string;
|
|
35
|
+
/**
|
|
36
|
+
* 描述
|
|
37
|
+
*/
|
|
38
|
+
snippet?: string;
|
|
39
|
+
/**
|
|
40
|
+
* 透明度 [0, 1]
|
|
41
|
+
* @platform android
|
|
42
|
+
* @note iOS 不支持
|
|
43
|
+
*/
|
|
44
|
+
opacity?: number;
|
|
45
|
+
/**
|
|
46
|
+
* 是否可拖拽
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
49
|
+
draggable?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* 是否平贴地图
|
|
52
|
+
* @platform android
|
|
53
|
+
* @note iOS 不支持
|
|
54
|
+
*/
|
|
55
|
+
flat?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* 层级
|
|
58
|
+
* @platform android
|
|
59
|
+
* @note iOS 不支持 (使用 displayPriority)
|
|
60
|
+
*/
|
|
61
|
+
zIndex?: number;
|
|
62
|
+
/**
|
|
63
|
+
* 覆盖物锚点比例
|
|
64
|
+
* @platform android
|
|
65
|
+
* @note iOS 使用 centerOffset
|
|
66
|
+
*/
|
|
67
|
+
anchor?: Point;
|
|
68
|
+
/**
|
|
69
|
+
* 覆盖物偏移位置
|
|
70
|
+
* @platform ios
|
|
71
|
+
*/
|
|
72
|
+
centerOffset?: Point;
|
|
73
|
+
/**
|
|
74
|
+
* 是否显示动画
|
|
75
|
+
* @platform ios
|
|
76
|
+
*/
|
|
77
|
+
animatesDrop?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* 大头针颜色
|
|
80
|
+
* Android 支持更多颜色,iOS 只支持 red, green, purple
|
|
81
|
+
*/
|
|
82
|
+
pinColor?: 'red' | 'orange' | 'yellow' | 'green' | 'cyan' | 'blue' | 'violet' | 'magenta' | 'rose' | 'purple';
|
|
83
|
+
/**
|
|
84
|
+
* 自定义视图
|
|
85
|
+
* 当使用 children 时,会将 React Native 组件渲染为图片显示在地图上
|
|
86
|
+
*/
|
|
87
|
+
children?: React.ReactNode;
|
|
88
|
+
/**
|
|
89
|
+
* 缓存 key 建议使用 提高性能
|
|
90
|
+
*/
|
|
91
|
+
cacheKey?: string;
|
|
92
|
+
/**
|
|
93
|
+
* 是否开启生长动画
|
|
94
|
+
* @default false
|
|
95
|
+
*/
|
|
96
|
+
growAnimation?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* 点击事件
|
|
99
|
+
*/
|
|
100
|
+
onMarkerPress?: (event: NativeSyntheticEvent<LatLng>) => void;
|
|
101
|
+
/**
|
|
102
|
+
* 拖拽开始事件
|
|
103
|
+
*/
|
|
104
|
+
onMarkerDragStart?: (event: NativeSyntheticEvent<LatLng>) => void;
|
|
105
|
+
/**
|
|
106
|
+
* 拖拽中事件
|
|
107
|
+
*/
|
|
108
|
+
onMarkerDrag?: (event: NativeSyntheticEvent<LatLng>) => void;
|
|
109
|
+
/**
|
|
110
|
+
* 拖拽结束事件
|
|
111
|
+
*/
|
|
112
|
+
onMarkerDragEnd?: (event: NativeSyntheticEvent<LatLng>) => void;
|
|
113
|
+
/**
|
|
114
|
+
* 平滑移动轨迹点数组
|
|
115
|
+
* 设置后,Marker 会沿着轨迹平滑移动
|
|
116
|
+
*/
|
|
117
|
+
smoothMovePath?: LatLng[];
|
|
118
|
+
/**
|
|
119
|
+
* 平滑移动总时长(秒)
|
|
120
|
+
* @default 10
|
|
121
|
+
*/
|
|
122
|
+
smoothMoveDuration?: number;
|
|
123
|
+
/**
|
|
124
|
+
* 平滑移动进度事件
|
|
125
|
+
*/
|
|
126
|
+
onSmoothMoveProgress?: (event: NativeSyntheticEvent<SmoothMoveProgressEvent>) => void;
|
|
127
|
+
/**
|
|
128
|
+
* 平滑移动完成事件
|
|
129
|
+
*/
|
|
130
|
+
onSmoothMoveEnd?: (event: NativeSyntheticEvent<SmoothMoveEndEvent>) => void;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* 折线属性
|
|
134
|
+
*/
|
|
135
|
+
export interface PolylineProps {
|
|
136
|
+
/**
|
|
137
|
+
* 节点坐标数组
|
|
138
|
+
* 支持对象 {latitude, longitude} 或数组 [longitude, latitude]
|
|
139
|
+
*/
|
|
140
|
+
points: LatLngPoint[];
|
|
141
|
+
/**
|
|
142
|
+
* 线宽
|
|
143
|
+
*/
|
|
144
|
+
strokeWidth?: number;
|
|
145
|
+
/**
|
|
146
|
+
* 线条颜色
|
|
147
|
+
*/
|
|
148
|
+
strokeColor?: ColorValue;
|
|
149
|
+
/**
|
|
150
|
+
* 层级
|
|
151
|
+
*/
|
|
152
|
+
zIndex?: number;
|
|
153
|
+
/**
|
|
154
|
+
* 分段颜色
|
|
155
|
+
*/
|
|
156
|
+
colors?: ColorValue[];
|
|
157
|
+
/**
|
|
158
|
+
* 是否使用渐变色
|
|
159
|
+
* @platform android
|
|
160
|
+
* @note iOS 不支持
|
|
161
|
+
*/
|
|
162
|
+
gradient?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* 是否绘制大地线
|
|
165
|
+
* @platform android
|
|
166
|
+
* @note iOS 不支持
|
|
167
|
+
*/
|
|
168
|
+
geodesic?: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* 轨迹抽稀容差(米)
|
|
171
|
+
* 设置大于 0 的值时启用 RDP 算法简化轨迹点
|
|
172
|
+
* 建议值为 1.0 - 5.0,值越大简化程度越高
|
|
173
|
+
*/
|
|
174
|
+
simplificationTolerance?: number;
|
|
175
|
+
/**
|
|
176
|
+
* 是否绘制虚线
|
|
177
|
+
* @platform android
|
|
178
|
+
* @note iOS 不支持
|
|
179
|
+
*/
|
|
180
|
+
dotted?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
* 纹理图片
|
|
183
|
+
* 支持网络图片(http/https)、本地文件(file://)或资源名称
|
|
184
|
+
*/
|
|
185
|
+
texture?: string;
|
|
186
|
+
/**
|
|
187
|
+
* 点击事件
|
|
188
|
+
*/
|
|
189
|
+
onPolylinePress?: (event: NativeSyntheticEvent<{}>) => void;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* 多边形属性
|
|
193
|
+
*/
|
|
194
|
+
export interface PolygonProps {
|
|
195
|
+
/**
|
|
196
|
+
* 节点坐标数组
|
|
197
|
+
* 支持对象 {latitude, longitude} 或数组 [longitude, latitude]
|
|
198
|
+
* 同时也支持嵌套数组格式 [[p1, p2, ...], [p3, p4, ...]],用于定义带孔的多边形
|
|
199
|
+
* 其中第一个数组为外轮廓,后续数组为内孔
|
|
200
|
+
*/
|
|
201
|
+
points: LatLngPoint[] | LatLngPoint[][];
|
|
202
|
+
/**
|
|
203
|
+
* 边线宽度
|
|
204
|
+
*/
|
|
205
|
+
strokeWidth?: number;
|
|
206
|
+
/**
|
|
207
|
+
* 边线颜色
|
|
208
|
+
*/
|
|
209
|
+
strokeColor?: ColorValue;
|
|
210
|
+
/**
|
|
211
|
+
* 填充颜色
|
|
212
|
+
*/
|
|
213
|
+
fillColor?: ColorValue;
|
|
214
|
+
/**
|
|
215
|
+
* 层级
|
|
216
|
+
*/
|
|
217
|
+
zIndex?: number;
|
|
218
|
+
/**
|
|
219
|
+
* 点击事件
|
|
220
|
+
*/
|
|
221
|
+
onPolygonPress?: (event: NativeSyntheticEvent<{}>) => void;
|
|
222
|
+
/**
|
|
223
|
+
* 轨迹抽稀容差(米)
|
|
224
|
+
* 设置大于 0 的值时启用 RDP 算法简化多边形边界
|
|
225
|
+
* 建议值为 1.0 - 5.0,值越大简化程度越高
|
|
226
|
+
*/
|
|
227
|
+
simplificationTolerance?: number;
|
|
228
|
+
/**
|
|
229
|
+
* 简化完成事件
|
|
230
|
+
*/
|
|
231
|
+
onPolygonSimplified?: (event: NativeSyntheticEvent<{
|
|
232
|
+
originalCount: number;
|
|
233
|
+
simplifiedCount: number;
|
|
234
|
+
}>) => void;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* 圆形属性
|
|
238
|
+
*/
|
|
239
|
+
export interface CircleProps {
|
|
240
|
+
/**
|
|
241
|
+
* 圆心坐标
|
|
242
|
+
* 支持对象 {latitude, longitude} 或数组 [longitude, latitude]
|
|
243
|
+
*/
|
|
244
|
+
center: LatLngPoint;
|
|
245
|
+
/**
|
|
246
|
+
* 半径(米)
|
|
247
|
+
*/
|
|
248
|
+
radius: number;
|
|
249
|
+
/**
|
|
250
|
+
* 边线宽度
|
|
251
|
+
*/
|
|
252
|
+
strokeWidth?: number;
|
|
253
|
+
/**
|
|
254
|
+
* 边线颜色
|
|
255
|
+
*/
|
|
256
|
+
strokeColor?: ColorValue;
|
|
257
|
+
/**
|
|
258
|
+
* 填充颜色
|
|
259
|
+
*/
|
|
260
|
+
fillColor?: ColorValue;
|
|
261
|
+
/**
|
|
262
|
+
* 层级
|
|
263
|
+
*/
|
|
264
|
+
zIndex?: number;
|
|
265
|
+
/**
|
|
266
|
+
* 点击事件
|
|
267
|
+
*/
|
|
268
|
+
onCirclePress?: (event: NativeSyntheticEvent<{}>) => void;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* 热力图渐变配置
|
|
272
|
+
*/
|
|
273
|
+
export interface HeatMapGradient {
|
|
274
|
+
/**
|
|
275
|
+
* 颜色数组
|
|
276
|
+
* 支持 '#RRGGBB', 'rgba()', 'red' 等
|
|
277
|
+
*/
|
|
278
|
+
colors: ColorValue[];
|
|
279
|
+
/**
|
|
280
|
+
* 颜色起始点数组 [0-1]
|
|
281
|
+
* 必须递增,例如 [0.2, 0.5, 0.9]
|
|
282
|
+
*/
|
|
283
|
+
startPoints: number[];
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* 热力图属性
|
|
287
|
+
*/
|
|
288
|
+
export interface HeatMapProps {
|
|
289
|
+
/**
|
|
290
|
+
* 热力点数据
|
|
291
|
+
* 支持对象 {latitude, longitude} 或数组 [longitude, latitude]
|
|
292
|
+
*/
|
|
293
|
+
data: LatLngPoint[];
|
|
294
|
+
/**
|
|
295
|
+
* 是否显示热力图(用于避免频繁卸载/重建导致卡顿)
|
|
296
|
+
*/
|
|
297
|
+
visible?: boolean;
|
|
298
|
+
/**
|
|
299
|
+
* 热力半径(米)
|
|
300
|
+
*/
|
|
301
|
+
radius?: number;
|
|
302
|
+
/**
|
|
303
|
+
* 透明度 [0, 1]
|
|
304
|
+
*/
|
|
305
|
+
opacity?: number;
|
|
306
|
+
/**
|
|
307
|
+
* 热力图渐变配置
|
|
308
|
+
*/
|
|
309
|
+
gradient?: HeatMapGradient;
|
|
310
|
+
/**
|
|
311
|
+
* 是否开启高清热力图(Retina适配)
|
|
312
|
+
* @platform ios
|
|
313
|
+
*/
|
|
314
|
+
allowRetinaAdapting?: boolean;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* 海量点标记项
|
|
318
|
+
*/
|
|
319
|
+
export interface MultiPointItem extends LatLng {
|
|
320
|
+
/**
|
|
321
|
+
* 唯一标识
|
|
322
|
+
*/
|
|
323
|
+
id?: string | number;
|
|
324
|
+
/**
|
|
325
|
+
* 自定义数据
|
|
326
|
+
*/
|
|
327
|
+
data?: unknown;
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* 海量点属性
|
|
331
|
+
*/
|
|
332
|
+
export interface MultiPointProps {
|
|
333
|
+
/**
|
|
334
|
+
* 点集合
|
|
335
|
+
*/
|
|
336
|
+
points: MultiPointItem[];
|
|
337
|
+
/**
|
|
338
|
+
* 图标
|
|
339
|
+
*/
|
|
340
|
+
icon?: string | ImageSourcePropType;
|
|
341
|
+
/**
|
|
342
|
+
* 图标宽度
|
|
343
|
+
*/
|
|
344
|
+
iconWidth?: number;
|
|
345
|
+
/**
|
|
346
|
+
* 图标高度
|
|
347
|
+
*/
|
|
348
|
+
iconHeight?: number;
|
|
349
|
+
/**
|
|
350
|
+
* 点击事件
|
|
351
|
+
*/
|
|
352
|
+
onMultiPointPress?: (event: NativeSyntheticEvent<{
|
|
353
|
+
index: number;
|
|
354
|
+
item: MultiPointItem;
|
|
355
|
+
}>) => void;
|
|
356
|
+
}
|
|
357
|
+
/**
|
|
358
|
+
* 聚合点参数
|
|
359
|
+
*/
|
|
360
|
+
export interface ClusterParams {
|
|
361
|
+
/**
|
|
362
|
+
* 包含的标记点数量
|
|
363
|
+
*/
|
|
364
|
+
count: number;
|
|
365
|
+
/**
|
|
366
|
+
* 纬度
|
|
367
|
+
*/
|
|
368
|
+
latitude: number;
|
|
369
|
+
/**
|
|
370
|
+
* 经度
|
|
371
|
+
*/
|
|
372
|
+
longitude: number;
|
|
373
|
+
/**
|
|
374
|
+
* 包含的点数据列表
|
|
375
|
+
*/
|
|
376
|
+
pois?: ClusterPoint[];
|
|
377
|
+
/**
|
|
378
|
+
* 唯一标识 (兼容性保留)
|
|
379
|
+
*/
|
|
380
|
+
id?: number;
|
|
381
|
+
/**
|
|
382
|
+
* 聚合点坐标 (兼容性保留)
|
|
383
|
+
*/
|
|
384
|
+
position?: LatLng;
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* 聚合点项
|
|
388
|
+
*/
|
|
389
|
+
export interface ClusterPoint {
|
|
390
|
+
/**
|
|
391
|
+
* 纬度(原生 Cluster 使用)
|
|
392
|
+
*/
|
|
393
|
+
latitude?: number;
|
|
394
|
+
/**
|
|
395
|
+
* 经度(原生 Cluster 使用)
|
|
396
|
+
*/
|
|
397
|
+
longitude?: number;
|
|
398
|
+
/**
|
|
399
|
+
* 坐标(JS ClusterLayer 使用)
|
|
400
|
+
*/
|
|
401
|
+
position?: LatLngPoint;
|
|
402
|
+
/**
|
|
403
|
+
* 自定义数据
|
|
404
|
+
*/
|
|
405
|
+
properties?: Record<string, unknown>;
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* 聚合图层属性
|
|
409
|
+
*/
|
|
410
|
+
export interface ClusterProps {
|
|
411
|
+
/**
|
|
412
|
+
* 聚合点基础图标
|
|
413
|
+
* 当前支持远程 URL、本地文件路径或原生资源名称
|
|
414
|
+
*/
|
|
415
|
+
icon?: string;
|
|
416
|
+
/**
|
|
417
|
+
* 聚合半径
|
|
418
|
+
*/
|
|
419
|
+
radius?: number;
|
|
420
|
+
/**
|
|
421
|
+
* 最小聚合数量
|
|
422
|
+
*/
|
|
423
|
+
minClusterSize?: number;
|
|
424
|
+
/**
|
|
425
|
+
* 聚合点样式
|
|
426
|
+
*/
|
|
427
|
+
clusterStyle?: ViewStyle;
|
|
428
|
+
/**
|
|
429
|
+
* 分级聚合样式配置
|
|
430
|
+
* 根据聚合数量动态设置样式
|
|
431
|
+
*/
|
|
432
|
+
clusterBuckets?: ({
|
|
433
|
+
minPoints: number;
|
|
434
|
+
} & ViewStyle)[];
|
|
435
|
+
/**
|
|
436
|
+
* 聚合点文本样式
|
|
437
|
+
*/
|
|
438
|
+
clusterTextStyle?: TextStyle;
|
|
439
|
+
/**
|
|
440
|
+
* 坐标点列表
|
|
441
|
+
*/
|
|
442
|
+
points: ClusterPoint[];
|
|
443
|
+
/**
|
|
444
|
+
* 暂未实现,请勿使用
|
|
445
|
+
*/
|
|
446
|
+
renderMarker?: (item: ClusterPoint) => React.ReactNode;
|
|
447
|
+
/**
|
|
448
|
+
* 暂未实现,请勿使用
|
|
449
|
+
*/
|
|
450
|
+
renderCluster?: (params: ClusterParams) => React.ReactNode;
|
|
451
|
+
/**
|
|
452
|
+
* 聚合点点击事件
|
|
453
|
+
*/
|
|
454
|
+
onClusterPress?: (event: NativeSyntheticEvent<ClusterParams>) => void;
|
|
455
|
+
}
|
|
456
|
+
//# sourceMappingURL=overlays.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlays.types.d.ts","sourceRoot":"","sources":["../../../../src/map/types/overlays.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAA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ts"],"names":[],"mappings":"AAAA;;;GAGG","sourcesContent":["/**\n * 高德地图覆盖物相关类型定义\n * 基于 Expo Modules API\n */\n\nimport type { ImageSourcePropType, ViewStyle, NativeSyntheticEvent, TextStyle } from 'react-native';\nimport type { ColorValue, LatLng, LatLngPoint, Point } from './common.types';\nimport type {\n SmoothMoveEndEvent,\n SmoothMoveProgressEvent,\n} from './route-playback.types';\n\n/**\n * 标记点属性\n */\nexport interface MarkerProps {\n /**\n * 坐标\n * 支持对象 {latitude, longitude} 或数组 [longitude, latitude]\n */\n position: LatLngPoint;\n\n /**\n * 图标\n */\n icon?: string | ImageSourcePropType;\n\n /**\n * 图标宽度(像素)\n * 仅在使用 icon 属性时有效\n */\n iconWidth?: number;\n\n /**\n * 图标高度(像素)\n * 仅在使用 icon 属性时有效\n */\n iconHeight?: number;\n\n /**\n * 标题\n */\n title?: string;\n\n /**\n * 描述\n */\n snippet?: string;\n\n /**\n * 透明度 [0, 1]\n * @platform android\n * @note iOS 不支持\n */\n opacity?: number;\n\n /**\n * 是否可拖拽\n * @default false\n */\n draggable?: boolean;\n\n /**\n * 是否平贴地图\n * @platform android\n * @note iOS 不支持\n */\n flat?: boolean;\n\n /**\n * 层级\n * @platform android\n * @note iOS 不支持 (使用 displayPriority)\n */\n zIndex?: number;\n\n /**\n * 覆盖物锚点比例\n * @platform android\n * @note iOS 使用 centerOffset\n */\n anchor?: Point;\n\n /**\n * 覆盖物偏移位置\n * @platform ios\n */\n centerOffset?: Point;\n\n /**\n * 是否显示动画\n * @platform ios\n */\n animatesDrop?: boolean;\n\n /**\n * 大头针颜色\n * Android 支持更多颜色,iOS 只支持 red, green, purple\n */\n pinColor?: 'red' | 'orange' | 'yellow' | 'green' | 'cyan' | 'blue' | 'violet' | 'magenta' | 'rose' | 'purple';\n\n /**\n * 自定义视图\n * 当使用 children 时,会将 React Native 组件渲染为图片显示在地图上\n */\n children?: React.ReactNode;\n\n /**\n * 缓存 key 建议使用 提高性能\n */\n cacheKey?: string;\n\n /**\n * 是否开启生长动画\n * @default false\n */\n growAnimation?: boolean;\n\n /**\n * 点击事件\n */\n onMarkerPress?: (event: NativeSyntheticEvent<LatLng>) => void;\n\n /**\n * 拖拽开始事件\n */\n onMarkerDragStart?: (event: NativeSyntheticEvent<LatLng>) => void;\n\n /**\n * 拖拽中事件\n */\n onMarkerDrag?: (event: NativeSyntheticEvent<LatLng>) => void;\n\n /**\n * 拖拽结束事件\n */\n onMarkerDragEnd?: (event: NativeSyntheticEvent<LatLng>) => void;\n\n /**\n * 平滑移动轨迹点数组\n * 设置后,Marker 会沿着轨迹平滑移动\n */\n smoothMovePath?: LatLng[];\n\n /**\n * 平滑移动总时长(秒)\n * @default 10\n */\n smoothMoveDuration?: number;\n\n /**\n * 平滑移动进度事件\n */\n onSmoothMoveProgress?: (event: NativeSyntheticEvent<SmoothMoveProgressEvent>) => void;\n\n /**\n * 平滑移动完成事件\n */\n onSmoothMoveEnd?: (event: NativeSyntheticEvent<SmoothMoveEndEvent>) => void;\n}\n\n/**\n * 折线属性\n */\nexport interface PolylineProps {\n /**\n * 节点坐标数组\n * 支持对象 {latitude, longitude} 或数组 [longitude, latitude]\n */\n points: LatLngPoint[];\n\n /**\n * 线宽\n */\n strokeWidth?: number;\n\n /**\n * 线条颜色\n */\n strokeColor?: ColorValue;\n\n /**\n * 层级\n */\n zIndex?: number;\n\n /**\n * 分段颜色\n */\n colors?: ColorValue[];\n\n /**\n * 是否使用渐变色\n * @platform android\n * @note iOS 不支持\n */\n gradient?: boolean;\n\n /**\n * 是否绘制大地线\n * @platform android\n * @note iOS 不支持\n */\n geodesic?: boolean;\n\n /**\n * 轨迹抽稀容差(米)\n * 设置大于 0 的值时启用 RDP 算法简化轨迹点\n * 建议值为 1.0 - 5.0,值越大简化程度越高\n */\n simplificationTolerance?: number;\n\n /**\n * 是否绘制虚线\n * @platform android\n * @note iOS 不支持\n */\n dotted?: boolean;\n\n /**\n * 纹理图片\n * 支持网络图片(http/https)、本地文件(file://)或资源名称\n */\n texture?: string;\n\n /**\n * 点击事件\n */\n onPolylinePress?: (event: NativeSyntheticEvent<{}>) => void;\n}\n\n/**\n * 多边形属性\n */\nexport interface PolygonProps {\n /**\n * 节点坐标数组\n * 支持对象 {latitude, longitude} 或数组 [longitude, latitude]\n * 同时也支持嵌套数组格式 [[p1, p2, ...], [p3, p4, ...]],用于定义带孔的多边形\n * 其中第一个数组为外轮廓,后续数组为内孔\n */\n points: LatLngPoint[] | LatLngPoint[][];\n\n /**\n * 边线宽度\n */\n strokeWidth?: number;\n\n /**\n * 边线颜色\n */\n strokeColor?: ColorValue;\n\n /**\n * 填充颜色\n */\n fillColor?: ColorValue;\n\n /**\n * 层级\n */\n zIndex?: number;\n\n /**\n * 点击事件\n */\n onPolygonPress?: (event: NativeSyntheticEvent<{}>) => void;\n\n /**\n * 轨迹抽稀容差(米)\n * 设置大于 0 的值时启用 RDP 算法简化多边形边界\n * 建议值为 1.0 - 5.0,值越大简化程度越高\n */\n simplificationTolerance?: number;\n\n /**\n * 简化完成事件\n */\n onPolygonSimplified?: (event: NativeSyntheticEvent<{ originalCount: number; simplifiedCount: number }>) => void;\n}\n\n/**\n * 圆形属性\n */\nexport interface CircleProps {\n /**\n * 圆心坐标\n * 支持对象 {latitude, longitude} 或数组 [longitude, latitude]\n */\n center: LatLngPoint;\n\n /**\n * 半径(米)\n */\n radius: number;\n\n /**\n * 边线宽度\n */\n strokeWidth?: number;\n\n /**\n * 边线颜色\n */\n strokeColor?: ColorValue;\n\n /**\n * 填充颜色\n */\n fillColor?: ColorValue;\n\n /**\n * 层级\n */\n zIndex?: number;\n\n /**\n * 点击事件\n */\n onCirclePress?: (event: NativeSyntheticEvent<{}>) => void;\n\n\n}\n\n/**\n * 热力图渐变配置\n */\nexport interface HeatMapGradient {\n /**\n * 颜色数组\n * 支持 '#RRGGBB', 'rgba()', 'red' 等\n */\n colors: ColorValue[];\n \n /**\n * 颜色起始点数组 [0-1]\n * 必须递增,例如 [0.2, 0.5, 0.9]\n */\n startPoints: number[];\n}\n\n/**\n * 热力图属性\n */\nexport interface HeatMapProps {\n /**\n * 热力点数据\n * 支持对象 {latitude, longitude} 或数组 [longitude, latitude]\n */\n data: LatLngPoint[];\n\n /**\n * 是否显示热力图(用于避免频繁卸载/重建导致卡顿)\n */\n visible?: boolean;\n\n /**\n * 热力半径(米)\n */\n radius?: number;\n\n /**\n * 透明度 [0, 1]\n */\n opacity?: number;\n\n /**\n * 热力图渐变配置\n */\n gradient?: HeatMapGradient;\n\n /**\n * 是否开启高清热力图(Retina适配)\n * @platform ios\n */\n allowRetinaAdapting?: boolean;\n}\n\n/**\n * 海量点标记项\n */\nexport interface MultiPointItem extends LatLng {\n /**\n * 唯一标识\n */\n id?: string | number;\n\n /**\n * 自定义数据\n */\n data?: unknown;\n}\n\n/**\n * 海量点属性\n */\nexport interface MultiPointProps {\n /**\n * 点集合\n */\n points: MultiPointItem[];\n\n /**\n * 图标\n */\n icon?: string | ImageSourcePropType; \n\n /**\n * 图标宽度\n */\n iconWidth?: number;\n\n /**\n * 图标高度\n */\n iconHeight?: number;\n\n /**\n * 点击事件\n */\n onMultiPointPress?: (event: NativeSyntheticEvent<{ index: number; item: MultiPointItem }>) => void;\n}\n\n/**\n * 聚合点参数\n */\nexport interface ClusterParams {\n /**\n * 包含的标记点数量\n */\n count: number;\n\n /**\n * 纬度\n */\n latitude: number;\n\n /**\n * 经度\n */\n longitude: number;\n\n /**\n * 包含的点数据列表\n */\n pois?: ClusterPoint[];\n\n /**\n * 唯一标识 (兼容性保留)\n */\n id?: number;\n\n /**\n * 聚合点坐标 (兼容性保留)\n */\n position?: LatLng;\n}\n\n/**\n * 聚合点项\n */\nexport interface ClusterPoint {\n /**\n * 纬度(原生 Cluster 使用)\n */\n latitude?: number;\n \n /**\n * 经度(原生 Cluster 使用)\n */\n longitude?: number;\n\n /**\n * 坐标(JS ClusterLayer 使用)\n */\n position?: LatLngPoint;\n\n /**\n * 自定义数据\n */\n properties?: Record<string, unknown>;\n}\n\n/**\n * 聚合图层属性\n */\nexport interface ClusterProps {\n /**\n * 聚合点基础图标\n * 当前支持远程 URL、本地文件路径或原生资源名称\n */\n icon?: string;\n\n /**\n * 聚合半径\n */\n radius?: number;\n\n /**\n * 最小聚合数量\n */\n minClusterSize?: number;\n\n /**\n * 聚合点样式\n */\n clusterStyle?: ViewStyle;\n\n /**\n * 分级聚合样式配置\n * 根据聚合数量动态设置样式\n */\n clusterBuckets?: ({ minPoints: number } & ViewStyle)[];\n\n /**\n * 聚合点文本样式\n */\n clusterTextStyle?: TextStyle;\n\n /**\n * 坐标点列表\n */\n points: ClusterPoint[];\n\n /**\n * 暂未实现,请勿使用\n */\n renderMarker?: (item: ClusterPoint) => React.ReactNode;\n\n /**\n * 暂未实现,请勿使用\n */\n renderCluster?: (params: ClusterParams) => React.ReactNode;\n\n /**\n * 聚合点点击事件\n */\n onClusterPress?: (event: NativeSyntheticEvent<ClusterParams>) => void;\n}\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { NativeSyntheticEvent } from 'react-native';
|
|
2
|
+
import type { LatLng } from './common.types';
|
|
3
|
+
export interface SmoothMoveProgressEvent {
|
|
4
|
+
position: LatLng;
|
|
5
|
+
angle: number;
|
|
6
|
+
progress: number;
|
|
7
|
+
distance: number;
|
|
8
|
+
totalDistance: number;
|
|
9
|
+
}
|
|
10
|
+
export interface SmoothMoveEndEvent {
|
|
11
|
+
position: LatLng;
|
|
12
|
+
angle: number;
|
|
13
|
+
totalDistance: number;
|
|
14
|
+
}
|
|
15
|
+
export interface FitToCoordinatesOptions {
|
|
16
|
+
duration?: number;
|
|
17
|
+
paddingFactor?: number;
|
|
18
|
+
minZoom?: number;
|
|
19
|
+
maxZoom?: number;
|
|
20
|
+
singlePointZoom?: number;
|
|
21
|
+
bearing?: number;
|
|
22
|
+
tilt?: number;
|
|
23
|
+
preserveBearing?: boolean;
|
|
24
|
+
preserveTilt?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export type SmoothMoveProgressEventHandler = (event: NativeSyntheticEvent<SmoothMoveProgressEvent>) => void;
|
|
27
|
+
export type SmoothMoveEndEventHandler = (event: NativeSyntheticEvent<SmoothMoveEndEvent>) => void;
|
|
28
|
+
//# sourceMappingURL=route-playback.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route-playback.types.d.ts","sourceRoot":"","sources":["../../../../src/map/types/route-playback.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,MAAM,8BAA8B,GAAG,CAC3C,KAAK,EAAE,oBAAoB,CAAC,uBAAuB,CAAC,KACjD,IAAI,CAAC;AAEV,MAAM,MAAM,yBAAyB,GAAG,CACtC,KAAK,EAAE,oBAAoB,CAAC,kBAAkB,CAAC,KAC5C,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"route-playback.types.js","sourceRoot":"","sources":["../../../../src/map/types/route-playback.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { NativeSyntheticEvent } from 'react-native';\n\nimport type { LatLng } from './common.types';\n\nexport interface SmoothMoveProgressEvent {\n position: LatLng;\n angle: number;\n progress: number;\n distance: number;\n totalDistance: number;\n}\n\nexport interface SmoothMoveEndEvent {\n position: LatLng;\n angle: number;\n totalDistance: number;\n}\n\nexport interface FitToCoordinatesOptions {\n duration?: number;\n paddingFactor?: number;\n minZoom?: number;\n maxZoom?: number;\n singlePointZoom?: number;\n bearing?: number;\n tilt?: number;\n preserveBearing?: boolean;\n preserveTilt?: boolean;\n}\n\nexport type SmoothMoveProgressEventHandler = (\n event: NativeSyntheticEvent<SmoothMoveProgressEvent>\n) => void;\n\nexport type SmoothMoveEndEventHandler = (\n event: NativeSyntheticEvent<SmoothMoveEndEvent>\n) => void;\n"]}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 高德地图错误处理工具
|
|
3
|
+
* 提供友好的错误提示和解决方案指引
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* 错误类型枚举
|
|
7
|
+
*/
|
|
8
|
+
export declare enum ErrorType {
|
|
9
|
+
/** SDK 未初始化 */
|
|
10
|
+
SDK_NOT_INITIALIZED = "SDK_NOT_INITIALIZED",
|
|
11
|
+
/** 隐私协议未确认 */
|
|
12
|
+
PRIVACY_NOT_AGREED = "PRIVACY_NOT_AGREED",
|
|
13
|
+
/** API Key 配置错误 */
|
|
14
|
+
INVALID_API_KEY = "INVALID_API_KEY",
|
|
15
|
+
/** 权限未授予 */
|
|
16
|
+
PERMISSION_DENIED = "PERMISSION_DENIED",
|
|
17
|
+
/** 定位失败 */
|
|
18
|
+
LOCATION_FAILED = "LOCATION_FAILED",
|
|
19
|
+
/** 原生模块不可用 */
|
|
20
|
+
NATIVE_MODULE_UNAVAILABLE = "NATIVE_MODULE_UNAVAILABLE",
|
|
21
|
+
/** 地图视图未初始化 */
|
|
22
|
+
MAP_VIEW_NOT_INITIALIZED = "MAP_VIEW_NOT_INITIALIZED",
|
|
23
|
+
/** 参数错误 */
|
|
24
|
+
INVALID_PARAMETER = "INVALID_PARAMETER",
|
|
25
|
+
/** 网络错误 */
|
|
26
|
+
NETWORK_ERROR = "NETWORK_ERROR"
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* 错误详情接口
|
|
30
|
+
*/
|
|
31
|
+
export interface ErrorDetails {
|
|
32
|
+
/** 错误类型 */
|
|
33
|
+
type: ErrorType;
|
|
34
|
+
/** 错误消息 */
|
|
35
|
+
message: string;
|
|
36
|
+
/** 解决方案 */
|
|
37
|
+
solution: string;
|
|
38
|
+
/** 文档链接 */
|
|
39
|
+
docUrl?: string;
|
|
40
|
+
/** 原始错误 */
|
|
41
|
+
originalError?: Error;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* 自定义错误类
|
|
45
|
+
*/
|
|
46
|
+
export declare class GaodeMapError extends Error {
|
|
47
|
+
type: ErrorType;
|
|
48
|
+
solution: string;
|
|
49
|
+
docUrl?: string;
|
|
50
|
+
originalError?: Error;
|
|
51
|
+
constructor(details: ErrorDetails);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* 错误处理器类
|
|
55
|
+
*/
|
|
56
|
+
export declare class ErrorHandler {
|
|
57
|
+
private static docBaseUrl;
|
|
58
|
+
/**
|
|
59
|
+
* SDK 未初始化错误
|
|
60
|
+
*/
|
|
61
|
+
static sdkNotInitialized(): GaodeMapError;
|
|
62
|
+
/**
|
|
63
|
+
* 隐私协议未确认错误
|
|
64
|
+
*/
|
|
65
|
+
static privacyNotAgreed(scene: 'map' | 'sdk'): GaodeMapError;
|
|
66
|
+
/**
|
|
67
|
+
* API Key 配置错误
|
|
68
|
+
*/
|
|
69
|
+
static invalidApiKey(platform: 'android' | 'ios' | 'both'): GaodeMapError;
|
|
70
|
+
/**
|
|
71
|
+
* 权限未授予错误
|
|
72
|
+
*/
|
|
73
|
+
static permissionDenied(permissionType: 'location'): GaodeMapError;
|
|
74
|
+
/**
|
|
75
|
+
* 定位失败错误
|
|
76
|
+
*/
|
|
77
|
+
static locationFailed(reason?: string): GaodeMapError;
|
|
78
|
+
/**
|
|
79
|
+
* 原生模块不可用错误
|
|
80
|
+
*/
|
|
81
|
+
static nativeModuleUnavailable(): GaodeMapError;
|
|
82
|
+
/**
|
|
83
|
+
* 地图视图未初始化错误
|
|
84
|
+
*/
|
|
85
|
+
static mapViewNotInitialized(methodName: string): GaodeMapError;
|
|
86
|
+
/**
|
|
87
|
+
* 参数错误
|
|
88
|
+
*/
|
|
89
|
+
static invalidParameter(paramName: string, expected: string, received: unknown): GaodeMapError;
|
|
90
|
+
/**
|
|
91
|
+
* 网络错误
|
|
92
|
+
*/
|
|
93
|
+
static networkError(originalError?: Error): GaodeMapError;
|
|
94
|
+
/**
|
|
95
|
+
* 包装原生错误,提供更友好的提示
|
|
96
|
+
*/
|
|
97
|
+
static wrapNativeError(error: unknown, context: string): GaodeMapError;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* 错误日志工具
|
|
101
|
+
*/
|
|
102
|
+
export declare class ErrorLogger {
|
|
103
|
+
private static isEnabled;
|
|
104
|
+
/**
|
|
105
|
+
* 启用/禁用错误日志
|
|
106
|
+
*/
|
|
107
|
+
static setEnabled(enabled: boolean): void;
|
|
108
|
+
/**
|
|
109
|
+
* 记录错误
|
|
110
|
+
*/
|
|
111
|
+
static log(error: GaodeMapError): void;
|
|
112
|
+
/**
|
|
113
|
+
* 记录警告
|
|
114
|
+
*/
|
|
115
|
+
static warn(message: string, details?: unknown): void;
|
|
116
|
+
/**
|
|
117
|
+
* 记录调试信息
|
|
118
|
+
*/
|
|
119
|
+
static info(message: string, details?: unknown): void;
|
|
120
|
+
}
|
|
121
|
+
//# sourceMappingURL=ErrorHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorHandler.d.ts","sourceRoot":"","sources":["../../../../src/map/utils/ErrorHandler.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,oBAAY,SAAS;IACnB,eAAe;IACf,mBAAmB,wBAAwB;IAC3C,cAAc;IACd,kBAAkB,uBAAuB;IACzC,mBAAmB;IACnB,eAAe,oBAAoB;IACnC,YAAY;IACZ,iBAAiB,sBAAsB;IACvC,WAAW;IACX,eAAe,oBAAoB;IACnC,cAAc;IACd,yBAAyB,8BAA8B;IACvD,eAAe;IACf,wBAAwB,6BAA6B;IACrD,WAAW;IACX,iBAAiB,sBAAsB;IACvC,WAAW;IACX,aAAa,kBAAkB;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,WAAW;IACX,IAAI,EAAE,SAAS,CAAC;IAChB,WAAW;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW;IACX,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW;IACX,aAAa,CAAC,EAAE,KAAK,CAAC;CACvB;AAED;;GAEG;AACH,qBAAa,aAAc,SAAQ,KAAK;IACtC,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,KAAK,CAAC;gBAEV,OAAO,EAAE,YAAY;CAqBlC;AAED;;GAEG;AACH,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAC,UAAU,CAA4C;IAErE;;OAEG;IACH,MAAM,CAAC,iBAAiB,IAAI,aAAa;IAwBzC;;OAEG;IACH,MAAM,CAAC,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,GAAG,aAAa;IA8B5D;;OAEG;IACH,MAAM,CA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