react-native-map4d-map-dtqg 0.1.3 → 0.1.5
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/LICENSE +21 -21
- package/README.md +191 -133
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/9.2.0/checksums/checksums.lock +0 -0
- package/android/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/9.2.0/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/build.gradle +60 -60
- package/android/src/main/AndroidManifest.xml +4 -4
- package/android/src/main/java/com/reactnativemap4dmap/ImageUtils.java +87 -87
- package/android/src/main/java/com/reactnativemap4dmap/Map4dMapModule.java +310 -298
- package/android/src/main/java/com/reactnativemap4dmap/Map4dMapPackage.java +35 -35
- package/android/src/main/java/com/reactnativemap4dmap/Map4dMapViewManager.java +31 -31
- package/android/src/main/java/com/reactnativemap4dmap/RMFBuilding.java +167 -167
- package/android/src/main/java/com/reactnativemap4dmap/RMFBuildingManager.java +121 -121
- package/android/src/main/java/com/reactnativemap4dmap/RMFCircle.java +105 -105
- package/android/src/main/java/com/reactnativemap4dmap/RMFCircleManager.java +121 -121
- package/android/src/main/java/com/reactnativemap4dmap/RMFDirectionsRenderer.java +502 -502
- package/android/src/main/java/com/reactnativemap4dmap/RMFDirectionsRendererManager.java +143 -143
- package/android/src/main/java/com/reactnativemap4dmap/RMFFeature.java +17 -17
- package/android/src/main/java/com/reactnativemap4dmap/RMFMapView.java +1172 -1172
- package/android/src/main/java/com/reactnativemap4dmap/RMFMapViewManager.java +231 -231
- package/android/src/main/java/com/reactnativemap4dmap/RMFMarker.java +412 -412
- package/android/src/main/java/com/reactnativemap4dmap/RMFMarkerManager.java +211 -211
- package/android/src/main/java/com/reactnativemap4dmap/RMFPOI.java +222 -222
- package/android/src/main/java/com/reactnativemap4dmap/RMFPOIManager.java +119 -119
- package/android/src/main/java/com/reactnativemap4dmap/RMFPolygon.java +172 -172
- package/android/src/main/java/com/reactnativemap4dmap/RMFPolygonManager.java +147 -147
- package/android/src/main/java/com/reactnativemap4dmap/RMFPolyline.java +146 -146
- package/android/src/main/java/com/reactnativemap4dmap/RMFPolylineManager.java +137 -137
- package/android/src/main/java/com/reactnativemap4dmap/RMFTileOverlay.java +95 -95
- package/android/src/main/java/com/reactnativemap4dmap/RMFTileOverlayManager.java +64 -64
- package/android/src/main/java/com/reactnativemap4dmap/SizeReportingShadowNode.java +31 -31
- package/android/src/main/java/com/reactnativemap4dmap/ViewAttacherGroup.java +31 -31
- package/android/src/main/java/com/reactnativemap4dmap/ViewChangesTracker.java +70 -70
- package/android/src/main/java/vn/map4d/map/annotations/RMFBitmapDescriptor.java +9 -9
- package/ios/Map4dMap.h +16 -7
- package/ios/Map4dMap.m +119 -14
- package/ios/Map4dMapTurbo.mm +16 -0
- package/ios/RCTConvert+Map4dMap.h +33 -33
- package/ios/RCTConvert+Map4dMap.m +112 -112
- package/ios/RMFCircle.h +37 -37
- package/ios/RMFCircle.m +100 -100
- package/ios/RMFCircleManager.h +18 -18
- package/ios/RMFCircleManager.m +127 -155
- package/ios/RMFCircleMap4d.h +23 -23
- package/ios/RMFCircleMap4d.m +13 -13
- package/ios/RMFCoordinate.h +22 -22
- package/ios/RMFCoordinate.m +13 -13
- package/ios/RMFDirectionsMarkerOptions.h +24 -24
- package/ios/RMFDirectionsMarkerOptions.m +23 -23
- package/ios/RMFDirectionsRenderer.h +47 -47
- package/ios/RMFDirectionsRenderer.m +182 -182
- package/ios/RMFDirectionsRendererManager.h +17 -17
- package/ios/RMFDirectionsRendererManager.m +86 -84
- package/ios/RMFDirectionsRendererMap4d.h +21 -21
- package/ios/RMFDirectionsRendererMap4d.m +12 -12
- package/ios/RMFDummyView.h +6 -6
- package/ios/RMFDummyView.m +12 -12
- package/ios/RMFEventResponse.h +39 -39
- package/ios/RMFEventResponse.m +98 -98
- package/ios/RMFIcon.h +24 -24
- package/ios/RMFIcon.m +35 -35
- package/ios/RMFMapView.h +84 -84
- package/ios/RMFMapView.m +376 -376
- package/ios/RMFMapViewManager.h +17 -17
- package/ios/RMFMapViewManager.m +424 -509
- package/ios/RMFMarker.h +57 -57
- package/ios/RMFMarker.m +267 -267
- package/ios/RMFMarkerManager.h +17 -17
- package/ios/RMFMarkerManager.m +128 -156
- package/ios/RMFMarkerMap4d.h +19 -19
- package/ios/RMFMarkerMap4d.m +13 -13
- package/ios/RMFPOI.h +38 -38
- package/ios/RMFPOI.m +123 -123
- package/ios/RMFPOIManager.h +18 -18
- package/ios/RMFPOIManager.m +134 -168
- package/ios/RMFPOIMap4d.h +22 -22
- package/ios/RMFPOIMap4d.m +12 -12
- package/ios/RMFPolygon.h +41 -41
- package/ios/RMFPolygon.m +106 -106
- package/ios/RMFPolygonManager.h +18 -18
- package/ios/RMFPolygonManager.m +119 -141
- package/ios/RMFPolygonMap4d.h +23 -23
- package/ios/RMFPolygonMap4d.m +15 -15
- package/ios/RMFPolyline.h +38 -38
- package/ios/RMFPolyline.m +101 -101
- package/ios/RMFPolylineManager.h +18 -18
- package/ios/RMFPolylineManager.m +117 -139
- package/ios/RMFPolylineMap4d.h +22 -22
- package/ios/RMFPolylineMap4d.m +15 -15
- package/ios/building/RMFBuilding.h +41 -41
- package/ios/building/RMFBuilding.m +104 -104
- package/ios/building/RMFBuildingManager.h +19 -19
- package/ios/building/RMFBuildingManager.m +105 -133
- package/ios/building/RMFBuildingMap4d.h +23 -23
- package/ios/building/RMFBuildingMap4d.m +15 -15
- package/ios/overlays/RMFTileOverlay.h +36 -36
- package/ios/overlays/RMFTileOverlay.m +64 -64
- package/ios/overlays/RMFTileOverlayManager.h +17 -17
- package/ios/overlays/RMFTileOverlayManager.m +27 -27
- package/lib/commonjs/components/MFBanDoSo/constants.js +27 -0
- package/lib/commonjs/components/MFBanDoSo/constants.js.map +1 -0
- package/lib/commonjs/components/MFBanDoSo/helpers.js +200 -0
- package/lib/commonjs/components/MFBanDoSo/helpers.js.map +1 -0
- package/lib/commonjs/components/MFBanDoSo/propTypes.js +18 -0
- package/lib/commonjs/components/MFBanDoSo/propTypes.js.map +1 -0
- package/lib/commonjs/components/MFBanDoSo/styles.js +328 -0
- package/lib/commonjs/components/MFBanDoSo/styles.js.map +1 -0
- package/lib/commonjs/components/MFBanDoSo/ui.js +220 -0
- package/lib/commonjs/components/MFBanDoSo/ui.js.map +1 -0
- package/lib/commonjs/components/MFBanDoSo.js +190 -73
- package/lib/commonjs/components/MFBanDoSo.js.map +1 -1
- package/lib/commonjs/components/MFBuilding.js +41 -98
- package/lib/commonjs/components/MFBuilding.js.map +1 -1
- package/lib/commonjs/components/MFCircle.js +40 -90
- package/lib/commonjs/components/MFCircle.js.map +1 -1
- package/lib/commonjs/components/MFDirectionsRenderer.js +47 -107
- package/lib/commonjs/components/MFDirectionsRenderer.js.map +1 -1
- package/lib/commonjs/components/MFMapView.js +119 -199
- package/lib/commonjs/components/MFMapView.js.map +1 -1
- package/lib/commonjs/components/MFMarker.js +50 -118
- package/lib/commonjs/components/MFMarker.js.map +1 -1
- package/lib/commonjs/components/MFPOI.js +37 -94
- package/lib/commonjs/components/MFPOI.js.map +1 -1
- package/lib/commonjs/components/MFPolygon.js +37 -91
- package/lib/commonjs/components/MFPolygon.js.map +1 -1
- package/lib/commonjs/components/MFPolyline.js +35 -87
- package/lib/commonjs/components/MFPolyline.js.map +1 -1
- package/lib/commonjs/components/MFTileOverlay.js +16 -24
- package/lib/commonjs/components/MFTileOverlay.js.map +1 -1
- package/lib/commonjs/components/Map4dMapView.js +1 -4
- package/lib/commonjs/components/Map4dMapView.js.map +1 -1
- package/lib/commonjs/components/extends/AreaFocusManager.js +20 -54
- package/lib/commonjs/components/extends/AreaFocusManager.js.map +1 -1
- package/lib/commonjs/components/extends/AreaFocuser.js +3 -19
- package/lib/commonjs/components/extends/AreaFocuser.js.map +1 -1
- package/lib/commonjs/components/extends/BoundHelper.js +0 -6
- package/lib/commonjs/components/extends/BoundHelper.js.map +1 -1
- package/lib/commonjs/components/extends/area/AreaFocusAreas.js +0 -37
- package/lib/commonjs/components/extends/area/AreaFocusAreas.js.map +1 -1
- package/lib/commonjs/components/extends/area/AreaFocusGeometryUtils.js +1 -35
- package/lib/commonjs/components/extends/area/AreaFocusGeometryUtils.js.map +1 -1
- package/lib/commonjs/components/extends/area/AreaFocusSession.js +0 -18
- package/lib/commonjs/components/extends/area/AreaFocusSession.js.map +1 -1
- package/lib/commonjs/components/extends/area/AreaFocusTypes.js +20 -21
- package/lib/commonjs/components/extends/area/AreaFocusTypes.js.map +1 -1
- package/lib/commonjs/components/internal/DefaultRoadmapStyle.js +1 -2
- package/lib/commonjs/components/internal/DefaultRoadmapStyle.js.map +1 -1
- package/lib/commonjs/components/internal/GeojsonStyleUtils.js +20 -31
- package/lib/commonjs/components/internal/GeojsonStyleUtils.js.map +1 -1
- package/lib/commonjs/index.js +0 -11
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/native/Map4dMapNativeModule.js +10 -0
- package/lib/commonjs/native/Map4dMapNativeModule.js.map +1 -0
- package/lib/commonjs/native/NativeModuleResolver.js +35 -0
- package/lib/commonjs/native/NativeModuleResolver.js.map +1 -0
- package/lib/commonjs/native/ViewManagerCommand.js +67 -0
- package/lib/commonjs/native/ViewManagerCommand.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/specs/NativeMap4dMap.js +9 -0
- package/lib/commonjs/specs/NativeMap4dMap.js.map +1 -0
- package/lib/module/components/MFBanDoSo/constants.js +22 -0
- package/lib/module/components/MFBanDoSo/constants.js.map +1 -0
- package/lib/module/components/MFBanDoSo/helpers.js +188 -0
- package/lib/module/components/MFBanDoSo/helpers.js.map +1 -0
- package/lib/module/components/MFBanDoSo/propTypes.js +14 -0
- package/lib/module/components/MFBanDoSo/propTypes.js.map +1 -0
- package/lib/module/components/MFBanDoSo/styles.js +325 -0
- package/lib/module/components/MFBanDoSo/styles.js.map +1 -0
- package/lib/module/components/MFBanDoSo/ui.js +213 -0
- package/lib/module/components/MFBanDoSo/ui.js.map +1 -0
- package/lib/module/components/MFBanDoSo.js +192 -63
- package/lib/module/components/MFBanDoSo.js.map +1 -1
- package/lib/module/components/MFBuilding.js +43 -90
- package/lib/module/components/MFBuilding.js.map +1 -1
- package/lib/module/components/MFCircle.js +42 -82
- package/lib/module/components/MFCircle.js.map +1 -1
- package/lib/module/components/MFDirectionsRenderer.js +48 -99
- package/lib/module/components/MFDirectionsRenderer.js.map +1 -1
- package/lib/module/components/MFMapView.js +120 -188
- package/lib/module/components/MFMapView.js.map +1 -1
- package/lib/module/components/MFMarker.js +52 -109
- package/lib/module/components/MFMarker.js.map +1 -1
- package/lib/module/components/MFPOI.js +39 -86
- package/lib/module/components/MFPOI.js.map +1 -1
- package/lib/module/components/MFPolygon.js +39 -83
- package/lib/module/components/MFPolygon.js.map +1 -1
- package/lib/module/components/MFPolyline.js +37 -79
- package/lib/module/components/MFPolyline.js.map +1 -1
- package/lib/module/components/MFTileOverlay.js +19 -18
- package/lib/module/components/MFTileOverlay.js.map +1 -1
- package/lib/module/components/Map4dMapView.js +2 -0
- package/lib/module/components/Map4dMapView.js.map +1 -1
- package/lib/module/components/extends/AreaFocusManager.js +22 -48
- package/lib/module/components/extends/AreaFocusManager.js.map +1 -1
- package/lib/module/components/extends/AreaFocuser.js +5 -17
- package/lib/module/components/extends/AreaFocuser.js.map +1 -1
- package/lib/module/components/extends/BoundHelper.js +2 -5
- package/lib/module/components/extends/BoundHelper.js.map +1 -1
- package/lib/module/components/extends/area/AreaFocusAreas.js +2 -33
- package/lib/module/components/extends/area/AreaFocusAreas.js.map +1 -1
- package/lib/module/components/extends/area/AreaFocusGeometryUtils.js +2 -32
- package/lib/module/components/extends/area/AreaFocusGeometryUtils.js.map +1 -1
- package/lib/module/components/extends/area/AreaFocusSession.js +2 -17
- package/lib/module/components/extends/area/AreaFocusSession.js.map +1 -1
- package/lib/module/components/extends/area/AreaFocusTypes.js +21 -18
- package/lib/module/components/extends/area/AreaFocusTypes.js.map +1 -1
- package/lib/module/components/internal/DefaultRoadmapStyle.js +2 -0
- package/lib/module/components/internal/DefaultRoadmapStyle.js.map +1 -1
- package/lib/module/components/internal/GeojsonStyleUtils.js +21 -28
- package/lib/module/components/internal/GeojsonStyleUtils.js.map +1 -1
- package/lib/module/index.js +2 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/native/Map4dMapNativeModule.js +5 -0
- package/lib/module/native/Map4dMapNativeModule.js.map +1 -0
- package/lib/module/native/NativeModuleResolver.js +29 -0
- package/lib/module/native/NativeModuleResolver.js.map +1 -0
- package/lib/module/native/ViewManagerCommand.js +61 -0
- package/lib/module/native/ViewManagerCommand.js.map +1 -0
- package/lib/module/specs/NativeMap4dMap.js +5 -0
- package/lib/module/specs/NativeMap4dMap.js.map +1 -0
- package/lib/typescript/components/MFBanDoSo/constants.d.ts +8 -0
- package/lib/typescript/components/MFBanDoSo/constants.d.ts.map +1 -0
- package/lib/typescript/components/MFBanDoSo/helpers.d.ts +14 -0
- package/lib/typescript/components/MFBanDoSo/helpers.d.ts.map +1 -0
- package/lib/typescript/components/MFBanDoSo/propTypes.d.ts +2 -0
- package/lib/typescript/components/MFBanDoSo/propTypes.d.ts.map +1 -0
- package/lib/typescript/components/MFBanDoSo/styles.d.ts +462 -0
- package/lib/typescript/components/MFBanDoSo/styles.d.ts.map +1 -0
- package/lib/typescript/components/MFBanDoSo/ui.d.ts +30 -0
- package/lib/typescript/components/MFBanDoSo/ui.d.ts.map +1 -0
- package/lib/typescript/components/MFBanDoSo.d.ts +37 -0
- package/lib/typescript/components/MFBanDoSo.d.ts.map +1 -0
- package/lib/typescript/components/MFBuilding.d.ts +24 -0
- package/lib/typescript/components/MFBuilding.d.ts.map +1 -0
- package/lib/typescript/components/MFCircle.d.ts +24 -0
- package/lib/typescript/components/MFCircle.d.ts.map +1 -0
- package/lib/typescript/components/MFDirectionsRenderer.d.ts +19 -0
- package/lib/typescript/components/MFDirectionsRenderer.d.ts.map +1 -0
- package/lib/typescript/components/MFMapView.d.ts +66 -0
- package/lib/typescript/components/MFMapView.d.ts.map +1 -0
- package/lib/typescript/components/MFMarker.d.ts +26 -0
- package/lib/typescript/components/MFMarker.d.ts.map +1 -0
- package/lib/typescript/components/MFPOI.d.ts +24 -0
- package/lib/typescript/components/MFPOI.d.ts.map +1 -0
- package/lib/typescript/components/MFPolygon.d.ts +24 -0
- package/lib/typescript/components/MFPolygon.d.ts.map +1 -0
- package/lib/typescript/components/MFPolyline.d.ts +24 -0
- package/lib/typescript/components/MFPolyline.d.ts.map +1 -0
- package/lib/typescript/components/MFTileOverlay.d.ts +12 -0
- package/lib/typescript/components/MFTileOverlay.d.ts.map +1 -0
- package/lib/typescript/components/Map4dMapView.d.ts +2 -1
- package/lib/typescript/components/Map4dMapView.d.ts.map +1 -0
- package/lib/typescript/components/extends/AreaFocusManager.d.ts +34 -0
- package/lib/typescript/components/extends/AreaFocusManager.d.ts.map +1 -0
- package/lib/typescript/components/extends/AreaFocuser.d.ts +15 -0
- package/lib/typescript/components/extends/AreaFocuser.d.ts.map +1 -0
- package/lib/typescript/components/extends/BoundHelper.d.ts +11 -0
- package/lib/typescript/components/extends/BoundHelper.d.ts.map +1 -0
- package/lib/typescript/components/extends/area/AreaFocusAreas.d.ts +58 -0
- package/lib/typescript/components/extends/area/AreaFocusAreas.d.ts.map +1 -0
- package/lib/typescript/components/extends/area/AreaFocusGeometryUtils.d.ts +19 -0
- package/lib/typescript/components/extends/area/AreaFocusGeometryUtils.d.ts.map +1 -0
- package/lib/typescript/components/extends/area/AreaFocusSession.d.ts +14 -0
- package/lib/typescript/components/extends/area/AreaFocusSession.d.ts.map +1 -0
- package/lib/typescript/components/extends/area/AreaFocusTypes.d.ts +40 -0
- package/lib/typescript/components/extends/area/AreaFocusTypes.d.ts.map +1 -0
- package/lib/typescript/components/internal/DefaultRoadmapStyle.d.ts +820 -0
- package/lib/typescript/components/internal/DefaultRoadmapStyle.d.ts.map +1 -0
- package/lib/typescript/components/internal/GeojsonStyleUtils.d.ts +3 -0
- package/lib/typescript/components/internal/GeojsonStyleUtils.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +13 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/native/Map4dMapNativeModule.d.ts +2 -0
- package/lib/typescript/native/Map4dMapNativeModule.d.ts.map +1 -0
- package/lib/typescript/native/NativeModuleResolver.d.ts +3 -0
- package/lib/typescript/native/NativeModuleResolver.d.ts.map +1 -0
- package/lib/typescript/native/ViewManagerCommand.d.ts +11 -0
- package/lib/typescript/native/ViewManagerCommand.d.ts.map +1 -0
- package/package.json +168 -152
- package/react-native-map4d-map.podspec +20 -20
- package/src/components/MFBanDoSo/constants.js +32 -0
- package/src/components/MFBanDoSo/helpers.js +273 -0
- package/src/components/MFBanDoSo/propTypes.js +14 -0
- package/src/components/MFBanDoSo/styles.js +316 -0
- package/src/components/MFBanDoSo/ui.js +230 -0
- package/src/components/MFBanDoSo.js +314 -124
- package/src/components/MFBuilding.js +160 -187
- package/src/components/MFCircle.js +146 -173
- package/src/components/MFDirectionsRenderer.js +211 -237
- package/src/components/MFMapView.js +458 -464
- package/src/components/MFMarker.js +218 -246
- package/src/components/MFPOI.js +157 -184
- package/src/components/MFPolygon.js +159 -186
- package/src/components/MFPolyline.js +145 -172
- package/src/components/MFTileOverlay.js +45 -45
- package/src/components/Map4dMapView.tsx +26 -26
- package/src/components/extends/AreaFocusManager.js +196 -196
- package/src/components/extends/AreaFocuser.js +61 -61
- package/src/components/extends/BoundHelper.js +31 -31
- package/src/components/extends/area/AreaFocusAreas.js +164 -164
- package/src/components/extends/area/AreaFocusGeometryUtils.js +164 -164
- package/src/components/extends/area/AreaFocusSession.js +100 -100
- package/src/components/extends/area/AreaFocusTypes.js +36 -36
- package/src/components/internal/DefaultRoadmapStyle.js +3365 -3365
- package/src/components/internal/GeojsonStyleUtils.js +146 -143
- package/src/index.js +25 -25
- package/src/native/Map4dMapNativeModule.js +3 -0
- package/src/native/NativeModuleResolver.js +33 -0
- package/src/native/ViewManagerCommand.js +82 -0
- package/src/specs/NativeMap4dMap.js +12 -0
- package/ios/Map4dMapViewManager.m +0 -34
|
@@ -4,74 +4,62 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.MFCircle = void 0;
|
|
7
|
-
|
|
8
7
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
10
8
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
9
|
var _deprecatedReactNativePropTypes = require("deprecated-react-native-prop-types");
|
|
13
|
-
|
|
10
|
+
var _ViewManagerCommand = require("../native/ViewManagerCommand");
|
|
14
11
|
var _reactNative = require("react-native");
|
|
15
|
-
|
|
16
|
-
function _interopRequireDefault(
|
|
17
|
-
|
|
18
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
19
|
-
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
20
14
|
// if ViewPropTypes is not defined fall back to View.propType (to support RN < 0.44)
|
|
21
15
|
const viewPropTypes = _deprecatedReactNativePropTypes.ViewPropTypes || View.propTypes;
|
|
22
|
-
const propTypes = {
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* The coordinate of the center of the circle
|
|
16
|
+
const propTypes = {
|
|
17
|
+
...viewPropTypes,
|
|
18
|
+
/**
|
|
19
|
+
* The coordinate of the center of the circle
|
|
26
20
|
*/
|
|
27
21
|
center: _propTypes.default.shape({
|
|
28
|
-
/**
|
|
29
|
-
* Coordinates for the center of the circle.
|
|
22
|
+
/**
|
|
23
|
+
* Coordinates for the center of the circle.
|
|
30
24
|
*/
|
|
31
25
|
latitude: _propTypes.default.number.isRequired,
|
|
32
26
|
longitude: _propTypes.default.number.isRequired
|
|
33
27
|
}).isRequired,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
* The radius of the circle to be drawn (in meters)
|
|
28
|
+
/**
|
|
29
|
+
* The radius of the circle to be drawn (in meters)
|
|
37
30
|
*/
|
|
38
31
|
radius: _propTypes.default.number.isRequired,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
* The stroke width to use for the circle.
|
|
32
|
+
/**
|
|
33
|
+
* The stroke width to use for the circle.
|
|
42
34
|
*/
|
|
43
35
|
strokeWidth: _propTypes.default.number,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
* The stroke color to use for the circle.
|
|
36
|
+
/**
|
|
37
|
+
* The stroke color to use for the circle.
|
|
47
38
|
*/
|
|
48
39
|
strokeColor: _deprecatedReactNativePropTypes.ColorPropType,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
* The fill color to use for the circle.
|
|
40
|
+
/**
|
|
41
|
+
* The fill color to use for the circle.
|
|
52
42
|
*/
|
|
53
43
|
fillColor: _deprecatedReactNativePropTypes.ColorPropType,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
* zIndex
|
|
44
|
+
/**
|
|
45
|
+
* zIndex
|
|
57
46
|
*/
|
|
58
47
|
zIndex: _propTypes.default.number,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
* visible
|
|
48
|
+
/**
|
|
49
|
+
* visible
|
|
62
50
|
*/
|
|
63
51
|
visible: _propTypes.default.bool,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
* userData
|
|
52
|
+
/**
|
|
53
|
+
* userData
|
|
67
54
|
*/
|
|
68
55
|
userData: _propTypes.default.object,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
* Callback that is called when the user presses on the circle
|
|
56
|
+
/**
|
|
57
|
+
* Callback that is called when the user presses on the circle
|
|
72
58
|
*/
|
|
73
59
|
onPress: _propTypes.default.func
|
|
74
|
-
};
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
// const defaultProps = {
|
|
75
63
|
// strokeColor: '#000',
|
|
76
64
|
// strokeWidth: 1,
|
|
77
65
|
// };
|
|
@@ -82,100 +70,62 @@ class MFCircle extends _react.default.Component {
|
|
|
82
70
|
this._onPress = this._onPress.bind(this);
|
|
83
71
|
this._ref = this._ref.bind(this);
|
|
84
72
|
}
|
|
85
|
-
|
|
86
73
|
setCenter(center) {
|
|
87
74
|
this._runCommand("setCenter", [center]);
|
|
88
75
|
}
|
|
89
|
-
|
|
90
76
|
setRadius(radius) {
|
|
91
77
|
this._runCommand("setRadius", [radius]);
|
|
92
78
|
}
|
|
93
|
-
|
|
94
79
|
setFillColor(color) {
|
|
95
80
|
this._runCommand("setFillColor", [(0, _reactNative.processColor)(color)]);
|
|
96
81
|
}
|
|
97
|
-
|
|
98
82
|
setStrokeColor(color) {
|
|
99
83
|
this._runCommand("setStrokeColor", [(0, _reactNative.processColor)(color)]);
|
|
100
84
|
}
|
|
101
|
-
|
|
102
85
|
setStrokeWidth(width) {
|
|
103
86
|
this._runCommand("setStrokeWidth", [width]);
|
|
104
87
|
}
|
|
105
|
-
|
|
106
88
|
setUserData(userData) {
|
|
107
89
|
this._runCommand("setUserData", [userData]);
|
|
108
90
|
}
|
|
109
|
-
|
|
110
91
|
setZIndex(zIndex) {
|
|
111
92
|
this._runCommand("setZIndex", [zIndex]);
|
|
112
93
|
}
|
|
113
|
-
|
|
114
94
|
setVisible(visible) {
|
|
115
95
|
this._runCommand("setVisible", [visible]);
|
|
116
96
|
}
|
|
117
|
-
|
|
118
97
|
_getHandle() {
|
|
119
98
|
return (0, _reactNative.findNodeHandle)(this.circle);
|
|
120
99
|
}
|
|
121
|
-
|
|
122
100
|
_runCommand(name, args) {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
this._mapManagerCommand(name)(this._getHandle(), ...args);
|
|
131
|
-
|
|
132
|
-
break;
|
|
133
|
-
|
|
134
|
-
default:
|
|
135
|
-
break;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
_uiManagerCommand(name) {
|
|
140
|
-
const UIManager = _reactNative.NativeModules.UIManager;
|
|
141
|
-
const componentName = "RMFCircle";
|
|
142
|
-
|
|
143
|
-
if (!UIManager.getViewManagerConfig) {
|
|
144
|
-
// RN < 0.58
|
|
145
|
-
return UIManager[componentName].Commands[name];
|
|
146
|
-
} // RN >= 0.58
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
return UIManager.getViewManagerConfig(componentName).Commands[name];
|
|
101
|
+
return (0, _ViewManagerCommand.runViewManagerCommand)({
|
|
102
|
+
componentName: 'RMFCircle',
|
|
103
|
+
moduleName: 'RMFCircle',
|
|
104
|
+
commandName: name,
|
|
105
|
+
args,
|
|
106
|
+
reactTag: this._getHandle()
|
|
107
|
+
});
|
|
150
108
|
}
|
|
151
|
-
|
|
152
|
-
_mapManagerCommand(name) {
|
|
153
|
-
return _reactNative.NativeModules[`RMFCircle`][name];
|
|
154
|
-
}
|
|
155
|
-
|
|
156
109
|
_onPress(event) {
|
|
157
110
|
event.stopPropagation();
|
|
158
|
-
|
|
159
111
|
if (this.props.onPress) {
|
|
160
112
|
this.props.onPress(event);
|
|
161
113
|
}
|
|
162
114
|
}
|
|
163
|
-
|
|
164
115
|
_ref(ref) {
|
|
165
116
|
this.circle = ref;
|
|
166
117
|
}
|
|
167
|
-
|
|
168
118
|
render() {
|
|
169
|
-
return /*#__PURE__*/
|
|
119
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(RMFCircle, {
|
|
120
|
+
...this.props,
|
|
170
121
|
ref: this._ref,
|
|
171
122
|
onPress: this._onPress
|
|
172
|
-
})
|
|
123
|
+
});
|
|
173
124
|
}
|
|
174
|
-
|
|
175
125
|
}
|
|
176
|
-
|
|
177
126
|
exports.MFCircle = MFCircle;
|
|
178
|
-
MFCircle.propTypes = propTypes;
|
|
127
|
+
MFCircle.propTypes = propTypes;
|
|
128
|
+
// MFCircle.defaultProps = defaultProps;
|
|
179
129
|
|
|
180
130
|
var RMFCircle = (0, _reactNative.requireNativeComponent)(`RMFCircle`, MFCircle);
|
|
181
131
|
//# sourceMappingURL=MFCircle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["viewPropTypes","ViewPropTypes","View","propTypes","center","PropTypes","shape","latitude","number","isRequired","longitude","radius","strokeWidth","strokeColor","ColorPropType","fillColor","zIndex","visible","bool","userData","object","onPress","func","MFCircle","React","Component","constructor","props","_onPress","bind","_ref","setCenter","_runCommand","setRadius","setFillColor","color","processColor","setStrokeColor","setStrokeWidth","width","setUserData","setZIndex","setVisible","_getHandle","findNodeHandle","circle","name","args","
|
|
1
|
+
{"version":3,"names":["_propTypes","_interopRequireDefault","require","_react","_deprecatedReactNativePropTypes","_ViewManagerCommand","_reactNative","_jsxRuntime","e","__esModule","default","viewPropTypes","ViewPropTypes","View","propTypes","center","PropTypes","shape","latitude","number","isRequired","longitude","radius","strokeWidth","strokeColor","ColorPropType","fillColor","zIndex","visible","bool","userData","object","onPress","func","MFCircle","React","Component","constructor","props","_onPress","bind","_ref","setCenter","_runCommand","setRadius","setFillColor","color","processColor","setStrokeColor","setStrokeWidth","width","setUserData","setZIndex","setVisible","_getHandle","findNodeHandle","circle","name","args","runViewManagerCommand","componentName","moduleName","commandName","reactTag","event","stopPropagation","ref","render","jsx","RMFCircle","exports","requireNativeComponent"],"sourceRoot":"..\\..\\..\\src","sources":["components/MFCircle.js"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,+BAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAIsB,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEtB;AACA,MAAMG,aAAa,GAAGC,6CAAa,IAAIC,IAAI,CAACC,SAAS;AAErD,MAAMA,SAAS,GAAG;EAChB,GAAGH,aAAa;EAEhB;AACF;AACA;EACEI,MAAM,EAAEC,kBAAS,CAACC,KAAK,CAAC;IACtB;AACJ;AACA;IACIC,QAAQ,EAAEF,kBAAS,CAACG,MAAM,CAACC,UAAU;IACrCC,SAAS,EAAEL,kBAAS,CAACG,MAAM,CAACC;EAC9B,CAAC,CAAC,CAACA,UAAU;EAEb;AACF;AACA;EACEE,MAAM,EAAEN,kBAAS,CAACG,MAAM,CAACC,UAAU;EAEnC;AACF;AACA;EACEG,WAAW,EAAEP,kBAAS,CAACG,MAAM;EAE7B;AACF;AACA;EACEK,WAAW,EAAEC,6CAAa;EAE1B;AACF;AACA;EACEC,SAAS,EAAED,6CAAa;EAExB;AACF;AACA;EACEE,MAAM,EAAEX,kBAAS,CAACG,MAAM;EAExB;AACF;AACA;EACES,OAAO,EAAEZ,kBAAS,CAACa,IAAI;EAEvB;AACF;AACA;EACEC,QAAQ,EAACd,kBAAS,CAACe,MAAM;EAEzB;AACF;AACA;EACEC,OAAO,EAAEhB,kBAAS,CAACiB;AACrB,CAAC;;AAED;AACA;AACA;AACA;;AAEA,MAAMC,QAAQ,SAASC,cAAK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AM,CAAC;EACpC;EAGAb,WAAWA,CAACc,IAAI,EAAEC,IAAI,EAAE;IACtB,OAAO,IAAAC,yCAAqB,EAAC;MAC3BC,aAAa,EAAE,WAAW;MAC1BC,UAAU,EAAE,WAAW;MACvBC,WAAW,EAAEL,IAAI;MACjBC,IAAI;MACJK,QAAQ,EAAE,IAAI,CAACT,UAAU,CAAC;IAC5B,CAAC,CAAC;EACJ;EAEAf,QAAQA,CAACyB,KAAK,EAAE;IACdA,KAAK,CAACC,eAAe,CAAC,CAAC;IACrB,IAAI,IAAI,CAAC3B,KAAK,CAACN,OAAO,EAAE;MACtB,IAAI,CAACM,KAAK,CAACN,OAAO,CAACgC,KAAK,CAAC;IAC7B;EACF;EAEAvB,IAAIA,CAACyB,GAAG,EAAE;IACR,IAAI,CAACV,MAAM,GAAGU,GAAG;EACnB;EAEAC,MAAMA,CAAA,EAAG;IACP,oBAAO,IAAA5D,WAAA,CAAA6D,GAAA,EAACC,SAAS;MAAA,GACX,IAAI,CAAC/B,KAAK;MACd4B,GAAG,EAAE,IAAI,CAACzB,IAAK;MACfT,OAAO,EAAE,IAAI,CAACO;IAAS,CACxB,CAAC;EACJ;AACF;AAAC+B,OAAA,CAAApC,QAAA,GAAAA,QAAA;AAEDA,QAAQ,CAACpB,SAAS,GAAGA,SAAS;AAC9B;;AAEA,IAAIuD,SAAS,GAAG,IAAAE,mCAAsB,EAAC,WAAW,EAAErC,QAAQ,CAAC","ignoreList":[]}
|
|
@@ -4,86 +4,69 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.MFDirectionsRenderer = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
|
|
12
9
|
var _deprecatedReactNativePropTypes = require("deprecated-react-native-prop-types");
|
|
13
|
-
|
|
10
|
+
var _ViewManagerCommand = require("../native/ViewManagerCommand");
|
|
14
11
|
var _reactNative = require("react-native");
|
|
15
|
-
|
|
16
|
-
function _interopRequireDefault(
|
|
17
|
-
|
|
18
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
19
|
-
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
20
14
|
const viewPropTypes = _deprecatedReactNativePropTypes.ViewPropTypes || View.propTypes;
|
|
21
|
-
const propTypes = {
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* The directions to display on the map,
|
|
25
|
-
* retrieved as an array of array of coordinates to describe the routes.
|
|
26
|
-
* Similar to directions prop but has higher priority
|
|
15
|
+
const propTypes = {
|
|
16
|
+
...viewPropTypes,
|
|
17
|
+
/**
|
|
18
|
+
* The directions to display on the map,
|
|
19
|
+
* retrieved as an array of array of coordinates to describe the routes.
|
|
20
|
+
* Similar to directions prop but has higher priority
|
|
27
21
|
*/
|
|
28
22
|
routes: _propTypes.default.arrayOf(_propTypes.default.arrayOf(_propTypes.default.shape({
|
|
29
23
|
latitude: _propTypes.default.number.isRequired,
|
|
30
24
|
longitude: _propTypes.default.number.isRequired
|
|
31
25
|
}))),
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* Similar to routes prop but with lower priority
|
|
26
|
+
/**
|
|
27
|
+
* The directions to display on the map,
|
|
28
|
+
* retrieved as a json string from Get route Map4D API (/sdk/route).
|
|
29
|
+
* Similar to routes prop but with lower priority
|
|
37
30
|
*/
|
|
38
31
|
directions: _propTypes.default.string,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
* The index of the main route, default value is 0.
|
|
32
|
+
/**
|
|
33
|
+
* The index of the main route, default value is 0.
|
|
42
34
|
*/
|
|
43
35
|
activedIndex: _propTypes.default.number,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
* The active route stroke width.
|
|
36
|
+
/**
|
|
37
|
+
* The active route stroke width.
|
|
47
38
|
*/
|
|
48
39
|
activeStrokeWidth: _propTypes.default.number,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
* The active route color.
|
|
40
|
+
/**
|
|
41
|
+
* The active route color.
|
|
52
42
|
*/
|
|
53
43
|
activeStrokeColor: _deprecatedReactNativePropTypes.ColorPropType,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
* The active route outline stroke width.
|
|
44
|
+
/**
|
|
45
|
+
* The active route outline stroke width.
|
|
57
46
|
*/
|
|
58
47
|
activeOutlineWidth: _propTypes.default.number,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
* The active route outline color.
|
|
48
|
+
/**
|
|
49
|
+
* The active route outline color.
|
|
62
50
|
*/
|
|
63
51
|
activeOutlineColor: _deprecatedReactNativePropTypes.ColorPropType,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
* The inactive route stroke width.
|
|
52
|
+
/**
|
|
53
|
+
* The inactive route stroke width.
|
|
67
54
|
*/
|
|
68
55
|
inactiveStrokeWidth: _propTypes.default.number,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
* The inactive route color.
|
|
56
|
+
/**
|
|
57
|
+
* The inactive route color.
|
|
72
58
|
*/
|
|
73
59
|
inactiveStrokeColor: _deprecatedReactNativePropTypes.ColorPropType,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
* The inactive route outline stroke width.
|
|
60
|
+
/**
|
|
61
|
+
* The inactive route outline stroke width.
|
|
77
62
|
*/
|
|
78
63
|
inactiveOutlineWidth: _propTypes.default.number,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
* The inactive route outline color.
|
|
64
|
+
/**
|
|
65
|
+
* The inactive route outline color.
|
|
82
66
|
*/
|
|
83
67
|
inactiveOutlineColor: _deprecatedReactNativePropTypes.ColorPropType,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
* The options of the origin POI.
|
|
68
|
+
/**
|
|
69
|
+
* The options of the origin POI.
|
|
87
70
|
*/
|
|
88
71
|
originPOIOptions: _propTypes.default.shape({
|
|
89
72
|
coordinate: _propTypes.default.shape({
|
|
@@ -97,9 +80,8 @@ const propTypes = { ...viewPropTypes,
|
|
|
97
80
|
titleColor: _deprecatedReactNativePropTypes.ColorPropType,
|
|
98
81
|
visible: _propTypes.default.bool
|
|
99
82
|
}),
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
* The options of the destination POI.
|
|
83
|
+
/**
|
|
84
|
+
* The options of the destination POI.
|
|
103
85
|
*/
|
|
104
86
|
destinationPOIOptions: _propTypes.default.shape({
|
|
105
87
|
coordinate: _propTypes.default.shape({
|
|
@@ -113,40 +95,32 @@ const propTypes = { ...viewPropTypes,
|
|
|
113
95
|
titleColor: _deprecatedReactNativePropTypes.ColorPropType,
|
|
114
96
|
visible: _propTypes.default.bool
|
|
115
97
|
}),
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
* Callback that is called when the user presses on the routes.
|
|
98
|
+
/**
|
|
99
|
+
* Callback that is called when the user presses on the routes.
|
|
119
100
|
*/
|
|
120
101
|
onPress: _propTypes.default.func
|
|
121
102
|
};
|
|
122
|
-
|
|
123
103
|
class MFDirectionsRenderer extends _react.default.Component {
|
|
124
104
|
constructor(props) {
|
|
125
105
|
super(props);
|
|
126
106
|
this._ref = this._ref.bind(this);
|
|
127
107
|
this._onPress = this._onPress.bind(this);
|
|
128
108
|
}
|
|
129
|
-
|
|
130
109
|
setActivedIndex(index) {
|
|
131
110
|
this._runCommand("setActivedIndex", [index]);
|
|
132
111
|
}
|
|
133
|
-
|
|
134
112
|
setRoutes(routes) {
|
|
135
113
|
this._runCommand("setRoutes", [routes]);
|
|
136
114
|
}
|
|
137
|
-
|
|
138
115
|
setDirections(directions) {
|
|
139
116
|
this._runCommand("setDirections", [directions]);
|
|
140
117
|
}
|
|
141
|
-
|
|
142
118
|
render() {
|
|
143
119
|
let originPOIOptions = this.props.originPOIOptions;
|
|
144
|
-
|
|
145
120
|
if (originPOIOptions) {
|
|
146
121
|
if (originPOIOptions.titleColor) {
|
|
147
122
|
originPOIOptions.titleColor = (0, _reactNative.processColor)(originPOIOptions.titleColor);
|
|
148
123
|
}
|
|
149
|
-
|
|
150
124
|
if (originPOIOptions.icon) {
|
|
151
125
|
let uri = _reactNative.Image.resolveAssetSource(originPOIOptions.icon.uri) || {
|
|
152
126
|
uri: originPOIOptions.icon.uri
|
|
@@ -156,14 +130,11 @@ class MFDirectionsRenderer extends _react.default.Component {
|
|
|
156
130
|
};
|
|
157
131
|
}
|
|
158
132
|
}
|
|
159
|
-
|
|
160
133
|
let destinationPOIOptions = this.props.destinationPOIOptions;
|
|
161
|
-
|
|
162
134
|
if (destinationPOIOptions) {
|
|
163
135
|
if (destinationPOIOptions.titleColor) {
|
|
164
136
|
destinationPOIOptions.titleColor = (0, _reactNative.processColor)(destinationPOIOptions.titleColor);
|
|
165
137
|
}
|
|
166
|
-
|
|
167
138
|
if (destinationPOIOptions.icon) {
|
|
168
139
|
let uri = _reactNative.Image.resolveAssetSource(destinationPOIOptions.icon.uri) || {
|
|
169
140
|
uri: destinationPOIOptions.icon.uri
|
|
@@ -173,67 +144,36 @@ class MFDirectionsRenderer extends _react.default.Component {
|
|
|
173
144
|
};
|
|
174
145
|
}
|
|
175
146
|
}
|
|
176
|
-
|
|
177
|
-
|
|
147
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(RMFDirectionsRenderer, {
|
|
148
|
+
...this.props,
|
|
178
149
|
originPOIOptions: originPOIOptions,
|
|
179
150
|
destinationPOIOptions: destinationPOIOptions,
|
|
180
151
|
ref: this._ref,
|
|
181
152
|
onPress: this._onPress
|
|
182
|
-
})
|
|
153
|
+
});
|
|
183
154
|
}
|
|
184
|
-
|
|
185
155
|
_ref(ref) {
|
|
186
156
|
this.renderer = ref;
|
|
187
157
|
}
|
|
188
|
-
|
|
189
158
|
_onPress(event) {
|
|
190
159
|
event.stopPropagation();
|
|
191
|
-
|
|
192
160
|
if (this.props.onPress) {
|
|
193
161
|
this.props.onPress(event);
|
|
194
162
|
}
|
|
195
163
|
}
|
|
196
|
-
|
|
197
164
|
_runCommand(name, args) {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
this._mapManagerCommand(name)(this._getHandle(), ...args);
|
|
206
|
-
|
|
207
|
-
break;
|
|
208
|
-
|
|
209
|
-
default:
|
|
210
|
-
break;
|
|
211
|
-
}
|
|
165
|
+
return (0, _ViewManagerCommand.runViewManagerCommand)({
|
|
166
|
+
componentName: 'RMFDirectionsRenderer',
|
|
167
|
+
moduleName: 'RMFDirectionsRenderer',
|
|
168
|
+
commandName: name,
|
|
169
|
+
args,
|
|
170
|
+
reactTag: this._getHandle()
|
|
171
|
+
});
|
|
212
172
|
}
|
|
213
|
-
|
|
214
173
|
_getHandle() {
|
|
215
174
|
return (0, _reactNative.findNodeHandle)(this.renderer);
|
|
216
175
|
}
|
|
217
|
-
|
|
218
|
-
_uiManagerCommand(name) {
|
|
219
|
-
const UIManager = _reactNative.NativeModules.UIManager;
|
|
220
|
-
const componentName = "RMFDirectionsRenderer";
|
|
221
|
-
|
|
222
|
-
if (!UIManager.getViewManagerConfig) {
|
|
223
|
-
// RN < 0.58
|
|
224
|
-
return UIManager[componentName].Commands[name];
|
|
225
|
-
} // RN >= 0.58
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
return UIManager.getViewManagerConfig(componentName).Commands[name];
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
_mapManagerCommand(name) {
|
|
232
|
-
return _reactNative.NativeModules[`RMFDirectionsRenderer`][name];
|
|
233
|
-
}
|
|
234
|
-
|
|
235
176
|
}
|
|
236
|
-
|
|
237
177
|
exports.MFDirectionsRenderer = MFDirectionsRenderer;
|
|
238
178
|
MFDirectionsRenderer.propTypes = propTypes;
|
|
239
179
|
var RMFDirectionsRenderer = (0, _reactNative.requireNativeComponent)(`RMFDirectionsRenderer`, MFDirectionsRenderer);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["viewPropTypes","ViewPropTypes","View","propTypes","routes","PropTypes","arrayOf","shape","latitude","number","isRequired","longitude","directions","string","activedIndex","activeStrokeWidth","activeStrokeColor","ColorPropType","activeOutlineWidth","activeOutlineColor","inactiveStrokeWidth","inactiveStrokeColor","inactiveOutlineWidth","inactiveOutlineColor","originPOIOptions","coordinate","icon","uri","any","title","titleColor","visible","bool","destinationPOIOptions","onPress","func","MFDirectionsRenderer","React","Component","constructor","props","_ref","bind","_onPress","setActivedIndex","index","_runCommand","setRoutes","setDirections","render","processColor","Image","resolveAssetSource","ref","renderer","event","stopPropagation","name","args","Platform","OS","NativeModules","UIManager","dispatchViewManagerCommand","_getHandle","_uiManagerCommand","_mapManagerCommand","findNodeHandle","componentName","getViewManagerConfig","Commands","RMFDirectionsRenderer","requireNativeComponent"],"sources":["MFDirectionsRenderer.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {ViewPropTypes, ColorPropType} from 'deprecated-react-native-prop-types';\nimport {\n requireNativeComponent,\n Platform,\n Image,\n NativeModules,\n findNodeHandle,\n processColor\n} from 'react-native';\n\nconst viewPropTypes = ViewPropTypes || View.propTypes;\n\nconst propTypes = {\n ...viewPropTypes,\n\n /**\n * The directions to display on the map,\n * retrieved as an array of array of coordinates to describe the routes.\n * Similar to directions prop but has higher priority\n */\n routes: PropTypes.arrayOf(\n PropTypes.arrayOf(\n PropTypes.shape({\n latitude: PropTypes.number.isRequired,\n longitude: PropTypes.number.isRequired,\n })\n )\n ),\n\n /**\n * The directions to display on the map,\n * retrieved as a json string from Get route Map4D API (/sdk/route).\n * Similar to routes prop but with lower priority\n */\n directions: PropTypes.string,\n\n /**\n * The index of the main route, default value is 0.\n */\n activedIndex: PropTypes.number,\n\n /**\n * The active route stroke width.\n */\n activeStrokeWidth: PropTypes.number,\n\n /**\n * The active route color.\n */\n activeStrokeColor: ColorPropType,\n\n /**\n * The active route outline stroke width.\n */\n activeOutlineWidth: PropTypes.number,\n\n /**\n * The active route outline color.\n */\n activeOutlineColor: ColorPropType,\n\n /**\n * The inactive route stroke width.\n */\n inactiveStrokeWidth: PropTypes.number,\n\n /**\n * The inactive route color.\n */\n inactiveStrokeColor: ColorPropType,\n\n /**\n * The inactive route outline stroke width.\n */\n inactiveOutlineWidth: PropTypes.number,\n\n /**\n * The inactive route outline color.\n */\n inactiveOutlineColor: ColorPropType,\n\n /**\n * The options of the origin POI.\n */\n originPOIOptions: PropTypes.shape({\n coordinate: PropTypes.shape({\n latitude: PropTypes.number.isRequired,\n longitude: PropTypes.number.isRequired,\n }),\n\n icon: PropTypes.shape({\n uri: PropTypes.any.isRequired\n }),\n\n title: PropTypes.string,\n\n titleColor: ColorPropType,\n\n visible: PropTypes.bool,\n }),\n\n /**\n * The options of the destination POI.\n */\n destinationPOIOptions: PropTypes.shape({\n coordinate: PropTypes.shape({\n latitude: PropTypes.number.isRequired,\n longitude: PropTypes.number.isRequired,\n }),\n\n icon: PropTypes.shape({\n uri: PropTypes.any.isRequired\n }),\n\n title: PropTypes.string,\n\n titleColor: ColorPropType,\n\n visible: PropTypes.bool,\n }),\n\n /**\n * Callback that is called when the user presses on the routes.\n */\n onPress: PropTypes.func,\n};\n\nclass MFDirectionsRenderer extends React.Component {\n constructor(props) {\n super(props)\n this._ref = this._ref.bind(this)\n this._onPress = this._onPress.bind(this)\n }\n\n setActivedIndex(index) {\n this._runCommand(\"setActivedIndex\", [index])\n }\n\n setRoutes(routes) {\n this._runCommand(\"setRoutes\", [routes])\n }\n\n setDirections(directions) {\n this._runCommand(\"setDirections\", [directions])\n }\n\n render() {\n let originPOIOptions = this.props.originPOIOptions\n if (originPOIOptions) {\n if (originPOIOptions.titleColor) {\n originPOIOptions.titleColor = processColor(originPOIOptions.titleColor)\n }\n if (originPOIOptions.icon) {\n let uri = Image.resolveAssetSource(originPOIOptions.icon.uri) || {uri: originPOIOptions.icon.uri};\n originPOIOptions.icon = {uri: uri.uri}\n }\n }\n\n let destinationPOIOptions = this.props.destinationPOIOptions\n if (destinationPOIOptions) {\n if (destinationPOIOptions.titleColor) {\n destinationPOIOptions.titleColor = processColor(destinationPOIOptions.titleColor)\n }\n if (destinationPOIOptions.icon) {\n let uri = Image.resolveAssetSource(destinationPOIOptions.icon.uri) || {uri: destinationPOIOptions.icon.uri};\n destinationPOIOptions.icon = {uri: uri.uri}\n }\n }\n\n return <RMFDirectionsRenderer\n {...this.props}\n originPOIOptions={originPOIOptions}\n destinationPOIOptions={destinationPOIOptions}\n ref={this._ref}\n onPress={this._onPress}\n />;\n }\n\n _ref(ref) {\n this.renderer = ref;\n }\n\n _onPress(event) {\n event.stopPropagation();\n if (this.props.onPress) {\n this.props.onPress(event);\n }\n }\n\n _runCommand(name, args) {\n switch (Platform.OS) {\n case 'android':\n NativeModules.UIManager.dispatchViewManagerCommand(\n this._getHandle(),\n this._uiManagerCommand(name),\n args\n );\n break;\n\n case 'ios':\n this._mapManagerCommand(name)(this._getHandle(), ...args);\n break;\n\n default:\n break;\n }\n }\n\n _getHandle() {\n return findNodeHandle(this.renderer);\n }\n\n _uiManagerCommand(name) {\n const UIManager = NativeModules.UIManager;\n const componentName = \"RMFDirectionsRenderer\";\n\n if (!UIManager.getViewManagerConfig) {\n // RN < 0.58\n return UIManager[componentName].Commands[name];\n }\n\n // RN >= 0.58 \n return UIManager.getViewManagerConfig(componentName).Commands[name];\n }\n\n _mapManagerCommand(name) {\n return NativeModules[`RMFDirectionsRenderer`][name];\n }\n}\n\nMFDirectionsRenderer.propTypes = propTypes;\n\nvar RMFDirectionsRenderer = requireNativeComponent(`RMFDirectionsRenderer`, MFDirectionsRenderer);\n\nexport { MFDirectionsRenderer }\n"],"mappings":";;;;;;;AAAA;;AACA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EAAuCJ,IAAvC,CAAP;EACD;;AApGgD;;;AAuGnDrB,oBAAoB,CAACjC,SAArB,GAAiCA,SAAjC;AAEA,IAAIoE,qBAAqB,GAAG,IAAAC,mCAAA,EAAwB,uBAAxB,EAAgDpC,oBAAhD,CAA5B"}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_propTypes","_deprecatedReactNativePropTypes","_ViewManagerCommand","_reactNative","_jsxRuntime","e","__esModule","default","viewPropTypes","ViewPropTypes","View","propTypes","routes","PropTypes","arrayOf","shape","latitude","number","isRequired","longitude","directions","string","activedIndex","activeStrokeWidth","activeStrokeColor","ColorPropType","activeOutlineWidth","activeOutlineColor","inactiveStrokeWidth","inactiveStrokeColor","inactiveOutlineWidth","inactiveOutlineColor","originPOIOptions","coordinate","icon","uri","any","title","titleColor","visible","bool","destinationPOIOptions","onPress","func","MFDirectionsRenderer","React","Component","constructor","props","_ref","bind","_onPress","setActivedIndex","index","_runCommand","setRoutes","setDirections","render","processColor","Image","resolveAssetSource","jsx","RMFDirectionsRenderer","ref","renderer","event","stopPropagation","name","args","runViewManagerCommand","componentName","moduleName","commandName","reactTag","_getHandle","findNodeHandle","exports","requireNativeComponent"],"sourceRoot":"..\\..\\..\\src","sources":["components/MFDirectionsRenderer.js"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,+BAAA,GAAAF,OAAA;AACA,IAAAG,mBAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAKsB,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEtB,MAAMG,aAAa,GAAGC,6CAAa,IAAIC,IAAI,CAACC,SAAS;AAErD,MAAMA,SAAS,GAAG;EAChB,GAAG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