@react-native-ohos/react-native-amap3d 3.2.5-rc.1

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.
Files changed (59) hide show
  1. package/LICENSE +21 -0
  2. package/README.OpenSource +11 -0
  3. package/README.md +10 -0
  4. package/harmony/rn_amap3d/BuildProfile.ets +6 -0
  5. package/harmony/rn_amap3d/build-profile.json5 +28 -0
  6. package/harmony/rn_amap3d/consumer-rules.txt +0 -0
  7. package/harmony/rn_amap3d/hvigorfile.ts +6 -0
  8. package/harmony/rn_amap3d/index.ets +30 -0
  9. package/harmony/rn_amap3d/obfuscation-rules.txt +18 -0
  10. package/harmony/rn_amap3d/oh-package.json5 +16 -0
  11. package/harmony/rn_amap3d/src/main/cpp/AMap3dEventEmitRequestHandler.h +218 -0
  12. package/harmony/rn_amap3d/src/main/cpp/AMapEventEmitters.cpp +132 -0
  13. package/harmony/rn_amap3d/src/main/cpp/AMapEventEmitters.h +111 -0
  14. package/harmony/rn_amap3d/src/main/cpp/CMakeLists.txt +7 -0
  15. package/harmony/rn_amap3d/src/main/cpp/ComponentDescriptors.h +19 -0
  16. package/harmony/rn_amap3d/src/main/cpp/MapViewJSIBinder.h +168 -0
  17. package/harmony/rn_amap3d/src/main/cpp/MapViewPackage.h +43 -0
  18. package/harmony/rn_amap3d/src/main/cpp/Props.cpp +86 -0
  19. package/harmony/rn_amap3d/src/main/cpp/Props.h +258 -0
  20. package/harmony/rn_amap3d/src/main/cpp/ShadowNodes.cpp +15 -0
  21. package/harmony/rn_amap3d/src/main/cpp/ShadowNodes.h +33 -0
  22. package/harmony/rn_amap3d/src/main/ets/AMap3DModule.ts +32 -0
  23. package/harmony/rn_amap3d/src/main/ets/AMap3DPackage.ts +46 -0
  24. package/harmony/rn_amap3d/src/main/ets/GlobalCache.ets +24 -0
  25. package/harmony/rn_amap3d/src/main/ets/Logger.ets +65 -0
  26. package/harmony/rn_amap3d/src/main/ets/View/AMapCircle.ets +96 -0
  27. package/harmony/rn_amap3d/src/main/ets/View/AMapMarker.ets +83 -0
  28. package/harmony/rn_amap3d/src/main/ets/View/AMapPolygon.ets +52 -0
  29. package/harmony/rn_amap3d/src/main/ets/View/AMapPolyline.ets +89 -0
  30. package/harmony/rn_amap3d/src/main/ets/View/MapView.ets +686 -0
  31. package/harmony/rn_amap3d/src/main/module.json5 +17 -0
  32. package/harmony/rn_amap3d/src/main/resources/base/element/string.json +8 -0
  33. package/harmony/rn_amap3d/src/main/resources/en_US/element/string.json +8 -0
  34. package/harmony/rn_amap3d/src/main/resources/rawfile/location_map_gps_locked.png +0 -0
  35. package/harmony/rn_amap3d/src/main/resources/zh_CN/element/string.json +8 -0
  36. package/harmony/rn_amap3d/ts.ts +28 -0
  37. package/harmony/rn_amap3d.har +0 -0
  38. package/lib/src/NativeAMapSdk.ts +9 -0
  39. package/lib/src/circle.tsx +17 -0
  40. package/lib/src/circleNativeComponent.ts +47 -0
  41. package/lib/src/cluster/cluster-view.tsx +47 -0
  42. package/lib/src/cluster/index.tsx +159 -0
  43. package/lib/src/component.ts +31 -0
  44. package/lib/src/heat-map.tsx +17 -0
  45. package/lib/src/heat-mapNativeComponent.ts +34 -0
  46. package/lib/src/index.ts +11 -0
  47. package/lib/src/map-view.tsx +73 -0
  48. package/lib/src/map-viewNativeComponent.ts +232 -0
  49. package/lib/src/marker.tsx +32 -0
  50. package/lib/src/markerNativeComponent.ts +105 -0
  51. package/lib/src/multi-point.tsx +17 -0
  52. package/lib/src/multi-pointNativeComponent.ts +51 -0
  53. package/lib/src/polygon.tsx +17 -0
  54. package/lib/src/polygonNativeComponent.ts +42 -0
  55. package/lib/src/polyline.tsx +21 -0
  56. package/lib/src/polylineNativeComponent.ts +67 -0
  57. package/lib/src/types.ts +34 -0
  58. package/package.json +53 -0
  59. package/react-native.config.js +20 -0
