react-native-maps 1.0.0-beta.7 → 1.0.0
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.
|
@@ -671,12 +671,11 @@ RCT_EXPORT_METHOD(getAddressFromCoordinates:(nonnull NSNumber *)reactTag
|
|
|
671
671
|
}
|
|
672
672
|
|
|
673
673
|
if (nearestDistance <= maxMeters) {
|
|
674
|
-
AIRMapCoordinate *firstCoord = nearestPolyline.coordinates.firstObject;
|
|
675
674
|
id event = @{
|
|
676
675
|
@"action": @"polyline-press",
|
|
677
676
|
@"coordinate": @{
|
|
678
|
-
@"latitude": @(
|
|
679
|
-
@"longitude": @(
|
|
677
|
+
@"latitude": @(tapCoordinate.latitude),
|
|
678
|
+
@"longitude": @(tapCoordinate.longitude)
|
|
680
679
|
}
|
|
681
680
|
};
|
|
682
681
|
nearestPolyline.onPress(event);
|
package/package.json
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
"description": "React Native Mapview component for iOS + Android",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"author": "Leland Richardson <leland.m.richardson@gmail.com>",
|
|
6
|
-
"
|
|
6
|
+
"homepage": "https://github.com/react-native-maps/react-native-maps#readme",
|
|
7
|
+
"version": "1.0.0",
|
|
7
8
|
"license": "MIT",
|
|
8
9
|
"scripts": {
|
|
9
10
|
"lint": "eslint . --max-warnings 0",
|
|
@@ -49,17 +50,17 @@
|
|
|
49
50
|
}
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
|
-
"@commitlint/cli": "17.0.
|
|
53
|
-
"@commitlint/config-conventional": "17.0.
|
|
54
|
-
"@react-native-community/eslint-config": "
|
|
55
|
-
"@types/react-native": "0.
|
|
53
|
+
"@commitlint/cli": "17.0.3",
|
|
54
|
+
"@commitlint/config-conventional": "17.0.3",
|
|
55
|
+
"@react-native-community/eslint-config": "3.0.3",
|
|
56
|
+
"@types/react-native": "0.69.2",
|
|
56
57
|
"babel-jest": "^27.3.1",
|
|
57
|
-
"eslint": "7.32.0",
|
|
58
|
+
"eslint": "^7.32.0",
|
|
58
59
|
"husky": "8.0.1",
|
|
59
60
|
"jest": "^27.3.1",
|
|
60
61
|
"prettier": "2.7.1",
|
|
61
|
-
"react": "
|
|
62
|
-
"react-native": "0.
|
|
62
|
+
"react": "18.0.0",
|
|
63
|
+
"react-native": "0.69.1",
|
|
63
64
|
"semantic-release": "19.0.3",
|
|
64
65
|
"typescript": "4.7.4"
|
|
65
66
|
},
|
|
@@ -5,18 +5,17 @@ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
|
5
5
|
Pod::Spec.new do |s|
|
|
6
6
|
s.name = "react-native-google-maps"
|
|
7
7
|
s.version = package['version']
|
|
8
|
-
s.summary = "
|
|
9
|
-
|
|
10
|
-
s.
|
|
11
|
-
s.
|
|
12
|
-
s.
|
|
13
|
-
s.platform = :ios, "12.0"
|
|
8
|
+
s.summary = package["description"]
|
|
9
|
+
s.authors = package["author"]
|
|
10
|
+
s.homepage = package["homepage"]
|
|
11
|
+
s.license = package["license"]
|
|
12
|
+
s.platform = :ios, "13.0"
|
|
14
13
|
|
|
15
14
|
s.source = { :git => "https://github.com/react-native-maps/react-native-maps.git", :tag=> "v#{s.version}" }
|
|
16
15
|
s.source_files = "ios/AirGoogleMaps/**/*.{h,m}"
|
|
17
16
|
s.compiler_flags = '-DHAVE_GOOGLE_MAPS=1', '-DHAVE_GOOGLE_MAPS_UTILS=1', '-fno-modules'
|
|
18
17
|
|
|
19
18
|
s.dependency 'React-Core'
|
|
20
|
-
s.dependency 'GoogleMaps', '
|
|
19
|
+
s.dependency 'GoogleMaps', '7.0.0'
|
|
21
20
|
s.dependency 'Google-Maps-iOS-Utils', '4.1.0'
|
|
22
21
|
end
|
|
@@ -5,11 +5,10 @@ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
|
5
5
|
Pod::Spec.new do |s|
|
|
6
6
|
s.name = "react-native-maps"
|
|
7
7
|
s.version = package['version']
|
|
8
|
-
s.summary = "
|
|
9
|
-
|
|
10
|
-
s.
|
|
11
|
-
s.
|
|
12
|
-
s.license = "MIT"
|
|
8
|
+
s.summary = package["description"]
|
|
9
|
+
s.authors = package["author"]
|
|
10
|
+
s.homepage = package["homepage"]
|
|
11
|
+
s.license = package["license"]
|
|
13
12
|
s.platform = :ios, "11.0"
|
|
14
13
|
|
|
15
14
|
s.source = { :git => "https://github.com/react-native-maps/react-native-maps.git", :tag=> "v#{s.version}" }
|