react-native-maps 1.21.0-alpha.91 → 1.21.0-alpha.93
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/ios/AirGoogleMaps/RNMapsGoogleMapView.mm +4 -1
- package/ios/AirGoogleMaps/RNMapsGooglePolygonView.mm +4 -2
- package/ios/AirMaps/RNMapsAirModule.h +1 -1
- package/ios/AirMaps/RNMapsMapView.mm +4 -1
- package/ios/AirMaps/RNMapsMarkerView.mm +4 -1
- package/package.json +3 -4
- package/android/generated/RCTAppDependencyProvider.h +0 -25
- package/android/generated/RCTAppDependencyProvider.mm +0 -55
- package/android/generated/RCTModulesConformingToProtocolsProvider.h +0 -18
- package/android/generated/RCTModulesConformingToProtocolsProvider.mm +0 -33
- package/android/generated/RCTThirdPartyComponentsProvider.h +0 -16
- package/android/generated/RCTThirdPartyComponentsProvider.mm +0 -26
- package/android/generated/ReactAppDependencyProvider.podspec +0 -34
- package/android/generated/java/com/facebook/fbreact/specs/NativeAirMapsModuleSpec.java +0 -63
- package/android/generated/java/com/facebook/react/viewmanagers/RNMapsCalloutManagerDelegate.java +0 -35
- package/android/generated/java/com/facebook/react/viewmanagers/RNMapsCalloutManagerInterface.java +0 -18
- package/android/generated/java/com/facebook/react/viewmanagers/RNMapsCircleManagerDelegate.java +0 -49
- package/android/generated/java/com/facebook/react/viewmanagers/RNMapsCircleManagerInterface.java +0 -24
- package/android/generated/java/com/facebook/react/viewmanagers/RNMapsGooglePolygonManagerDelegate.java +0 -49
- package/android/generated/java/com/facebook/react/viewmanagers/RNMapsGooglePolygonManagerInterface.java +0 -24
- package/android/generated/java/com/facebook/react/viewmanagers/RNMapsMapViewManagerDelegate.java +0 -206
- package/android/generated/java/com/facebook/react/viewmanagers/RNMapsMapViewManagerInterface.java +0 -74
- package/android/generated/java/com/facebook/react/viewmanagers/RNMapsMarkerManagerDelegate.java +0 -104
- package/android/generated/java/com/facebook/react/viewmanagers/RNMapsMarkerManagerInterface.java +0 -40
- package/android/generated/java/com/facebook/react/viewmanagers/RNMapsOverlayManagerDelegate.java +0 -46
- package/android/generated/java/com/facebook/react/viewmanagers/RNMapsOverlayManagerInterface.java +0 -24
- package/android/generated/java/com/facebook/react/viewmanagers/RNMapsPolylineManagerDelegate.java +0 -58
- package/android/generated/java/com/facebook/react/viewmanagers/RNMapsPolylineManagerInterface.java +0 -27
- package/android/generated/jni/CMakeLists.txt +0 -36
- package/android/generated/jni/RNMapsSpecs-generated.cpp +0 -68
- package/android/generated/jni/RNMapsSpecs.h +0 -31
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/ComponentDescriptors.cpp +0 -29
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/ComponentDescriptors.h +0 -31
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/EventEmitters.cpp +0 -984
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/EventEmitters.h +0 -853
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/Props.cpp +0 -193
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/Props.h +0 -1223
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/RNMapsSpecsJSI-generated.cpp +0 -74
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/RNMapsSpecsJSI.h +0 -268
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/ShadowNodes.cpp +0 -24
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/ShadowNodes.h +0 -109
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/States.cpp +0 -16
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/States.h +0 -113
- package/ios/generated/RCTAppDependencyProvider.h +0 -25
- package/ios/generated/RCTAppDependencyProvider.mm +0 -55
- package/ios/generated/RCTModulesConformingToProtocolsProvider.h +0 -18
- package/ios/generated/RCTModulesConformingToProtocolsProvider.mm +0 -33
- package/ios/generated/RCTThirdPartyComponentsProvider.h +0 -16
- package/ios/generated/RCTThirdPartyComponentsProvider.mm +0 -26
- package/ios/generated/RNMapsSpecs/ComponentDescriptors.cpp +0 -29
- package/ios/generated/RNMapsSpecs/ComponentDescriptors.h +0 -31
- package/ios/generated/RNMapsSpecs/EventEmitters.cpp +0 -984
- package/ios/generated/RNMapsSpecs/EventEmitters.h +0 -853
- package/ios/generated/RNMapsSpecs/Props.cpp +0 -193
- package/ios/generated/RNMapsSpecs/Props.h +0 -1223
- package/ios/generated/RNMapsSpecs/RCTComponentViewHelpers.h +0 -603
- package/ios/generated/RNMapsSpecs/RNMapsSpecs-generated.mm +0 -92
- package/ios/generated/RNMapsSpecs/RNMapsSpecs.h +0 -137
- package/ios/generated/RNMapsSpecs/ShadowNodes.cpp +0 -24
- package/ios/generated/RNMapsSpecs/ShadowNodes.h +0 -109
- package/ios/generated/RNMapsSpecs/States.cpp +0 -16
- package/ios/generated/RNMapsSpecs/States.h +0 -113
- package/ios/generated/RNMapsSpecsJSI-generated.cpp +0 -74
- package/ios/generated/RNMapsSpecsJSI.h +0 -268
- package/ios/generated/ReactAppDependencyProvider.podspec +0 -34
- package/ios/generated/module.modulemap +0 -4
- package/ios/generated/react-native-maps-generated-umbrella.h +0 -14
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
#import "AIRGoogleMap.h"
|
|
13
13
|
#import "AIRMapMarker.h"
|
|
14
14
|
#import "AIRGoogleMapManager.h"
|
|
15
|
-
#import
|
|
15
|
+
#import <react/renderer/components/RNMapsSpecs/ComponentDescriptors.h>
|
|
16
|
+
#import <react/renderer/components/RNMapsSpecs/EventEmitters.h>
|
|
17
|
+
#import <react/renderer/components/RNMapsSpecs/Props.h>
|
|
18
|
+
#import <react/renderer/components/RNMapsSpecs/RCTComponentViewHelpers.h>
|
|
16
19
|
#import "RCTFabricComponentsPlugins.h"
|
|
17
20
|
#import <React/RCTConversions.h>
|
|
18
21
|
#import "RCTConvert+GMSMapViewType.h"
|
|
@@ -11,8 +11,10 @@
|
|
|
11
11
|
#import "AIRGMSPolygon.h"
|
|
12
12
|
#import "AIRGoogleMap.h"
|
|
13
13
|
|
|
14
|
-
#import
|
|
15
|
-
|
|
14
|
+
#import <react/renderer/components/RNMapsSpecs/ComponentDescriptors.h>
|
|
15
|
+
#import <react/renderer/components/RNMapsSpecs/EventEmitters.h>
|
|
16
|
+
#import <react/renderer/components/RNMapsSpecs/Props.h>
|
|
17
|
+
#import <react/renderer/components/RNMapsSpecs/RCTComponentViewHelpers.h>
|
|
16
18
|
|
|
17
19
|
#import "RCTFabricComponentsPlugins.h"
|
|
18
20
|
#import <React/RCTConversions.h>
|
|
@@ -11,7 +11,10 @@
|
|
|
11
11
|
#import "AIRMapMarker.h"
|
|
12
12
|
#import "AIRMapManager.h"
|
|
13
13
|
#import "RNMapsMarkerView.h"
|
|
14
|
-
#import
|
|
14
|
+
#import <react/renderer/components/RNMapsSpecs/ComponentDescriptors.h>
|
|
15
|
+
#import <react/renderer/components/RNMapsSpecs/EventEmitters.h>
|
|
16
|
+
#import <react/renderer/components/RNMapsSpecs/Props.h>
|
|
17
|
+
#import <react/renderer/components/RNMapsSpecs/RCTComponentViewHelpers.h>
|
|
15
18
|
#import "RCTFabricComponentsPlugins.h"
|
|
16
19
|
#import <React/RCTConversions.h>
|
|
17
20
|
#import "UIView+AirMap.h"
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
#import "AIRMap.h"
|
|
11
11
|
#import "AIRMapMarker.h"
|
|
12
12
|
#import "AIRMapMarkerManager.h"
|
|
13
|
-
#import
|
|
13
|
+
#import <react/renderer/components/RNMapsSpecs/ComponentDescriptors.h>
|
|
14
|
+
#import <react/renderer/components/RNMapsSpecs/EventEmitters.h>
|
|
15
|
+
#import <react/renderer/components/RNMapsSpecs/Props.h>
|
|
16
|
+
#import <react/renderer/components/RNMapsSpecs/RCTComponentViewHelpers.h>
|
|
14
17
|
#import "RCTFabricComponentsPlugins.h"
|
|
15
18
|
#import <React/RCTConversions.h>
|
|
16
19
|
#import "UIView+AirMap.h"
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"author": "Leland Richardson <leland.m.richardson@gmail.com>",
|
|
7
7
|
"homepage": "https://github.com/react-native-maps/react-native-maps#readme",
|
|
8
|
-
"version": "1.21.0-alpha.
|
|
8
|
+
"version": "1.21.0-alpha.93",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint . --max-warnings 0",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"bundle-install": "cd example && bundle install",
|
|
19
19
|
"pod-install": "cd example/ios && bundle exec pod install",
|
|
20
20
|
"bootstrap": "yarn --cwd example && yarn && yarn bundle-install && yarn pod-install",
|
|
21
|
-
"
|
|
21
|
+
"prepack": "node updateCodegenConfig.js"
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"lib",
|
|
@@ -94,12 +94,11 @@
|
|
|
94
94
|
"codegenConfig": {
|
|
95
95
|
"name": "RNMapsSpecs",
|
|
96
96
|
"type": "all",
|
|
97
|
-
"jsSrcsDir": "./
|
|
97
|
+
"jsSrcsDir": "./lib/specs",
|
|
98
98
|
"outputDir": {
|
|
99
99
|
"ios": "ios/generated",
|
|
100
100
|
"android": "android/generated"
|
|
101
101
|
},
|
|
102
|
-
"includesGeneratedCode": true,
|
|
103
102
|
"android": {
|
|
104
103
|
"javaPackageName": "com.rnmaps.fabric"
|
|
105
104
|
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
#if __has_include(<React-RCTAppDelegate/RCTDependencyProvider.h>)
|
|
12
|
-
#import <React-RCTAppDelegate/RCTDependencyProvider.h>
|
|
13
|
-
#elif __has_include(<React_RCTAppDelegate/RCTDependencyProvider.h>)
|
|
14
|
-
#import <React_RCTAppDelegate/RCTDependencyProvider.h>
|
|
15
|
-
#else
|
|
16
|
-
#import "RCTDependencyProvider.h"
|
|
17
|
-
#endif
|
|
18
|
-
|
|
19
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
20
|
-
|
|
21
|
-
@interface RCTAppDependencyProvider : NSObject <RCTDependencyProvider>
|
|
22
|
-
|
|
23
|
-
@end
|
|
24
|
-
|
|
25
|
-
NS_ASSUME_NONNULL_END
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
#import "RCTAppDependencyProvider.h"
|
|
9
|
-
#import <ReactCodegen/RCTModulesConformingToProtocolsProvider.h>
|
|
10
|
-
#import <ReactCodegen/RCTThirdPartyComponentsProvider.h>
|
|
11
|
-
|
|
12
|
-
@implementation RCTAppDependencyProvider {
|
|
13
|
-
NSArray<NSString *> * _URLRequestHandlerClassNames;
|
|
14
|
-
NSArray<NSString *> * _imageDataDecoderClassNames;
|
|
15
|
-
NSArray<NSString *> * _imageURLLoaderClassNames;
|
|
16
|
-
NSDictionary<NSString *,Class<RCTComponentViewProtocol>> * _thirdPartyFabricComponents;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
- (nonnull NSArray<NSString *> *)URLRequestHandlerClassNames {
|
|
20
|
-
static dispatch_once_t requestUrlToken;
|
|
21
|
-
dispatch_once(&requestUrlToken, ^{
|
|
22
|
-
self->_URLRequestHandlerClassNames = RCTModulesConformingToProtocolsProvider.URLRequestHandlerClassNames;
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
return _URLRequestHandlerClassNames;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
- (nonnull NSArray<NSString *> *)imageDataDecoderClassNames {
|
|
29
|
-
static dispatch_once_t dataDecoderToken;
|
|
30
|
-
dispatch_once(&dataDecoderToken, ^{
|
|
31
|
-
_imageDataDecoderClassNames = RCTModulesConformingToProtocolsProvider.imageDataDecoderClassNames;
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
return _imageDataDecoderClassNames;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
- (nonnull NSArray<NSString *> *)imageURLLoaderClassNames {
|
|
38
|
-
static dispatch_once_t urlLoaderToken;
|
|
39
|
-
dispatch_once(&urlLoaderToken, ^{
|
|
40
|
-
_imageURLLoaderClassNames = RCTModulesConformingToProtocolsProvider.imageURLLoaderClassNames;
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
return _imageURLLoaderClassNames;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
- (nonnull NSDictionary<NSString *,Class<RCTComponentViewProtocol>> *)thirdPartyFabricComponents {
|
|
47
|
-
static dispatch_once_t nativeComponentsToken;
|
|
48
|
-
dispatch_once(&nativeComponentsToken, ^{
|
|
49
|
-
_thirdPartyFabricComponents = RCTThirdPartyComponentsProvider.thirdPartyFabricComponents;
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
return _thirdPartyFabricComponents;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@end
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
|
|
10
|
-
@interface RCTModulesConformingToProtocolsProvider: NSObject
|
|
11
|
-
|
|
12
|
-
+(NSArray<NSString *> *)imageURLLoaderClassNames;
|
|
13
|
-
|
|
14
|
-
+(NSArray<NSString *> *)imageDataDecoderClassNames;
|
|
15
|
-
|
|
16
|
-
+(NSArray<NSString *> *)URLRequestHandlerClassNames;
|
|
17
|
-
|
|
18
|
-
@end
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
#import "RCTModulesConformingToProtocolsProvider.h"
|
|
9
|
-
|
|
10
|
-
@implementation RCTModulesConformingToProtocolsProvider
|
|
11
|
-
|
|
12
|
-
+(NSArray<NSString *> *)imageURLLoaderClassNames
|
|
13
|
-
{
|
|
14
|
-
return @[
|
|
15
|
-
|
|
16
|
-
];
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
+(NSArray<NSString *> *)imageDataDecoderClassNames
|
|
20
|
-
{
|
|
21
|
-
return @[
|
|
22
|
-
|
|
23
|
-
];
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
+(NSArray<NSString *> *)URLRequestHandlerClassNames
|
|
27
|
-
{
|
|
28
|
-
return @[
|
|
29
|
-
|
|
30
|
-
];
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@end
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
#import <Foundation/Foundation.h>
|
|
9
|
-
|
|
10
|
-
@protocol RCTComponentViewProtocol;
|
|
11
|
-
|
|
12
|
-
@interface RCTThirdPartyComponentsProvider: NSObject
|
|
13
|
-
|
|
14
|
-
+ (NSDictionary<NSString *, Class<RCTComponentViewProtocol>> *)thirdPartyFabricComponents;
|
|
15
|
-
|
|
16
|
-
@end
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
#import "RCTThirdPartyComponentsProvider.h"
|
|
12
|
-
#import <React/RCTComponentViewProtocol.h>
|
|
13
|
-
|
|
14
|
-
@implementation RCTThirdPartyComponentsProvider
|
|
15
|
-
|
|
16
|
-
+ (NSDictionary<NSString *, Class<RCTComponentViewProtocol>> *)thirdPartyFabricComponents
|
|
17
|
-
{
|
|
18
|
-
return @{
|
|
19
|
-
@"RNMapsGoogleMapView": NSClassFromString(@"RNMapsGoogleMapView"), // react-native-maps
|
|
20
|
-
@"RNMapsGooglePolygon": NSClassFromString(@"RNMapsGooglePolygonView"), // react-native-maps
|
|
21
|
-
@"RNMapsMapView": NSClassFromString(@"RNMapsMapView"), // react-native-maps
|
|
22
|
-
@"RNMapsMarker": NSClassFromString(@"RNMapsMarkerView"), // react-native-maps
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@end
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2
|
-
#
|
|
3
|
-
# This source code is licensed under the MIT license found in the
|
|
4
|
-
# LICENSE file in the root directory of this source tree.
|
|
5
|
-
|
|
6
|
-
version = "0.78.0"
|
|
7
|
-
source = { :git => 'https://github.com/facebook/react-native.git' }
|
|
8
|
-
if version == '1000.0.0'
|
|
9
|
-
# This is an unpublished version, use the latest commit hash of the react-native repo, which we’re presumably in.
|
|
10
|
-
source[:commit] = `git rev-parse HEAD`.strip if system("git rev-parse --git-dir > /dev/null 2>&1")
|
|
11
|
-
else
|
|
12
|
-
source[:tag] = "v#{version}"
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
Pod::Spec.new do |s|
|
|
16
|
-
s.name = "ReactAppDependencyProvider"
|
|
17
|
-
s.version = version
|
|
18
|
-
s.summary = "The third party dependency provider for the app"
|
|
19
|
-
s.homepage = "https://reactnative.dev/"
|
|
20
|
-
s.documentation_url = "https://reactnative.dev/"
|
|
21
|
-
s.license = "MIT"
|
|
22
|
-
s.author = "Meta Platforms, Inc. and its affiliates"
|
|
23
|
-
s.platforms = min_supported_versions
|
|
24
|
-
s.source = source
|
|
25
|
-
s.source_files = "**/RCTAppDependencyProvider.{h,mm}"
|
|
26
|
-
|
|
27
|
-
# This guard prevent to install the dependencies when we run `pod install` in the old architecture.
|
|
28
|
-
s.pod_target_xcconfig = {
|
|
29
|
-
"CLANG_CXX_LANGUAGE_STANDARD" => rct_cxx_language_standard(),
|
|
30
|
-
"DEFINES_MODULE" => "YES"
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
s.dependency "ReactCodegen"
|
|
34
|
-
end
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
4
|
-
*
|
|
5
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
6
|
-
* once the code is regenerated.
|
|
7
|
-
*
|
|
8
|
-
* @generated by codegen project: GenerateModuleJavaSpec.js
|
|
9
|
-
*
|
|
10
|
-
* @nolint
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
package com.facebook.fbreact.specs;
|
|
14
|
-
|
|
15
|
-
import com.facebook.proguard.annotations.DoNotStrip;
|
|
16
|
-
import com.facebook.react.bridge.Promise;
|
|
17
|
-
import com.facebook.react.bridge.ReactApplicationContext;
|
|
18
|
-
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
19
|
-
import com.facebook.react.bridge.ReactMethod;
|
|
20
|
-
import com.facebook.react.bridge.ReadableMap;
|
|
21
|
-
import com.facebook.react.turbomodule.core.interfaces.TurboModule;
|
|
22
|
-
import javax.annotation.Nonnull;
|
|
23
|
-
|
|
24
|
-
public abstract class NativeAirMapsModuleSpec extends ReactContextBaseJavaModule implements TurboModule {
|
|
25
|
-
public static final String NAME = "RNMapsAirModule";
|
|
26
|
-
|
|
27
|
-
public NativeAirMapsModuleSpec(ReactApplicationContext reactContext) {
|
|
28
|
-
super(reactContext);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@Override
|
|
32
|
-
public @Nonnull String getName() {
|
|
33
|
-
return NAME;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@ReactMethod
|
|
37
|
-
@DoNotStrip
|
|
38
|
-
public abstract void getCamera(double tag, Promise promise);
|
|
39
|
-
|
|
40
|
-
@ReactMethod
|
|
41
|
-
@DoNotStrip
|
|
42
|
-
public abstract void getMarkersFrames(double tag, boolean onlyVisible, Promise promise);
|
|
43
|
-
|
|
44
|
-
@ReactMethod
|
|
45
|
-
@DoNotStrip
|
|
46
|
-
public abstract void getMapBoundaries(double tag, Promise promise);
|
|
47
|
-
|
|
48
|
-
@ReactMethod
|
|
49
|
-
@DoNotStrip
|
|
50
|
-
public abstract void takeSnapshot(double tag, String config, Promise promise);
|
|
51
|
-
|
|
52
|
-
@ReactMethod
|
|
53
|
-
@DoNotStrip
|
|
54
|
-
public abstract void getAddressFromCoordinates(double tag, ReadableMap coordinate, Promise promise);
|
|
55
|
-
|
|
56
|
-
@ReactMethod
|
|
57
|
-
@DoNotStrip
|
|
58
|
-
public abstract void getPointForCoordinate(double tag, ReadableMap coordinate, Promise promise);
|
|
59
|
-
|
|
60
|
-
@ReactMethod
|
|
61
|
-
@DoNotStrip
|
|
62
|
-
public abstract void getCoordinateForPoint(double tag, ReadableMap point, Promise promise);
|
|
63
|
-
}
|
package/android/generated/java/com/facebook/react/viewmanagers/RNMapsCalloutManagerDelegate.java
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
3
|
-
*
|
|
4
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
5
|
-
* once the code is regenerated.
|
|
6
|
-
*
|
|
7
|
-
* @generated by codegen project: GeneratePropsJavaDelegate.js
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
package com.facebook.react.viewmanagers;
|
|
11
|
-
|
|
12
|
-
import android.view.View;
|
|
13
|
-
import androidx.annotation.Nullable;
|
|
14
|
-
import com.facebook.react.uimanager.BaseViewManager;
|
|
15
|
-
import com.facebook.react.uimanager.BaseViewManagerDelegate;
|
|
16
|
-
import com.facebook.react.uimanager.LayoutShadowNode;
|
|
17
|
-
|
|
18
|
-
public class RNMapsCalloutManagerDelegate<T extends View, U extends BaseViewManager<T, ? extends LayoutShadowNode> & RNMapsCalloutManagerInterface<T>> extends BaseViewManagerDelegate<T, U> {
|
|
19
|
-
public RNMapsCalloutManagerDelegate(U viewManager) {
|
|
20
|
-
super(viewManager);
|
|
21
|
-
}
|
|
22
|
-
@Override
|
|
23
|
-
public void setProperty(T view, String propName, @Nullable Object value) {
|
|
24
|
-
switch (propName) {
|
|
25
|
-
case "alphaHitTest":
|
|
26
|
-
mViewManager.setAlphaHitTest(view, value == null ? false : (boolean) value);
|
|
27
|
-
break;
|
|
28
|
-
case "tooltip":
|
|
29
|
-
mViewManager.setTooltip(view, value == null ? false : (boolean) value);
|
|
30
|
-
break;
|
|
31
|
-
default:
|
|
32
|
-
super.setProperty(view, propName, value);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
package/android/generated/java/com/facebook/react/viewmanagers/RNMapsCalloutManagerInterface.java
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
3
|
-
*
|
|
4
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
5
|
-
* once the code is regenerated.
|
|
6
|
-
*
|
|
7
|
-
* @generated by codegen project: GeneratePropsJavaInterface.js
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
package com.facebook.react.viewmanagers;
|
|
11
|
-
|
|
12
|
-
import android.view.View;
|
|
13
|
-
import com.facebook.react.uimanager.ViewManagerWithGeneratedInterface;
|
|
14
|
-
|
|
15
|
-
public interface RNMapsCalloutManagerInterface<T extends View> extends ViewManagerWithGeneratedInterface {
|
|
16
|
-
void setAlphaHitTest(T view, boolean value);
|
|
17
|
-
void setTooltip(T view, boolean value);
|
|
18
|
-
}
|
package/android/generated/java/com/facebook/react/viewmanagers/RNMapsCircleManagerDelegate.java
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
3
|
-
*
|
|
4
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
5
|
-
* once the code is regenerated.
|
|
6
|
-
*
|
|
7
|
-
* @generated by codegen project: GeneratePropsJavaDelegate.js
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
package com.facebook.react.viewmanagers;
|
|
11
|
-
|
|
12
|
-
import android.view.View;
|
|
13
|
-
import androidx.annotation.Nullable;
|
|
14
|
-
import com.facebook.react.bridge.ColorPropConverter;
|
|
15
|
-
import com.facebook.react.bridge.ReadableMap;
|
|
16
|
-
import com.facebook.react.uimanager.BaseViewManager;
|
|
17
|
-
import com.facebook.react.uimanager.BaseViewManagerDelegate;
|
|
18
|
-
import com.facebook.react.uimanager.LayoutShadowNode;
|
|
19
|
-
|
|
20
|
-
public class RNMapsCircleManagerDelegate<T extends View, U extends BaseViewManager<T, ? extends LayoutShadowNode> & RNMapsCircleManagerInterface<T>> extends BaseViewManagerDelegate<T, U> {
|
|
21
|
-
public RNMapsCircleManagerDelegate(U viewManager) {
|
|
22
|
-
super(viewManager);
|
|
23
|
-
}
|
|
24
|
-
@Override
|
|
25
|
-
public void setProperty(T view, String propName, @Nullable Object value) {
|
|
26
|
-
switch (propName) {
|
|
27
|
-
case "center":
|
|
28
|
-
mViewManager.setCenter(view, (ReadableMap) value);
|
|
29
|
-
break;
|
|
30
|
-
case "fillColor":
|
|
31
|
-
mViewManager.setFillColor(view, ColorPropConverter.getColor(value, view.getContext()));
|
|
32
|
-
break;
|
|
33
|
-
case "radius":
|
|
34
|
-
mViewManager.setRadius(view, value == null ? Double.NaN : ((Double) value).doubleValue());
|
|
35
|
-
break;
|
|
36
|
-
case "strokeColor":
|
|
37
|
-
mViewManager.setStrokeColor(view, ColorPropConverter.getColor(value, view.getContext()));
|
|
38
|
-
break;
|
|
39
|
-
case "strokeWidth":
|
|
40
|
-
mViewManager.setStrokeWidth(view, value == null ? 0f : ((Double) value).floatValue());
|
|
41
|
-
break;
|
|
42
|
-
case "tappable":
|
|
43
|
-
mViewManager.setTappable(view, value == null ? false : (boolean) value);
|
|
44
|
-
break;
|
|
45
|
-
default:
|
|
46
|
-
super.setProperty(view, propName, value);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
package/android/generated/java/com/facebook/react/viewmanagers/RNMapsCircleManagerInterface.java
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
3
|
-
*
|
|
4
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
5
|
-
* once the code is regenerated.
|
|
6
|
-
*
|
|
7
|
-
* @generated by codegen project: GeneratePropsJavaInterface.js
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
package com.facebook.react.viewmanagers;
|
|
11
|
-
|
|
12
|
-
import android.view.View;
|
|
13
|
-
import androidx.annotation.Nullable;
|
|
14
|
-
import com.facebook.react.bridge.ReadableMap;
|
|
15
|
-
import com.facebook.react.uimanager.ViewManagerWithGeneratedInterface;
|
|
16
|
-
|
|
17
|
-
public interface RNMapsCircleManagerInterface<T extends View> extends ViewManagerWithGeneratedInterface {
|
|
18
|
-
void setCenter(T view, @Nullable ReadableMap value);
|
|
19
|
-
void setFillColor(T view, @Nullable Integer value);
|
|
20
|
-
void setRadius(T view, double value);
|
|
21
|
-
void setStrokeColor(T view, @Nullable Integer value);
|
|
22
|
-
void setStrokeWidth(T view, float value);
|
|
23
|
-
void setTappable(T view, boolean value);
|
|
24
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
3
|
-
*
|
|
4
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
5
|
-
* once the code is regenerated.
|
|
6
|
-
*
|
|
7
|
-
* @generated by codegen project: GeneratePropsJavaDelegate.js
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
package com.facebook.react.viewmanagers;
|
|
11
|
-
|
|
12
|
-
import android.view.View;
|
|
13
|
-
import androidx.annotation.Nullable;
|
|
14
|
-
import com.facebook.react.bridge.ColorPropConverter;
|
|
15
|
-
import com.facebook.react.bridge.ReadableArray;
|
|
16
|
-
import com.facebook.react.uimanager.BaseViewManager;
|
|
17
|
-
import com.facebook.react.uimanager.BaseViewManagerDelegate;
|
|
18
|
-
import com.facebook.react.uimanager.LayoutShadowNode;
|
|
19
|
-
|
|
20
|
-
public class RNMapsGooglePolygonManagerDelegate<T extends View, U extends BaseViewManager<T, ? extends LayoutShadowNode> & RNMapsGooglePolygonManagerInterface<T>> extends BaseViewManagerDelegate<T, U> {
|
|
21
|
-
public RNMapsGooglePolygonManagerDelegate(U viewManager) {
|
|
22
|
-
super(viewManager);
|
|
23
|
-
}
|
|
24
|
-
@Override
|
|
25
|
-
public void setProperty(T view, String propName, @Nullable Object value) {
|
|
26
|
-
switch (propName) {
|
|
27
|
-
case "coordinates":
|
|
28
|
-
mViewManager.setCoordinates(view, (ReadableArray) value);
|
|
29
|
-
break;
|
|
30
|
-
case "fillColor":
|
|
31
|
-
mViewManager.setFillColor(view, ColorPropConverter.getColor(value, view.getContext()));
|
|
32
|
-
break;
|
|
33
|
-
case "strokeColor":
|
|
34
|
-
mViewManager.setStrokeColor(view, ColorPropConverter.getColor(value, view.getContext()));
|
|
35
|
-
break;
|
|
36
|
-
case "geodesic":
|
|
37
|
-
mViewManager.setGeodesic(view, value == null ? false : (boolean) value);
|
|
38
|
-
break;
|
|
39
|
-
case "holes":
|
|
40
|
-
mViewManager.setHoles(view, (ReadableArray) value);
|
|
41
|
-
break;
|
|
42
|
-
case "tappable":
|
|
43
|
-
mViewManager.setTappable(view, value == null ? false : (boolean) value);
|
|
44
|
-
break;
|
|
45
|
-
default:
|
|
46
|
-
super.setProperty(view, propName, value);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
3
|
-
*
|
|
4
|
-
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
5
|
-
* once the code is regenerated.
|
|
6
|
-
*
|
|
7
|
-
* @generated by codegen project: GeneratePropsJavaInterface.js
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
package com.facebook.react.viewmanagers;
|
|
11
|
-
|
|
12
|
-
import android.view.View;
|
|
13
|
-
import androidx.annotation.Nullable;
|
|
14
|
-
import com.facebook.react.bridge.ReadableArray;
|
|
15
|
-
import com.facebook.react.uimanager.ViewManagerWithGeneratedInterface;
|
|
16
|
-
|
|
17
|
-
public interface RNMapsGooglePolygonManagerInterface<T extends View> extends ViewManagerWithGeneratedInterface {
|
|
18
|
-
void setCoordinates(T view, @Nullable ReadableArray value);
|
|
19
|
-
void setFillColor(T view, @Nullable Integer value);
|
|
20
|
-
void setStrokeColor(T view, @Nullable Integer value);
|
|
21
|
-
void setGeodesic(T view, boolean value);
|
|
22
|
-
void setHoles(T view, @Nullable ReadableArray value);
|
|
23
|
-
void setTappable(T view, boolean value);
|
|
24
|
-
}
|