@@ -0,0 +1,232 @@
1
+ import * as React from "react";
2
+ import {
3
+ HostComponent,
4
+ ViewProps,
5
+ } from "react-native";
6
+
7
+ import codegenNativeComponent from "react-native/Libraries/Utilities/codegenNativeComponent"
8
+ import { Float, Int32, DirectEventHandler } from "react-native/Libraries/Types/CodegenTypes";
9
+ import codegenNativeCommands from "react-native/Libraries/Utilities/codegenNativeCommands";
10
+
11
+
12
+ export type LatLng = Readonly<{
13
+ latitude: Float;
14
+ longitude: Float;
15
+ }>
16
+
17
+ /**
18
+ * 地图标注点
19
+ */
20
+ export type MapPoi = Readonly<{
21
+ /**
22
+ * 标注点 ID
23
+ */
24
+ id: string;
25
+
26
+ /**
27
+ * 标注点名称
28
+ */
29
+ name: string;
30
+
31
+ /**
32
+ * 标注点坐标
33
+ */
34
+ position: {
35
+ latitude: Float;
36
+ longitude: Float;
37
+ }
38
+ }>
39
+
40
+
41
+ export type CameraPosition = Readonly<{
42
+ /**
43
+ * 中心坐标
44
+ */
45
+ targetValue?: {
46
+ latitude: Float;
47
+ longitude: Float;
48
+ }
49
+
50
+ /**
51
+ * 缩放级别
52
+ */
53
+ zoom?: Float;
54
+
55
+ /**
56
+ * 朝向、旋转角度
57
+ */
58
+ bearing?: Float;
59
+
60
+ /**
61
+ * 倾斜角度
62
+ */
63
+ tilt?: Float;
64
+ }>
65
+
66
+ export type voidEvent = Readonly<{}>
67
+
68
+ export type Location = Readonly<{
69
+ accuracy: Float;
70
+ altitude: Float;
71
+ heading: Float;
72
+ speed: Float;
73
+ latitude: Float;
74
+ longitude: Float;
75
+ }>
76
+
77
+ export interface MapViewProps extends ViewProps {
78
+ /**
79
+ * 地图类型
80
+ */
81
+ mapType?: Int32;
82
+
83
+ /**
84
+ * 初始状态
85
+ */
86
+ initialCameraPosition?: CameraPosition;
87
+
88
+ /**
89
+ * 是否显示当前定位
90
+ */
91
+ myLocationEnabled?: boolean;
92
+
93
+ /**
94
+ * 是否显示室内地图
95
+ */
96
+ indoorViewEnabled?: boolean;
97
+
98
+ /**
99
+ * 是否显示3D建筑
100
+ */
101
+ buildingsEnabled?: boolean;
102
+
103
+ /**
104
+ * 是否显示标注
105
+ */
106
+ labelsEnabled?: boolean;
107
+
108
+ /**
109
+ * 是否显示指南针
110
+ */
111
+ compassEnabled?: boolean;
112
+ /**
113
+ * 是否显示放大缩小按钮
114
+ *
115
+ * @platform android
116
+ */
117
+ zoomControlsEnabled?: boolean;
118
+
119
+ /**
120
+ * 是否显示比例尺
121
+ */
122
+ scaleControlsEnabled?: boolean;
123
+
124
+ /**
125
+ * 是否显示定位按钮
126
+ *
127
+ * @platform android
128
+ */
129
+ myLocationButtonEnabled?: boolean;
130
+
131
+ /**
132
+ * 是否显示路况
133
+ */
134
+ trafficEnabled?: boolean;
135
+
136
+ /**
137
+ * 最大缩放级别
138
+ */
139
+ maxZoom?: Float;
140
+
141
+ /**
142
+ * 最小缩放级别
143
+ */
144
+ minZoom?: Float;
145
+
146
+ /**
147
+ * 是否启用缩放手势,用于放大缩小
148
+ */
149
+ zoomGesturesEnabled?: boolean;
150
+
151
+ /**
152
+ * 是否启用滑动手势,用于平移
153
+ */
154
+ scrollGesturesEnabled?: boolean;
155
+
156
+ /**
157
+ * 是否启用旋转手势,用于调整方向
158
+ */
159
+ rotateGesturesEnabled?: boolean;
160
+
161
+ /**
162
+ * 是否启用倾斜手势,用于改变视角
163
+ */
164
+ tiltGesturesEnabled?: boolean;
165
+
166
+ /**
167
+ * 设定定位的最小更新距离
168
+ *
169
+ * @platform ios
170
+ */
171
+ distanceFilter?: Float;
172
+
173
+ /**
174
+ * 设定最小更新角度,默认为 1 度
175
+ *
176
+ * @platform ios
177
+ */
178
+ headingFilter?: Float;
179
+
180
+ /**
181
+ * 点击事件
182
+ */
183
+ onPress?: (DirectEventHandler<LatLng>);
184
+
185
+ /**
186
+ * 标注点击事件
187
+ */
188
+ onPressPoi?: (DirectEventHandler<MapPoi>);
189
+
190
+ /**
191
+ * 长按事件
192
+ */
193
+ onLongPress?: (DirectEventHandler<LatLng>);
194
+
195
+ /**
196
+ * 地图状态改变事件,随地图状态变化不停地触发
197
+ */
198
+ onCameraMove?: (DirectEventHandler<CameraPosition>);
199
+
200
+ /**
201
+ * 地图状态改变事件,在停止变化后触发
202
+ */
203
+ onCameraIdle?: (DirectEventHandler<CameraPosition>);
204
+
205
+ /**
206
+ * 地图初始化完成事件
207
+ */
208
+ onLoad?: (DirectEventHandler<voidEvent>);
209
+
210
+ /**
211
+ * 地图定位更新事件
212
+ */
213
+ onLocation?: (DirectEventHandler<Location>);
214
+ }
215
+
216
+ export default codegenNativeComponent<MapViewProps>("AMapView") as HostComponent<MapViewProps>;
217
+ type MapViewControlType = HostComponent<MapViewProps>;
218
+
219
+ export interface NativeCommands {
220
+ moveCamera: (
221
+ viewRef: React.ElementRef<MapViewControlType>,
222
+ latitude: Float,
223
+ longitude: Float,
224
+ zoom: Float,
225
+ bearing: Float,
226
+ tilt: Float,
227
+ duration: Float
228
+ ) => void
229
+ }
230
+ export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({
231
+ supportedCommands: ["moveCamera"],
232
+ });
@@ -0,0 +1,32 @@
1
+
2
+
3
+ import AMapMarker ,{MarkerProps,LatLng,voidEvent} from './markerNativeComponent'
4
+ import React , {Component} from 'react';
5
+ import type * as ReactNative from "react-native";
6
+
7
+ export default class Marker extends Component<MarkerProps> {
8
+
9
+ constructor(props: MarkerProps) {
10
+ super(props);
11
+ }
12
+
13
+ name = name;
14
+
15
+
16
+ render() {
17
+ return (
18
+ <AMapMarker {...this.props}
19
+ onPress={(event: ReactNative.NativeSyntheticEvent<voidEvent>) => {
20
+ console.info("AMapViewEventType map3d demo onpress marker")
21
+ this.props.onPress?.call(this, event);
22
+
23
+ }}
24
+ onDragEnd={(event: ReactNative.NativeSyntheticEvent<LatLng>) => {
25
+ console.info("AMapViewEventType map3d demo onDragEnd")
26
+ this.props.onDragEnd?.call(this, event);
27
+ }}
28
+ />
29
+ );
30
+ }
31
+ }
32
+ const name = "AMapMarker";
@@ -0,0 +1,105 @@
1
+ import * as React from "react";
2
+ // @ts-ignore
3
+ import {
4
+ HostComponent,
5
+ ViewProps,
6
+ } from "react-native";
7
+
8
+ import codegenNativeComponent from "react-native/Libraries/Utilities/codegenNativeComponent"
9
+ import { Float , DirectEventHandler} from "react-native/Libraries/Types/CodegenTypes";
10
+
11
+ export type LatLng = Readonly<{
12
+ latitude: Float;
13
+ longitude: Float;
14
+ }>
15
+
16
+ type Point = Readonly<{
17
+ x: Float;
18
+ y: Float;
19
+ }>
20
+
21
+ type ImageSourcePropType = Readonly<{
22
+ uri: string;
23
+ width?: Float;
24
+ height?: Float;
25
+ scale?: Float;
26
+ method?: string;
27
+ body?: string;
28
+ bundle?: string;
29
+ }>
30
+
31
+ export type voidEvent = Readonly<{}>
32
+
33
+ export interface MarkerProps extends ViewProps {
34
+ /**
35
+ * 坐标
36
+ */
37
+ position: LatLng;
38
+
39
+ /**
40
+ * 图标
41
+ */
42
+ icon?: ImageSourcePropType;
43
+
44
+ /**
45
+ * 透明度 [0, 1]
46
+ *
47
+ * @platform android
48
+ */
49
+ opacity?: Float;
50
+
51
+ /**
52
+ * 是否可拖拽
53
+ */
54
+ draggable?: boolean;
55
+
56
+ /**
57
+ * 是否平贴地图
58
+ *
59
+ * @platform android
60
+ */
61
+ flat?: boolean;
62
+
63
+ /**
64
+ * 层级
65
+ */
66
+ zIndex?: Float;
67
+
68
+ /**
69
+ * 覆盖物锚点比例
70
+ *
71
+ * @link http://a.amap.com/lbs/static/unzip/Android_Map_Doc/3D/com/amap/api/maps/model/Marker.html#setAnchor-float-float-
72
+ * @platform android
73
+ */
74
+ anchor?: Point;
75
+
76
+ /**
77
+ * 覆盖物偏移位置
78
+ *
79
+ * @link http://a.amap.com/lbs/static/unzip/iOS_Map_Doc/AMap_iOS_API_Doc_3D/interface_m_a_annotation_view.html#a78f23c1e6a6d92faf12a00877ac278a7
80
+ * @platform ios
81
+ */
82
+ centerOffset?: Point;
83
+
84
+ /**
85
+ * 点击事件
86
+ */
87
+ onPress?: (DirectEventHandler<voidEvent>);
88
+
89
+ /**
90
+ * 拖放开始事件
91
+ */
92
+ onDragStart?: (DirectEventHandler<voidEvent>);
93
+
94
+ /**
95
+ * 拖放进行事件,类似于 mousemove,在结束之前会不断调用
96
+ */
97
+ onDrag?: (DirectEventHandler<voidEvent>);
98
+
99
+ /**
100
+ * 拖放结束事件
101
+ */
102
+ onDragEnd?: (DirectEventHandler<LatLng>);
103
+ }
104
+
105
+ export default codegenNativeComponent<MarkerProps>("AMapMarker") as HostComponent<MarkerProps>;
@@ -0,0 +1,17 @@
1
+
2
+ import AMapMultiPoint ,{MultiPointProps} from './multi-pointNativeComponent'
3
+ import React , {Component} from 'react';
4
+
5
+
6
+ export default class MultiPoint extends Component<MultiPointProps> {
7
+
8
+ constructor(props: MultiPointProps) {
9
+ super(props);
10
+ }
11
+
12
+ render() {
13
+ return (
14
+ <AMapMultiPoint {...this.props} />
15
+ );
16
+ }
17
+ }
@@ -0,0 +1,51 @@
1
+ import * as React from "react";
2
+ // @ts-ignore
3
+ import {
4
+ HostComponent,
5
+ ViewProps,
6
+ } from "react-native";
7
+
8
+ import codegenNativeComponent from "react-native/Libraries/Utilities/codegenNativeComponent"
9
+ import { Float ,Int32, DirectEventHandler} from "react-native/Libraries/Types/CodegenTypes";
10
+
11
+ type LatLng = Readonly<{
12
+ latitude: Float;
13
+ longitude: Float;
14
+ }>
15
+
16
+ type ImageSourcePropType = Readonly<{
17
+ uri: string;
18
+ width?: Float;
19
+ height?: Float;
20
+ scale?: Float;
21
+ method?: string;
22
+ body?: string;
23
+ //cache?: string;
24
+ bundle?: string;
25
+ //headers?: object;
26
+ }>
27
+
28
+ type onPressEvent = Readonly<{
29
+ index: Int32;
30
+ }>
31
+
32
+
33
+ export interface MultiPointProps extends ViewProps{
34
+ /**
35
+ * 坐标点集合
36
+ */
37
+ items?: LatLng[];
38
+
39
+ /**
40
+ * 图标
41
+ */
42
+ icon?: ImageSourcePropType;
43
+
44
+ /**
45
+ * 点击事件
46
+ */
47
+ onPress?: (DirectEventHandler<onPressEvent>);
48
+ }
49
+
50
+
51
+ export default codegenNativeComponent<MultiPointProps>("AMapMultiPoint") as HostComponent<MultiPointProps>;
@@ -0,0 +1,17 @@
1
+
2
+ import AMapPolygon ,{PolygonProps} from './polygonNativeComponent'
3
+ import React , {Component} from 'react';
4
+
5
+
6
+ export default class Polygon extends Component<PolygonProps> {
7
+
8
+ constructor(props: PolygonProps) {
9
+ super(props);
10
+ }
11
+
12
+ render() {
13
+ return (
14
+ <AMapPolygon {...this.props} />
15
+ );
16
+ }
17
+ }
@@ -0,0 +1,42 @@
1
+ import * as React from "react";
2
+ import {
3
+ HostComponent,
4
+ ViewProps,
5
+ } from "react-native";
6
+
7
+ import codegenNativeComponent from "react-native/Libraries/Utilities/codegenNativeComponent"
8
+ import { Float ,Int32} from "react-native/Libraries/Types/CodegenTypes";
9
+
10
+ type LatLng = Readonly<{
11
+ latitude: Float;
12
+ longitude: Float;
13
+ }>
14
+
15
+ export interface PolygonProps extends ViewProps {
16
+ /**
17
+ * 节点坐标
18
+ */
19
+ points: LatLng[];
20
+
21
+ /**
22
+ * 边线宽度
23
+ */
24
+ strokeWidth?: Float;
25
+
26
+ /**
27
+ * 边线颜色
28
+ */
29
+ strokeColor?: string;
30
+
31
+ /**
32
+ * 填充颜色
33
+ */
34
+ fillColor?: string;
35
+
36
+ /**
37
+ * 层级
38
+ */
39
+ zIndex?: Int32;
40
+ }
41
+
42
+ export default codegenNativeComponent<PolygonProps>("AMapPolygon")as HostComponent<PolygonProps>;
@@ -0,0 +1,21 @@
1
+ import AMapPolyline ,{PolylineProps,voidEvent} from './polylineNativeComponent'
2
+ import React , {Component} from 'react';
3
+ import type * as ReactNative from "react-native";
4
+
5
+ export default class Polyline extends Component<PolylineProps> {
6
+
7
+ constructor(props: PolylineProps) {
8
+ super(props);
9
+ }
10
+
11
+ render() {
12
+ return (
13
+ <AMapPolyline {...this.props}
14
+ onPress={(event: ReactNative.NativeSyntheticEvent<voidEvent>) => {
15
+ console.info("AMapViewEventType map3d polyline onPress-----------")
16
+ this.props.onPress?.call(this, event);
17
+ }}
18
+ />
19
+ );
20
+ }
21
+ }
@@ -0,0 +1,67 @@
1
+ import * as React from "react";
2
+ import { ColorValue } from "react-native";
3
+
4
+ import {
5
+ HostComponent,
6
+ ViewProps,
7
+ } from "react-native";
8
+
9
+ import codegenNativeComponent from "react-native/Libraries/Utilities/codegenNativeComponent"
10
+ import { Float , Int32,DirectEventHandler} from "react-native/Libraries/Types/CodegenTypes";
11
+
12
+ type LatLng = Readonly<{
13
+ latitude: Float;
14
+ longitude: Float;
15
+ }>
16
+
17
+ export type voidEvent = Readonly<{}>
18
+
19
+ export interface PolylineProps extends ViewProps{
20
+ /**
21
+ * 节点坐标
22
+ */
23
+ points: LatLng[];
24
+
25
+ /**
26
+ * 线段宽度
27
+ */
28
+ width?: Float;
29
+
30
+ /**
31
+ * 线段颜色
32
+ */
33
+ color?: string;
34
+
35
+ /**
36
+ * 层级
37
+ */
38
+ zIndex?: Int32;
39
+
40
+ /**
41
+ * 多段颜色
42
+ */
43
+ colors?: string[];
44
+
45
+ /**
46
+ * 是否使用颜色渐变
47
+ */
48
+ gradient?: boolean;
49
+
50
+ /**
51
+ * 是否绘制大地线
52
+ */
53
+ geodesic?: boolean;
54
+
55
+ /**
56
+ * 是否绘制虚线
57
+ */
58
+ dotted?: boolean;
59
+
60
+ /**
61
+ * 点击事件
62
+ */
63
+ onPress?: (DirectEventHandler<voidEvent>) ;
64
+ }
65
+
66
+
67
+ export default codegenNativeComponent<PolylineProps>("AMapPolyline") as HostComponent<PolylineProps>;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * 地图类型
3
+ */
4
+ export enum MapType {
5
+ /**
6
+ * 普通地图
7
+ */
8
+ Standard = 1,
9
+
10
+ /**
11
+ * 卫星地图
12
+ */
13
+ Satellite,
14
+
15
+ /**
16
+ * 夜间地图
17
+ */
18
+ Night,
19
+
20
+ /**
21
+ * 导航地图
22
+ */
23
+ Navi,
24
+
25
+ /**
26
+ * 公交地图
27
+ */
28
+ Bus,
29
+
30
+ /**
31
+ * 夜间导航地图
32
+ */
33
+ NaviNight
34
+ }
package/package.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "@react-native-ohos/react-native-amap3d",
3
+ "version": "3.2.5-rc.1",
4
+ "description": "react-native 高德地图组件,支持 harmonyOS",
5
+ "license": "MIT",
6
+ "keywords": [
7
+ "react-native",
8
+ "amap",
9
+ "maps",
10
+ "mapview"
11
+ ],
12
+ "main": "lib/src",
13
+ "files": [
14
+ "lib/src",
15
+ "react-native.config.js",
16
+ "react-native-amap3d.podspec",
17
+ "harmony"
18
+ ],
19
+ "homepage": "https://github.com/react-native-oh-library/react-native-amap3d",
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "https://github.com/react-native-oh-library/react-native-amap3d"
23
+ },
24
+ "scripts": {
25
+ "start": "react-native start",
26
+ "reload": "adb reverse tcp:8081 tcp:8081 && adb shell input text rr"
27
+ },
28
+ "harmony": {
29
+ "alias": "react-native-amap3d"
30
+ },
31
+ "dependencies": {
32
+ "supercluster": "^7.1.4",
33
+ "react-native-amap3d": "3.2.4"
34
+ },
35
+ "publishConfig": {
36
+ "registry": "https://registry.npmjs.org/",
37
+ "access": "public"
38
+ },
39
+ "devDependencies": {
40
+ "@react-native-picker/picker": "^2.4.8",
41
+ "@react-navigation/native": "^6.1.3",
42
+ "@react-navigation/native-stack": "^6.9.9",
43
+ "@types/react-native": "^0.71.2",
44
+ "@types/supercluster": "^7.1.0",
45
+ "react": "18.2.0",
46
+ "react-native": "^0.71.2",
47
+ "react-native-safe-area-context": "^4.5.0",
48
+ "react-native-screens": "^3.19.0"
49
+ },
50
+ "prettier": {
51
+ "printWidth": 100
52
+ }
53
+ }
@@ -0,0 +1,20 @@
1
+ module.exports = {
2
+ dependency: {
3
+ platforms: {
4
+ ios: { project: "lib/ios/react-native-amap3d.podspec" },
5
+ android: { sourceDir: "lib/android" },
6
+ },
7
+ },
8
+ dependencies: {
9
+ "react-native-amap3d": {
10
+ root: __dirname,
11
+ platforms: {
12
+ android: {
13
+ sourceDir: __dirname + "/lib/android",
14
+ packageImportPath: "import qiuxiang.amap3d.AMap3DPackage;",
15
+ packageInstance: "new AMap3DPackage()",
16
+ },
17
+ },
18
+ },
19
+ },
20
+ };