react-native-map4d-map-dtqg 0.1.0 → 0.1.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.
- package/LICENSE +21 -21
- package/README.md +88 -41
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.9/checksums/sha1-checksums.bin +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.0-milestone-1/checksums/checksums.lock +0 -0
- package/android/.gradle/9.0-milestone-1/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/9.0-milestone-1/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/9.0-milestone-1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/9.0-milestone-1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/9.0-milestone-1/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/config.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/AndroidProjectSystem.xml +6 -0
- package/android/.idea/caches/deviceStreaming.xml +1570 -0
- package/android/.idea/copilot.data.migration.ask2agent.xml +6 -0
- package/android/.idea/gradle.xml +12 -0
- package/android/.idea/migrations.xml +10 -0
- package/android/.idea/misc.xml +10 -0
- package/android/.idea/runConfigurations.xml +17 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/build.gradle +60 -60
- package/android/local.properties +8 -0
- 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 +298 -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 +226 -226
- 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 +7 -7
- package/ios/Map4dMap.m +14 -14
- package/ios/Map4dMapViewManager.m +34 -34
- 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 +155 -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 +84 -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 +493 -493
- package/ios/RMFMarker.h +57 -57
- package/ios/RMFMarker.m +267 -267
- package/ios/RMFMarkerManager.h +17 -17
- package/ios/RMFMarkerManager.m +156 -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 +168 -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 +141 -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 +139 -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 +133 -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/MFBuilding.js +26 -26
- package/lib/commonjs/components/MFBuilding.js.map +1 -1
- package/lib/commonjs/components/MFCircle.js +20 -20
- package/lib/commonjs/components/MFCircle.js.map +1 -1
- package/lib/commonjs/components/MFDirectionsRenderer.js +32 -32
- package/lib/commonjs/components/MFDirectionsRenderer.js.map +1 -1
- package/lib/commonjs/components/MFMapView.js +133 -71
- package/lib/commonjs/components/MFMapView.js.map +1 -1
- package/lib/commonjs/components/MFMarker.js +35 -35
- package/lib/commonjs/components/MFMarker.js.map +1 -1
- package/lib/commonjs/components/MFPOI.js +20 -20
- package/lib/commonjs/components/MFPOI.js.map +1 -1
- package/lib/commonjs/components/MFPolygon.js +22 -22
- package/lib/commonjs/components/MFPolygon.js.map +1 -1
- package/lib/commonjs/components/MFPolyline.js +18 -18
- package/lib/commonjs/components/MFPolyline.js.map +1 -1
- package/lib/commonjs/components/MFTileOverlay.js +9 -9
- package/lib/commonjs/components/MFTileOverlay.js.map +1 -1
- package/lib/commonjs/components/Map4dMapView.js.map +1 -1
- package/lib/commonjs/components/extends/AreaFocuser.js +311 -0
- package/lib/commonjs/components/extends/AreaFocuser.js.map +1 -0
- package/lib/commonjs/index.js +8 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/components/MFBuilding.js +26 -26
- package/lib/module/components/MFBuilding.js.map +1 -1
- package/lib/module/components/MFCircle.js +20 -20
- package/lib/module/components/MFCircle.js.map +1 -1
- package/lib/module/components/MFDirectionsRenderer.js +32 -32
- package/lib/module/components/MFDirectionsRenderer.js.map +1 -1
- package/lib/module/components/MFMapView.js +131 -71
- package/lib/module/components/MFMapView.js.map +1 -1
- package/lib/module/components/MFMarker.js +35 -35
- package/lib/module/components/MFMarker.js.map +1 -1
- package/lib/module/components/MFPOI.js +20 -20
- package/lib/module/components/MFPOI.js.map +1 -1
- package/lib/module/components/MFPolygon.js +22 -22
- package/lib/module/components/MFPolygon.js.map +1 -1
- package/lib/module/components/MFPolyline.js +18 -18
- package/lib/module/components/MFPolyline.js.map +1 -1
- package/lib/module/components/MFTileOverlay.js +9 -9
- package/lib/module/components/MFTileOverlay.js.map +1 -1
- package/lib/module/components/Map4dMapView.js.map +1 -1
- package/lib/module/components/extends/AreaFocuser.js +302 -0
- package/lib/module/components/extends/AreaFocuser.js.map +1 -0
- package/lib/module/index.js +2 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/components/Map4dMapView.d.ts +7 -7
- package/package.json +152 -152
- package/react-native-map4d-map.podspec +20 -20
- package/src/components/MFBuilding.js +187 -187
- package/src/components/MFCircle.js +173 -173
- package/src/components/MFDirectionsRenderer.js +237 -237
- package/src/components/MFMapView.js +447 -373
- package/src/components/MFMarker.js +246 -246
- package/src/components/MFPOI.js +184 -184
- package/src/components/MFPolygon.js +186 -186
- package/src/components/MFPolyline.js +172 -172
- package/src/components/MFTileOverlay.js +45 -45
- package/src/components/Map4dMapView.tsx +26 -26
- package/src/components/extends/AreaFocuser.js +339 -0
- package/src/index.js +23 -21
package/ios/RMFCircleManager.m
CHANGED
|
@@ -1,155 +1,155 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RMFCircleManager.m
|
|
3
|
-
// Map4dMap
|
|
4
|
-
//
|
|
5
|
-
// Created by Huy Dang on 7/3/20.
|
|
6
|
-
// Copyright © 2020 IOTLink. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import "RMFCircleManager.h"
|
|
10
|
-
#import "RMFCircle.h"
|
|
11
|
-
#import <Foundation/Foundation.h>
|
|
12
|
-
#import <React/RCTConvert+CoreLocation.h>
|
|
13
|
-
#import <React/RCTBridge.h>
|
|
14
|
-
#import <React/RCTUIManager.h>
|
|
15
|
-
|
|
16
|
-
@implementation RMFCircleManager
|
|
17
|
-
|
|
18
|
-
RCT_EXPORT_MODULE(RMFCircle)
|
|
19
|
-
|
|
20
|
-
- (UIView *)view {
|
|
21
|
-
RMFCircle * circle = [[RMFCircle alloc] init];
|
|
22
|
-
return circle;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
RCT_REMAP_VIEW_PROPERTY(center, centerCoordinate, CLLocationCoordinate2D)
|
|
26
|
-
RCT_EXPORT_VIEW_PROPERTY(radius, double)
|
|
27
|
-
RCT_EXPORT_VIEW_PROPERTY(fillColor, UIColor)
|
|
28
|
-
RCT_EXPORT_VIEW_PROPERTY(strokeColor, UIColor)
|
|
29
|
-
RCT_EXPORT_VIEW_PROPERTY(strokeWidth, double)
|
|
30
|
-
RCT_EXPORT_VIEW_PROPERTY(userInteractionEnabled, BOOL)
|
|
31
|
-
RCT_EXPORT_VIEW_PROPERTY(zIndex, float)
|
|
32
|
-
RCT_EXPORT_VIEW_PROPERTY(visible, BOOL)
|
|
33
|
-
RCT_EXPORT_VIEW_PROPERTY(userData, NSDictionary)
|
|
34
|
-
|
|
35
|
-
RCT_EXPORT_VIEW_PROPERTY(onPress, RCTBubblingEventBlock)
|
|
36
|
-
|
|
37
|
-
RCT_EXPORT_METHOD(setCenter:(nonnull NSNumber *)reactTag
|
|
38
|
-
withCoordinate:(id)coordinate)
|
|
39
|
-
{
|
|
40
|
-
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
41
|
-
id view = viewRegistry[reactTag];
|
|
42
|
-
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
43
|
-
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
44
|
-
} else {
|
|
45
|
-
RMFCircle *circle = (RMFCircle *)view;
|
|
46
|
-
[circle setCenterCoordinate:[RCTConvert CLLocationCoordinate2D:coordinate]];
|
|
47
|
-
}
|
|
48
|
-
}];
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
RCT_EXPORT_METHOD(setRadius:(nonnull NSNumber *)reactTag
|
|
52
|
-
withRadius:(double)radius)
|
|
53
|
-
{
|
|
54
|
-
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
55
|
-
id view = viewRegistry[reactTag];
|
|
56
|
-
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
57
|
-
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
58
|
-
} else {
|
|
59
|
-
RMFCircle *circle = (RMFCircle *)view;
|
|
60
|
-
[circle setRadius:radius];
|
|
61
|
-
}
|
|
62
|
-
}];
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
RCT_EXPORT_METHOD(setFillColor:(nonnull NSNumber *)reactTag
|
|
66
|
-
color:(id)color)
|
|
67
|
-
{
|
|
68
|
-
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
69
|
-
id view = viewRegistry[reactTag];
|
|
70
|
-
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
71
|
-
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
72
|
-
} else {
|
|
73
|
-
RMFCircle *circle = (RMFCircle *)view;
|
|
74
|
-
UIColor* fillCorlor = [RCTConvert UIColor:color];
|
|
75
|
-
if (fillCorlor != nil) {
|
|
76
|
-
[circle setFillColor:fillCorlor];
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}];
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
RCT_EXPORT_METHOD(setStrokeColor:(nonnull NSNumber *)reactTag
|
|
83
|
-
color:(id)color)
|
|
84
|
-
{
|
|
85
|
-
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
86
|
-
id view = viewRegistry[reactTag];
|
|
87
|
-
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
88
|
-
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
89
|
-
} else {
|
|
90
|
-
RMFCircle *circle = (RMFCircle *)view;
|
|
91
|
-
UIColor* strokeColor = [RCTConvert UIColor:color];
|
|
92
|
-
if (strokeColor != nil) {
|
|
93
|
-
[circle setStrokeColor:strokeColor];
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}];
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
RCT_EXPORT_METHOD(setStrokeWidth:(nonnull NSNumber *)reactTag
|
|
100
|
-
width:(double)width)
|
|
101
|
-
{
|
|
102
|
-
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
103
|
-
id view = viewRegistry[reactTag];
|
|
104
|
-
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
105
|
-
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
106
|
-
} else {
|
|
107
|
-
RMFCircle *circle = (RMFCircle *)view;
|
|
108
|
-
[circle setStrokeWidth:width];
|
|
109
|
-
}
|
|
110
|
-
}];
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
RCT_EXPORT_METHOD(setZIndex:(nonnull NSNumber *)reactTag
|
|
114
|
-
zIndex:(float)zIndex)
|
|
115
|
-
{
|
|
116
|
-
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
117
|
-
id view = viewRegistry[reactTag];
|
|
118
|
-
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
119
|
-
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
120
|
-
} else {
|
|
121
|
-
RMFCircle *circle = (RMFCircle *)view;
|
|
122
|
-
[circle setZIndex:zIndex];
|
|
123
|
-
}
|
|
124
|
-
}];
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
RCT_EXPORT_METHOD(setVisible:(nonnull NSNumber *)reactTag
|
|
128
|
-
visible:(BOOL)visible)
|
|
129
|
-
{
|
|
130
|
-
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
131
|
-
id view = viewRegistry[reactTag];
|
|
132
|
-
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
133
|
-
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
134
|
-
} else {
|
|
135
|
-
RMFCircle *circle = (RMFCircle *)view;
|
|
136
|
-
[circle setVisible:visible];
|
|
137
|
-
}
|
|
138
|
-
}];
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
RCT_EXPORT_METHOD(setUserData:(nonnull NSNumber *)reactTag
|
|
142
|
-
userData:(id)json)
|
|
143
|
-
{
|
|
144
|
-
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
145
|
-
id view = viewRegistry[reactTag];
|
|
146
|
-
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
147
|
-
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
148
|
-
} else {
|
|
149
|
-
RMFCircle *circle = (RMFCircle *)view;
|
|
150
|
-
[circle setUserData:[RCTConvert NSDictionary:json]];
|
|
151
|
-
}
|
|
152
|
-
}];
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
@end
|
|
1
|
+
//
|
|
2
|
+
// RMFCircleManager.m
|
|
3
|
+
// Map4dMap
|
|
4
|
+
//
|
|
5
|
+
// Created by Huy Dang on 7/3/20.
|
|
6
|
+
// Copyright © 2020 IOTLink. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "RMFCircleManager.h"
|
|
10
|
+
#import "RMFCircle.h"
|
|
11
|
+
#import <Foundation/Foundation.h>
|
|
12
|
+
#import <React/RCTConvert+CoreLocation.h>
|
|
13
|
+
#import <React/RCTBridge.h>
|
|
14
|
+
#import <React/RCTUIManager.h>
|
|
15
|
+
|
|
16
|
+
@implementation RMFCircleManager
|
|
17
|
+
|
|
18
|
+
RCT_EXPORT_MODULE(RMFCircle)
|
|
19
|
+
|
|
20
|
+
- (UIView *)view {
|
|
21
|
+
RMFCircle * circle = [[RMFCircle alloc] init];
|
|
22
|
+
return circle;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
RCT_REMAP_VIEW_PROPERTY(center, centerCoordinate, CLLocationCoordinate2D)
|
|
26
|
+
RCT_EXPORT_VIEW_PROPERTY(radius, double)
|
|
27
|
+
RCT_EXPORT_VIEW_PROPERTY(fillColor, UIColor)
|
|
28
|
+
RCT_EXPORT_VIEW_PROPERTY(strokeColor, UIColor)
|
|
29
|
+
RCT_EXPORT_VIEW_PROPERTY(strokeWidth, double)
|
|
30
|
+
RCT_EXPORT_VIEW_PROPERTY(userInteractionEnabled, BOOL)
|
|
31
|
+
RCT_EXPORT_VIEW_PROPERTY(zIndex, float)
|
|
32
|
+
RCT_EXPORT_VIEW_PROPERTY(visible, BOOL)
|
|
33
|
+
RCT_EXPORT_VIEW_PROPERTY(userData, NSDictionary)
|
|
34
|
+
|
|
35
|
+
RCT_EXPORT_VIEW_PROPERTY(onPress, RCTBubblingEventBlock)
|
|
36
|
+
|
|
37
|
+
RCT_EXPORT_METHOD(setCenter:(nonnull NSNumber *)reactTag
|
|
38
|
+
withCoordinate:(id)coordinate)
|
|
39
|
+
{
|
|
40
|
+
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
41
|
+
id view = viewRegistry[reactTag];
|
|
42
|
+
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
43
|
+
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
44
|
+
} else {
|
|
45
|
+
RMFCircle *circle = (RMFCircle *)view;
|
|
46
|
+
[circle setCenterCoordinate:[RCTConvert CLLocationCoordinate2D:coordinate]];
|
|
47
|
+
}
|
|
48
|
+
}];
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
RCT_EXPORT_METHOD(setRadius:(nonnull NSNumber *)reactTag
|
|
52
|
+
withRadius:(double)radius)
|
|
53
|
+
{
|
|
54
|
+
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
55
|
+
id view = viewRegistry[reactTag];
|
|
56
|
+
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
57
|
+
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
58
|
+
} else {
|
|
59
|
+
RMFCircle *circle = (RMFCircle *)view;
|
|
60
|
+
[circle setRadius:radius];
|
|
61
|
+
}
|
|
62
|
+
}];
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
RCT_EXPORT_METHOD(setFillColor:(nonnull NSNumber *)reactTag
|
|
66
|
+
color:(id)color)
|
|
67
|
+
{
|
|
68
|
+
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
69
|
+
id view = viewRegistry[reactTag];
|
|
70
|
+
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
71
|
+
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
72
|
+
} else {
|
|
73
|
+
RMFCircle *circle = (RMFCircle *)view;
|
|
74
|
+
UIColor* fillCorlor = [RCTConvert UIColor:color];
|
|
75
|
+
if (fillCorlor != nil) {
|
|
76
|
+
[circle setFillColor:fillCorlor];
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}];
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
RCT_EXPORT_METHOD(setStrokeColor:(nonnull NSNumber *)reactTag
|
|
83
|
+
color:(id)color)
|
|
84
|
+
{
|
|
85
|
+
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
86
|
+
id view = viewRegistry[reactTag];
|
|
87
|
+
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
88
|
+
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
89
|
+
} else {
|
|
90
|
+
RMFCircle *circle = (RMFCircle *)view;
|
|
91
|
+
UIColor* strokeColor = [RCTConvert UIColor:color];
|
|
92
|
+
if (strokeColor != nil) {
|
|
93
|
+
[circle setStrokeColor:strokeColor];
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}];
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
RCT_EXPORT_METHOD(setStrokeWidth:(nonnull NSNumber *)reactTag
|
|
100
|
+
width:(double)width)
|
|
101
|
+
{
|
|
102
|
+
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
103
|
+
id view = viewRegistry[reactTag];
|
|
104
|
+
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
105
|
+
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
106
|
+
} else {
|
|
107
|
+
RMFCircle *circle = (RMFCircle *)view;
|
|
108
|
+
[circle setStrokeWidth:width];
|
|
109
|
+
}
|
|
110
|
+
}];
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
RCT_EXPORT_METHOD(setZIndex:(nonnull NSNumber *)reactTag
|
|
114
|
+
zIndex:(float)zIndex)
|
|
115
|
+
{
|
|
116
|
+
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
117
|
+
id view = viewRegistry[reactTag];
|
|
118
|
+
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
119
|
+
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
120
|
+
} else {
|
|
121
|
+
RMFCircle *circle = (RMFCircle *)view;
|
|
122
|
+
[circle setZIndex:zIndex];
|
|
123
|
+
}
|
|
124
|
+
}];
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
RCT_EXPORT_METHOD(setVisible:(nonnull NSNumber *)reactTag
|
|
128
|
+
visible:(BOOL)visible)
|
|
129
|
+
{
|
|
130
|
+
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
131
|
+
id view = viewRegistry[reactTag];
|
|
132
|
+
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
133
|
+
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
134
|
+
} else {
|
|
135
|
+
RMFCircle *circle = (RMFCircle *)view;
|
|
136
|
+
[circle setVisible:visible];
|
|
137
|
+
}
|
|
138
|
+
}];
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
RCT_EXPORT_METHOD(setUserData:(nonnull NSNumber *)reactTag
|
|
142
|
+
userData:(id)json)
|
|
143
|
+
{
|
|
144
|
+
[self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
|
|
145
|
+
id view = viewRegistry[reactTag];
|
|
146
|
+
if (![view isKindOfClass:[RMFCircle class]]) {
|
|
147
|
+
RCTLogError(@"Invalid view returned from registry, expecting RMFCircle, got: %@", view);
|
|
148
|
+
} else {
|
|
149
|
+
RMFCircle *circle = (RMFCircle *)view;
|
|
150
|
+
[circle setUserData:[RCTConvert NSDictionary:json]];
|
|
151
|
+
}
|
|
152
|
+
}];
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@end
|
package/ios/RMFCircleMap4d.h
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RMFCircleMap4d.h
|
|
3
|
-
// Map4dMap
|
|
4
|
-
//
|
|
5
|
-
// Created by Huy Dang on 7/3/20.
|
|
6
|
-
// Copyright © 2020 IOTLink. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#ifndef RMFCircleMap4d_h
|
|
10
|
-
#define RMFCircleMap4d_h
|
|
11
|
-
|
|
12
|
-
#import <Map4dMap/Map4dMap.h>
|
|
13
|
-
|
|
14
|
-
@class RMFCircle;
|
|
15
|
-
|
|
16
|
-
@interface RMFCircleMap4d : MFCircle
|
|
17
|
-
|
|
18
|
-
@property (nonatomic, weak) RMFCircle *reactCircle;
|
|
19
|
-
|
|
20
|
-
@end
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
#endif /* RMFCircleMap4d_h */
|
|
1
|
+
//
|
|
2
|
+
// RMFCircleMap4d.h
|
|
3
|
+
// Map4dMap
|
|
4
|
+
//
|
|
5
|
+
// Created by Huy Dang on 7/3/20.
|
|
6
|
+
// Copyright © 2020 IOTLink. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#ifndef RMFCircleMap4d_h
|
|
10
|
+
#define RMFCircleMap4d_h
|
|
11
|
+
|
|
12
|
+
#import <Map4dMap/Map4dMap.h>
|
|
13
|
+
|
|
14
|
+
@class RMFCircle;
|
|
15
|
+
|
|
16
|
+
@interface RMFCircleMap4d : MFCircle
|
|
17
|
+
|
|
18
|
+
@property (nonatomic, weak) RMFCircle *reactCircle;
|
|
19
|
+
|
|
20
|
+
@end
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
#endif /* RMFCircleMap4d_h */
|
package/ios/RMFCircleMap4d.m
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RMFCircleMap4d.m
|
|
3
|
-
// Map4dMap
|
|
4
|
-
//
|
|
5
|
-
// Created by Huy Dang on 7/4/20.
|
|
6
|
-
// Copyright © 2020 IOTLink. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import "RMFCircleMap4d.h"
|
|
10
|
-
|
|
11
|
-
@implementation RMFCircleMap4d
|
|
12
|
-
|
|
13
|
-
@end
|
|
1
|
+
//
|
|
2
|
+
// RMFCircleMap4d.m
|
|
3
|
+
// Map4dMap
|
|
4
|
+
//
|
|
5
|
+
// Created by Huy Dang on 7/4/20.
|
|
6
|
+
// Copyright © 2020 IOTLink. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "RMFCircleMap4d.h"
|
|
10
|
+
|
|
11
|
+
@implementation RMFCircleMap4d
|
|
12
|
+
|
|
13
|
+
@end
|
package/ios/RMFCoordinate.h
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RMFCoordinate.h
|
|
3
|
-
// Map4dMap
|
|
4
|
-
//
|
|
5
|
-
// Created by Huy Dang on 7/4/20.
|
|
6
|
-
// Copyright © 2020 IOTLink. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#ifndef MFCoordinate_h
|
|
10
|
-
#define MFCoordinate_h
|
|
11
|
-
|
|
12
|
-
#import <Foundation/Foundation.h>
|
|
13
|
-
#import <CoreLocation/CoreLocation.h>
|
|
14
|
-
|
|
15
|
-
@interface RMFCoordinate : NSObject
|
|
16
|
-
|
|
17
|
-
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
|
|
18
|
-
|
|
19
|
-
@end
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
#endif /* RMFCoordinate_h */
|
|
1
|
+
//
|
|
2
|
+
// RMFCoordinate.h
|
|
3
|
+
// Map4dMap
|
|
4
|
+
//
|
|
5
|
+
// Created by Huy Dang on 7/4/20.
|
|
6
|
+
// Copyright © 2020 IOTLink. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#ifndef MFCoordinate_h
|
|
10
|
+
#define MFCoordinate_h
|
|
11
|
+
|
|
12
|
+
#import <Foundation/Foundation.h>
|
|
13
|
+
#import <CoreLocation/CoreLocation.h>
|
|
14
|
+
|
|
15
|
+
@interface RMFCoordinate : NSObject
|
|
16
|
+
|
|
17
|
+
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
|
|
18
|
+
|
|
19
|
+
@end
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
#endif /* RMFCoordinate_h */
|
package/ios/RMFCoordinate.m
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RMFCoordinate.m
|
|
3
|
-
// Map4dMap
|
|
4
|
-
//
|
|
5
|
-
// Created by Huy Dang on 7/4/20.
|
|
6
|
-
// Copyright © 2020 IOTLink. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import "RMFCoordinate.h"
|
|
10
|
-
#import <Foundation/Foundation.h>
|
|
11
|
-
|
|
12
|
-
@implementation RMFCoordinate
|
|
13
|
-
@end
|
|
1
|
+
//
|
|
2
|
+
// RMFCoordinate.m
|
|
3
|
+
// Map4dMap
|
|
4
|
+
//
|
|
5
|
+
// Created by Huy Dang on 7/4/20.
|
|
6
|
+
// Copyright © 2020 IOTLink. All rights reserved.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
#import "RMFCoordinate.h"
|
|
10
|
+
#import <Foundation/Foundation.h>
|
|
11
|
+
|
|
12
|
+
@implementation RMFCoordinate
|
|
13
|
+
@end
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RMFDirectionsMarkerOptions.h
|
|
3
|
-
// Map4dMap React Native
|
|
4
|
-
//
|
|
5
|
-
// Created by Huy Dang on 11/16/21.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#ifndef RMFDirectionsMarkerOptions_h
|
|
9
|
-
#define RMFDirectionsMarkerOptions_h
|
|
10
|
-
|
|
11
|
-
#import "RMFIcon.h"
|
|
12
|
-
#import <CoreLocation/CoreLocation.h>
|
|
13
|
-
|
|
14
|
-
@interface RMFDirectionsMarkerOptions : NSObject
|
|
15
|
-
|
|
16
|
-
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
|
|
17
|
-
@property (nonatomic, strong, nullable) RMFIcon* icon;
|
|
18
|
-
@property (nonatomic, strong, nullable) NSString* title;
|
|
19
|
-
@property (nonatomic, strong, nullable) UIColor* titleColor;
|
|
20
|
-
@property (nonatomic, assign) BOOL visible;
|
|
21
|
-
|
|
22
|
-
@end
|
|
23
|
-
|
|
24
|
-
#endif /* RMFDirectionsMarkerOptions_h */
|
|
1
|
+
//
|
|
2
|
+
// RMFDirectionsMarkerOptions.h
|
|
3
|
+
// Map4dMap React Native
|
|
4
|
+
//
|
|
5
|
+
// Created by Huy Dang on 11/16/21.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#ifndef RMFDirectionsMarkerOptions_h
|
|
9
|
+
#define RMFDirectionsMarkerOptions_h
|
|
10
|
+
|
|
11
|
+
#import "RMFIcon.h"
|
|
12
|
+
#import <CoreLocation/CoreLocation.h>
|
|
13
|
+
|
|
14
|
+
@interface RMFDirectionsMarkerOptions : NSObject
|
|
15
|
+
|
|
16
|
+
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
|
|
17
|
+
@property (nonatomic, strong, nullable) RMFIcon* icon;
|
|
18
|
+
@property (nonatomic, strong, nullable) NSString* title;
|
|
19
|
+
@property (nonatomic, strong, nullable) UIColor* titleColor;
|
|
20
|
+
@property (nonatomic, assign) BOOL visible;
|
|
21
|
+
|
|
22
|
+
@end
|
|
23
|
+
|
|
24
|
+
#endif /* RMFDirectionsMarkerOptions_h */
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RMFDirectionsMarkerOptions.m
|
|
3
|
-
// Map4dMap React Native
|
|
4
|
-
//
|
|
5
|
-
// Created by Huy Dang on 11/16/21.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#import "RMFDirectionsMarkerOptions.h"
|
|
9
|
-
|
|
10
|
-
@implementation RMFDirectionsMarkerOptions
|
|
11
|
-
|
|
12
|
-
- (instancetype)init {
|
|
13
|
-
if (self = [super init]) {
|
|
14
|
-
_coordinate = kCLLocationCoordinate2DInvalid;
|
|
15
|
-
_icon = nil;
|
|
16
|
-
_title = nil;
|
|
17
|
-
_titleColor = nil;
|
|
18
|
-
_visible = YES;
|
|
19
|
-
}
|
|
20
|
-
return self;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@end
|
|
1
|
+
//
|
|
2
|
+
// RMFDirectionsMarkerOptions.m
|
|
3
|
+
// Map4dMap React Native
|
|
4
|
+
//
|
|
5
|
+
// Created by Huy Dang on 11/16/21.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import "RMFDirectionsMarkerOptions.h"
|
|
9
|
+
|
|
10
|
+
@implementation RMFDirectionsMarkerOptions
|
|
11
|
+
|
|
12
|
+
- (instancetype)init {
|
|
13
|
+
if (self = [super init]) {
|
|
14
|
+
_coordinate = kCLLocationCoordinate2DInvalid;
|
|
15
|
+
_icon = nil;
|
|
16
|
+
_title = nil;
|
|
17
|
+
_titleColor = nil;
|
|
18
|
+
_visible = YES;
|
|
19
|
+
}
|
|
20
|
+
return self;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@end
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
//
|
|
2
|
-
// RMFDirectionsRenderer.h
|
|
3
|
-
// Map4dMap React Native
|
|
4
|
-
//
|
|
5
|
-
// Created by Huy Dang on 11/15/21.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
#ifndef RMFDirectionsRenderer_h
|
|
9
|
-
#define RMFDirectionsRenderer_h
|
|
10
|
-
|
|
11
|
-
#import <React/UIView+React.h>
|
|
12
|
-
#import <Map4dMap/Map4dMap.h>
|
|
13
|
-
#import "RMFDirectionsRendererMap4d.h"
|
|
14
|
-
#import "RMFCoordinate.h"
|
|
15
|
-
#import "RMFDirectionsMarkerOptions.h"
|
|
16
|
-
|
|
17
|
-
@class RMFMapView;
|
|
18
|
-
|
|
19
|
-
@interface RMFDirectionsRenderer : UIView
|
|
20
|
-
|
|
21
|
-
@property (nonatomic, strong, nonnull) RMFDirectionsRendererMap4d* map4dDirectionsRenderer;
|
|
22
|
-
|
|
23
|
-
@property (nonatomic, copy) RCTBubblingEventBlock _Nullable onPress;
|
|
24
|
-
|
|
25
|
-
@property (nonatomic, strong, nullable) NSArray<NSArray<RMFCoordinate*>*>* routes;
|
|
26
|
-
@property (nonatomic, strong, nullable) NSString* directions;
|
|
27
|
-
@property (nonatomic, assign) NSUInteger activedIndex;
|
|
28
|
-
|
|
29
|
-
@property(nonatomic, assign) CGFloat activeStrokeWidth;
|
|
30
|
-
@property(nonatomic, strong, nullable) UIColor* activeStrokeColor;
|
|
31
|
-
@property(nonatomic, assign) CGFloat activeOutlineWidth;
|
|
32
|
-
@property(nonatomic, strong, nullable) UIColor* activeOutlineColor;
|
|
33
|
-
|
|
34
|
-
@property(nonatomic, assign) CGFloat inactiveStrokeWidth;
|
|
35
|
-
@property(nonatomic, strong, nullable) UIColor* inactiveStrokeColor;
|
|
36
|
-
@property(nonatomic, assign) CGFloat inactiveOutlineWidth;
|
|
37
|
-
@property(nonatomic, strong, nullable) UIColor* inactiveOutlineColor;
|
|
38
|
-
|
|
39
|
-
@property(nonatomic, strong, nullable) RMFDirectionsMarkerOptions* originPOIOptions;
|
|
40
|
-
@property(nonatomic, strong, nullable) RMFDirectionsMarkerOptions* destinationPOIOptions;
|
|
41
|
-
|
|
42
|
-
- (void)setMapView:(RMFMapView* _Nullable)mapView;
|
|
43
|
-
- (void)didTapAtPixel:(CGPoint)pixel withRouteIndex:(NSInteger)routeIndex;
|
|
44
|
-
|
|
45
|
-
@end
|
|
46
|
-
|
|
47
|
-
#endif /* RMFDirectionsRenderer_h */
|
|
1
|
+
//
|
|
2
|
+
// RMFDirectionsRenderer.h
|
|
3
|
+
// Map4dMap React Native
|
|
4
|
+
//
|
|
5
|
+
// Created by Huy Dang on 11/15/21.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#ifndef RMFDirectionsRenderer_h
|
|
9
|
+
#define RMFDirectionsRenderer_h
|
|
10
|
+
|
|
11
|
+
#import <React/UIView+React.h>
|
|
12
|
+
#import <Map4dMap/Map4dMap.h>
|
|
13
|
+
#import "RMFDirectionsRendererMap4d.h"
|
|
14
|
+
#import "RMFCoordinate.h"
|
|
15
|
+
#import "RMFDirectionsMarkerOptions.h"
|
|
16
|
+
|
|
17
|
+
@class RMFMapView;
|
|
18
|
+
|
|
19
|
+
@interface RMFDirectionsRenderer : UIView
|
|
20
|
+
|
|
21
|
+
@property (nonatomic, strong, nonnull) RMFDirectionsRendererMap4d* map4dDirectionsRenderer;
|
|
22
|
+
|
|
23
|
+
@property (nonatomic, copy) RCTBubblingEventBlock _Nullable onPress;
|
|
24
|
+
|
|
25
|
+
@property (nonatomic, strong, nullable) NSArray<NSArray<RMFCoordinate*>*>* routes;
|
|
26
|
+
@property (nonatomic, strong, nullable) NSString* directions;
|
|
27
|
+
@property (nonatomic, assign) NSUInteger activedIndex;
|
|
28
|
+
|
|
29
|
+
@property(nonatomic, assign) CGFloat activeStrokeWidth;
|
|
30
|
+
@property(nonatomic, strong, nullable) UIColor* activeStrokeColor;
|
|
31
|
+
@property(nonatomic, assign) CGFloat activeOutlineWidth;
|
|
32
|
+
@property(nonatomic, strong, nullable) UIColor* activeOutlineColor;
|
|
33
|
+
|
|
34
|
+
@property(nonatomic, assign) CGFloat inactiveStrokeWidth;
|
|
35
|
+
@property(nonatomic, strong, nullable) UIColor* inactiveStrokeColor;
|
|
36
|
+
@property(nonatomic, assign) CGFloat inactiveOutlineWidth;
|
|
37
|
+
@property(nonatomic, strong, nullable) UIColor* inactiveOutlineColor;
|
|
38
|
+
|
|
39
|
+
@property(nonatomic, strong, nullable) RMFDirectionsMarkerOptions* originPOIOptions;
|
|
40
|
+
@property(nonatomic, strong, nullable) RMFDirectionsMarkerOptions* destinationPOIOptions;
|
|
41
|
+
|
|
42
|
+
- (void)setMapView:(RMFMapView* _Nullable)mapView;
|
|
43
|
+
- (void)didTapAtPixel:(CGPoint)pixel withRouteIndex:(NSInteger)routeIndex;
|
|
44
|
+
|
|
45
|
+
@end
|
|
46
|
+
|
|
47
|
+
#endif /* RMFDirectionsRenderer_h */
|