react-native-google-maps-plus 1.10.1 → 1.10.2-dev.2
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/README.md +12 -114
- package/android/src/main/java/com/rngooglemapsplus/GoogleMapsViewImpl.kt +1 -2
- package/android/src/main/java/com/rngooglemapsplus/MapLifecycleEventObserver.kt +1 -0
- package/android/src/main/java/com/rngooglemapsplus/extensions/LocationExtension.kt +35 -20
- package/ios/GoogleMapViewImpl.swift +3 -0
- package/lib/module/GoogleMapsPlus.js +10 -1
- package/lib/module/GoogleMapsPlus.js.map +1 -1
- package/lib/module/index.js +90 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/types.js +145 -39
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/src/GoogleMapsPlus.d.ts +8 -0
- package/lib/typescript/src/GoogleMapsPlus.d.ts.map +1 -1
- package/lib/typescript/src/RNGoogleMapsPlusModule.nitro.d.ts +17 -1
- package/lib/typescript/src/RNGoogleMapsPlusModule.nitro.d.ts.map +1 -1
- package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts +87 -3
- package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +89 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +340 -17
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNIndoorBuilding.hpp +12 -11
- package/nitrogen/generated/android/c++/JFunc_void_RNIndoorLevel.hpp +12 -11
- package/nitrogen/generated/android/c++/JFunc_void_RNLatLng.hpp +2 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNLocation.hpp +2 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNLocationErrorCode.hpp +2 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNMapErrorCode.hpp +2 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNRegion_RNCamera.hpp +2 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNRegion_RNCamera_bool.hpp +2 -1
- package/nitrogen/generated/android/c++/JFunc_void_bool.hpp +2 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__string.hpp +2 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__string_RNLatLng.hpp +2 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__string_std__string_RNLatLng.hpp +2 -1
- package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.cpp +32 -81
- package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.hpp +4 -4
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorBuilding.kt +9 -9
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorLevel.kt +9 -9
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/HybridRNGoogleMapsPlusViewSpec.kt +2 -2
- package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.cpp +7 -6
- package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.hpp +28 -28
- package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusViewSpecSwift.hpp +4 -4
- package/nitrogen/generated/ios/swift/Func_void_RNIndoorBuilding.swift +6 -6
- package/nitrogen/generated/ios/swift/Func_void_RNIndoorLevel.swift +6 -6
- package/nitrogen/generated/ios/swift/Func_void_RNLatLng.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNLocation.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNLocationErrorCode.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNLocationPermissionResult.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNMapErrorCode.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNRegion_RNCamera.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNRegion_RNCamera_bool.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_bool.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_std__string_.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__string.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__string_RNLatLng.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__string_std__string_RNLatLng.swift +1 -1
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusModuleSpec.swift +0 -1
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusModuleSpec_cxx.swift +0 -1
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec.swift +2 -3
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec_cxx.swift +16 -17
- package/nitrogen/generated/ios/swift/RNAndroidLocationConfig.swift +1 -0
- package/nitrogen/generated/ios/swift/RNCamera.swift +1 -0
- package/nitrogen/generated/ios/swift/RNCameraUpdate.swift +1 -0
- package/nitrogen/generated/ios/swift/RNCircle.swift +1 -0
- package/nitrogen/generated/ios/swift/RNHeatmap.swift +1 -0
- package/nitrogen/generated/ios/swift/RNHeatmapGradient.swift +1 -0
- package/nitrogen/generated/ios/swift/RNHeatmapPoint.swift +1 -0
- package/nitrogen/generated/ios/swift/RNIOSLocationConfig.swift +1 -0
- package/nitrogen/generated/ios/swift/RNIndoorBuilding.swift +1 -0
- package/nitrogen/generated/ios/swift/RNIndoorLevel.swift +1 -0
- package/nitrogen/generated/ios/swift/RNInitialProps.swift +1 -0
- package/nitrogen/generated/ios/swift/RNKMLayer.swift +1 -0
- package/nitrogen/generated/ios/swift/RNLatLng.swift +1 -0
- package/nitrogen/generated/ios/swift/RNLatLngBounds.swift +1 -0
- package/nitrogen/generated/ios/swift/RNLocation.swift +1 -0
- package/nitrogen/generated/ios/swift/RNLocationAndroid.swift +1 -0
- package/nitrogen/generated/ios/swift/RNLocationConfig.swift +1 -0
- package/nitrogen/generated/ios/swift/RNLocationIOS.swift +1 -0
- package/nitrogen/generated/ios/swift/RNLocationPermissionResult.swift +1 -0
- package/nitrogen/generated/ios/swift/RNMapPadding.swift +1 -0
- package/nitrogen/generated/ios/swift/RNMapUiSettings.swift +1 -0
- package/nitrogen/generated/ios/swift/RNMapZoomConfig.swift +1 -0
- package/nitrogen/generated/ios/swift/RNMarker.swift +1 -0
- package/nitrogen/generated/ios/swift/RNMarkerSvg.swift +1 -0
- package/nitrogen/generated/ios/swift/RNPolygon.swift +1 -0
- package/nitrogen/generated/ios/swift/RNPolygonHole.swift +1 -0
- package/nitrogen/generated/ios/swift/RNPolyline.swift +1 -0
- package/nitrogen/generated/ios/swift/RNPosition.swift +1 -0
- package/nitrogen/generated/ios/swift/RNRegion.swift +1 -0
- package/nitrogen/generated/ios/swift/RNSize.swift +1 -0
- package/nitrogen/generated/ios/swift/RNSnapshotOptions.swift +1 -0
- package/nitrogen/generated/ios/swift/RNUrlTileOverlay.swift +1 -0
- package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.hpp +4 -4
- package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.cpp +4 -4
- package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.hpp +2 -2
- package/package.json +11 -7
- package/src/GoogleMapsPlus.tsx +9 -1
- package/src/RNGoogleMapsPlusModule.nitro.ts +21 -4
- package/src/RNGoogleMapsPlusView.nitro.ts +143 -18
- package/src/index.tsx +90 -1
- package/src/types.ts +475 -67
package/README.md
CHANGED
|
@@ -3,131 +3,29 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/react-native-google-maps-plus)
|
|
4
4
|
[](https://www.npmjs.com/package/react-native-google-maps-plus)
|
|
5
5
|
[](https://github.com/pinpong/react-native-google-maps-plus/actions/workflows/release.yml)
|
|
6
|
+
[](https://pinpong.github.io/react-native-google-maps-plus)
|
|
6
7
|

|
|
7
8
|
|
|
8
9
|
React Native wrapper for Android & iOS Google Maps SDK.
|
|
9
10
|
|
|
10
|
-
##
|
|
11
|
+
## Documentation
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
Full installation guide and API reference:
|
|
14
|
+
https://pinpong.github.io/react-native-google-maps-plus
|
|
13
15
|
|
|
14
|
-
|
|
15
|
-
yarn add react-native-google-maps-plus react-native-nitro-modules
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
**iOS**
|
|
19
|
-
|
|
20
|
-
Add this to your Podfile only for bare React Native apps.
|
|
21
|
-
(Not required for Expo, handled by the config plugin.)
|
|
22
|
-
|
|
23
|
-
```ruby
|
|
24
|
-
post_install do |installer|
|
|
25
|
-
react_native_post_install(
|
|
26
|
-
installer,
|
|
27
|
-
config[:reactNativePath],
|
|
28
|
-
:mac_catalyst_enabled => false,
|
|
29
|
-
# :ccache_enabled => true
|
|
30
|
-
)
|
|
31
|
-
|
|
32
|
-
require_relative '../node_modules/react-native-google-maps-plus/scripts/svgkit_patch'
|
|
33
|
-
apply_svgkit_patch(installer)
|
|
34
|
-
end
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### Expo Projects
|
|
38
|
-
|
|
39
|
-
Add your keys to the `app.json`.
|
|
40
|
-
The config plugin automatically injects them into your native Android and iOS builds during `expo prebuild`.
|
|
41
|
-
|
|
42
|
-
```json
|
|
43
|
-
{
|
|
44
|
-
"expo": {
|
|
45
|
-
"plugins": [
|
|
46
|
-
[
|
|
47
|
-
"react-native-google-maps-plus",
|
|
48
|
-
{
|
|
49
|
-
"googleMapsAndroidApiKey": "YOUR_ANDROID_MAPS_API_KEY",
|
|
50
|
-
"googleMapsIosApiKey": "YOUR_IOS_MAPS_API_KEY"
|
|
51
|
-
}
|
|
52
|
-
]
|
|
53
|
-
]
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
## Setup API Key
|
|
59
|
-
|
|
60
|
-
You will need a valid **Google Maps API Key** from the [Google Cloud Console](https://console.cloud.google.com/).
|
|
61
|
-
|
|
62
|
-
### Android
|
|
63
|
-
|
|
64
|
-
**Note:** These instructions apply to **bare React Native apps only**.
|
|
65
|
-
Expo projects should use the config plugin instead (see Expo section above).
|
|
66
|
-
|
|
67
|
-
See the official [Google Maps Android SDK configuration guide](https://developers.google.com/maps/documentation/android-sdk/config#step_3_add_your_api_key_to_the_project) for more details.
|
|
68
|
-
|
|
69
|
-
### iOS
|
|
70
|
-
|
|
71
|
-
**Note:** These instructions apply to **bare React Native apps only**.
|
|
72
|
-
Expo projects should use the config plugin instead (see Expo section above).
|
|
73
|
-
|
|
74
|
-
See the official [Google Maps iOS SDK configuration guide](https://developers.google.com/maps/documentation/ios-sdk/config#get-key) for more details.
|
|
75
|
-
|
|
76
|
-
## Dependencies & Native Documentation
|
|
77
|
-
|
|
78
|
-
This package is React Native wrapper around the official Google Maps SDKs.
|
|
79
|
-
For full API behavior, configuration options, and feature reference, please consult the native documentation:
|
|
80
|
-
|
|
81
|
-
- **iOS Google Maps SDK**
|
|
82
|
-
https://developers.google.com/maps/documentation/ios-sdk
|
|
83
|
-
|
|
84
|
-
- **Android Google Maps SDK**
|
|
85
|
-
https://developers.google.com/maps/documentation/android-sdk
|
|
86
|
-
|
|
87
|
-
- **Maps Utility Libraries (iOS & Android)**
|
|
88
|
-
https://developers.google.com/maps/documentation/ios-sdk/utility
|
|
89
|
-
https://developers.google.com/maps/documentation/android-sdk/utility
|
|
90
|
-
|
|
91
|
-
- **SVG Rendering** (used for custom marker icons)
|
|
92
|
-
- iOS: https://github.com/SVGKit/SVGKit
|
|
93
|
-
- Android: https://bigbadaboom.github.io/androidsvg/
|
|
94
|
-
|
|
95
|
-
These libraries are automatically linked during installation.
|
|
96
|
-
If you encounter build issues, try cleaning and rebuilding your native project.
|
|
97
|
-
|
|
98
|
-
> **Note:** This package follows the native SDKs closely. Props and behavior match the underlying Google Maps APIs whenever possible.
|
|
16
|
+
## Contributing
|
|
99
17
|
|
|
100
|
-
|
|
18
|
+
- [Development workflow](CONTRIBUTING.md#development-workflow)
|
|
19
|
+
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
|
|
20
|
+
- [Code of conduct](CODE_OF_CONDUCT.md)
|
|
101
21
|
|
|
102
|
-
|
|
22
|
+
## License
|
|
103
23
|
|
|
104
|
-
|
|
105
|
-
import React from 'react';
|
|
106
|
-
import { GoogleMapsView } from 'react-native-google-maps-plus';
|
|
24
|
+
MIT
|
|
107
25
|
|
|
108
|
-
|
|
109
|
-
return (
|
|
110
|
-
<GoogleMapsView
|
|
111
|
-
style={{ flex: 1 }}
|
|
112
|
-
initialProps={{
|
|
113
|
-
camera: {
|
|
114
|
-
center: { latitude: 37.7749, longitude: -122.4194 },
|
|
115
|
-
zoom: 12,
|
|
116
|
-
},
|
|
117
|
-
}}
|
|
118
|
-
markers={[
|
|
119
|
-
{
|
|
120
|
-
id: '1',
|
|
121
|
-
zIndex: 1,
|
|
122
|
-
coordinate: { latitude: 37.7749, longitude: -122.4194 },
|
|
123
|
-
},
|
|
124
|
-
]}
|
|
125
|
-
/>
|
|
126
|
-
);
|
|
127
|
-
}
|
|
128
|
-
```
|
|
26
|
+
---
|
|
129
27
|
|
|
130
|
-
|
|
28
|
+
Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
|
|
131
29
|
|
|
132
30
|
## Contributing
|
|
133
31
|
|
|
@@ -867,10 +867,9 @@ class GoogleMapsViewImpl(
|
|
|
867
867
|
}
|
|
868
868
|
|
|
869
869
|
override fun onDetachedFromWindow() {
|
|
870
|
-
super.onDetachedFromWindow()
|
|
871
870
|
lifecycleObserver?.let { lifecycle?.removeObserver(it) }
|
|
872
871
|
lifecycle = null
|
|
873
|
-
|
|
872
|
+
super.onDetachedFromWindow()
|
|
874
873
|
}
|
|
875
874
|
|
|
876
875
|
override fun onMarkerClick(marker: Marker): Boolean {
|
|
@@ -20,38 +20,53 @@ fun Location.toRnLocation(): RNLocation =
|
|
|
20
20
|
elapsedRealtimeNanos = elapsedRealtimeNanos.toDouble(),
|
|
21
21
|
bearingAccuracyDegrees =
|
|
22
22
|
when {
|
|
23
|
-
Build.VERSION.SDK_INT
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
Build.VERSION.SDK_INT < Build.VERSION_CODES.O -> null
|
|
24
|
+
else ->
|
|
25
|
+
try {
|
|
26
|
+
if (hasBearingAccuracy()) bearingAccuracyDegrees.toDouble() else null
|
|
27
|
+
} catch (_: IllegalStateException) {
|
|
28
|
+
null
|
|
29
|
+
}
|
|
27
30
|
},
|
|
28
31
|
speedAccuracyMetersPerSecond =
|
|
29
32
|
when {
|
|
30
|
-
Build.VERSION.SDK_INT
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
Build.VERSION.SDK_INT < Build.VERSION_CODES.O -> null
|
|
34
|
+
else ->
|
|
35
|
+
try {
|
|
36
|
+
if (hasSpeedAccuracy()) speedAccuracyMetersPerSecond.toDouble() else null
|
|
37
|
+
} catch (_: IllegalStateException) {
|
|
38
|
+
null
|
|
39
|
+
}
|
|
34
40
|
},
|
|
35
41
|
verticalAccuracyMeters =
|
|
36
42
|
when {
|
|
37
|
-
Build.VERSION.SDK_INT
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
43
|
+
Build.VERSION.SDK_INT < Build.VERSION_CODES.O -> null
|
|
44
|
+
else ->
|
|
45
|
+
try {
|
|
46
|
+
if (hasVerticalAccuracy()) verticalAccuracyMeters.toDouble() else null
|
|
47
|
+
} catch (_: IllegalStateException) {
|
|
48
|
+
null
|
|
49
|
+
}
|
|
41
50
|
},
|
|
42
51
|
mslAltitudeMeters =
|
|
43
52
|
when {
|
|
44
|
-
Build.VERSION.SDK_INT
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
53
|
+
Build.VERSION.SDK_INT < Build.VERSION_CODES.UPSIDE_DOWN_CAKE -> null
|
|
54
|
+
else ->
|
|
55
|
+
try {
|
|
56
|
+
if (hasMslAltitude()) mslAltitudeMeters else null
|
|
57
|
+
} catch (_: IllegalStateException) {
|
|
58
|
+
null
|
|
59
|
+
}
|
|
48
60
|
},
|
|
49
61
|
mslAltitudeAccuracyMeters =
|
|
50
62
|
when {
|
|
51
|
-
Build.VERSION.SDK_INT
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
63
|
+
Build.VERSION.SDK_INT < Build.VERSION_CODES.UPSIDE_DOWN_CAKE -> null
|
|
64
|
+
else ->
|
|
65
|
+
try {
|
|
66
|
+
if (hasMslAltitude()) mslAltitudeAccuracyMeters.toDouble() else null
|
|
67
|
+
} catch (_: IllegalStateException) {
|
|
68
|
+
null
|
|
69
|
+
}
|
|
55
70
|
},
|
|
56
71
|
isMock =
|
|
57
72
|
when {
|
|
@@ -206,6 +206,9 @@ GMSIndoorDisplayDelegate {
|
|
|
206
206
|
self.uiSettings?.tiltEnabled ?? true
|
|
207
207
|
self.mapView?.settings.zoomGestures =
|
|
208
208
|
self.uiSettings?.zoomGesturesEnabled ?? true
|
|
209
|
+
|
|
210
|
+
/* self.uiSettings?.mapToolbarEnabled → unsupported on iOS */
|
|
211
|
+
/* self.uiSettings?.zoomControlsEnabled → unsupported on iOS */
|
|
209
212
|
}
|
|
210
213
|
}
|
|
211
214
|
}
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { NitroModules, getHostComponent } from 'react-native-nitro-modules';
|
|
4
4
|
import ViewConfig from '../nitrogen/generated/shared/json/RNGoogleMapsPlusViewConfig.json' with { type: 'json' };
|
|
5
|
+
/**
|
|
6
|
+
* Native Google Maps view.
|
|
7
|
+
* Direct bindings to the underlying Google Maps SDKs.
|
|
8
|
+
*/
|
|
5
9
|
export const GoogleMapsView = getHostComponent('RNGoogleMapsPlusView', () => ViewConfig);
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Platform-level module.
|
|
13
|
+
* Exposes system APIs such as permissions and Play Services checks.
|
|
14
|
+
*/
|
|
6
15
|
export const GoogleMapsModule = NitroModules.createHybridObject('RNGoogleMapsPlusModule');
|
|
7
16
|
//# sourceMappingURL=GoogleMapsPlus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["NitroModules","getHostComponent","ViewConfig","type","GoogleMapsView","GoogleMapsModule","createHybridObject"],"sourceRoot":"../../src","sources":["GoogleMapsPlus.tsx"],"mappings":";;AAAA,SAASA,YAAY,EAAEC,gBAAgB,QAAQ,4BAA4B;AAE3E,OAAOC,UAAU,MAAM,mEAAmE,QAAQC,IAAI,EAAE,MAAM;AAQ9G;AACA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,GAAGH,gBAAgB,CAG5C,sBAAsB,EAAE,MAAMC,UAAU,CAAC;;AAE3C;AACA;AACA;AACA;AACA,OAAO,MAAMG,gBAAgB,GAC3BL,YAAY,CAACM,kBAAkB,CAC7B,wBACF,CAAC","ignoreList":[]}
|
package/lib/module/index.js
CHANGED
|
@@ -1,6 +1,95 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @packageDocumentation
|
|
5
|
+
*
|
|
6
|
+
* # Installation
|
|
7
|
+
*
|
|
8
|
+
* `react-native-nitro-modules` is required as this library relies on Nitro Modules.
|
|
9
|
+
*
|
|
10
|
+
* ```sh
|
|
11
|
+
* yarn add react-native-google-maps-plus react-native-nitro-modules
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* ## iOS Setup (Bare RN only)
|
|
15
|
+
*
|
|
16
|
+
* Add this to your Podfile:
|
|
17
|
+
*
|
|
18
|
+
* ```ruby
|
|
19
|
+
* post_install do |installer|
|
|
20
|
+
* react_native_post_install(
|
|
21
|
+
* installer,
|
|
22
|
+
* config[:reactNativePath],
|
|
23
|
+
* :mac_catalyst_enabled => false,
|
|
24
|
+
* )
|
|
25
|
+
*
|
|
26
|
+
* require_relative '../node_modules/react-native-google-maps-plus/scripts/svgkit_patch'
|
|
27
|
+
* apply_svgkit_patch(installer)
|
|
28
|
+
* end
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Expo Setup
|
|
32
|
+
*
|
|
33
|
+
* Add your keys via the config plugin:
|
|
34
|
+
*
|
|
35
|
+
* ```json
|
|
36
|
+
* {
|
|
37
|
+
* "expo": {
|
|
38
|
+
* "plugins": [
|
|
39
|
+
* [
|
|
40
|
+
* "react-native-google-maps-plus",
|
|
41
|
+
* {
|
|
42
|
+
* "googleMapsAndroidApiKey": "YOUR_ANDROID_MAPS_API_KEY",
|
|
43
|
+
* "googleMapsIosApiKey": "YOUR_IOS_MAPS_API_KEY"
|
|
44
|
+
* }
|
|
45
|
+
* ]
|
|
46
|
+
* ]
|
|
47
|
+
* }
|
|
48
|
+
* }
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* # API Keys
|
|
52
|
+
*
|
|
53
|
+
* You need a valid Google Maps API key.
|
|
54
|
+
*
|
|
55
|
+
* Android Guide:
|
|
56
|
+
* https://developers.google.com/maps/documentation/android-sdk/config
|
|
57
|
+
*
|
|
58
|
+
* iOS Guide:
|
|
59
|
+
* https://developers.google.com/maps/documentation/ios-sdk/config
|
|
60
|
+
*
|
|
61
|
+
*
|
|
62
|
+
* # Native Dependencies
|
|
63
|
+
*
|
|
64
|
+
* - iOS Google Maps SDK
|
|
65
|
+
* https://developers.google.com/maps/documentation/ios-sdk
|
|
66
|
+
*
|
|
67
|
+
* - Android Google Maps SDK
|
|
68
|
+
* https://developers.google.com/maps/documentation/android-sdk
|
|
69
|
+
*
|
|
70
|
+
* - SVG Rendering
|
|
71
|
+
* iOS: SVGKit
|
|
72
|
+
* Android: AndroidSVG
|
|
73
|
+
*
|
|
74
|
+
*
|
|
75
|
+
* # Usage Example
|
|
76
|
+
*
|
|
77
|
+
* ```tsx
|
|
78
|
+
* <GoogleMapsView
|
|
79
|
+
* style={{ flex: 1 }}
|
|
80
|
+
* initialProps={{
|
|
81
|
+
* camera: {
|
|
82
|
+
* center: { latitude: 37.7749, longitude: -122.4194 },
|
|
83
|
+
* zoom: 12,
|
|
84
|
+
* },
|
|
85
|
+
* }}
|
|
86
|
+
* />
|
|
87
|
+
* ```
|
|
88
|
+
*
|
|
89
|
+
* Check out the example app in the [example directory](https://github.com/pinpong/react-native-google-maps-plus/tree/main/example).
|
|
90
|
+
*/
|
|
91
|
+
|
|
92
|
+
import { GoogleMapsModule, GoogleMapsView } from './GoogleMapsPlus';
|
|
4
93
|
export * from './types';
|
|
5
94
|
export { GoogleMapsView, GoogleMapsModule };
|
|
6
95
|
//# sourceMappingURL=index.js.map
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["GoogleMapsModule","GoogleMapsView"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,gBAAgB,EAAEC,cAAc,QAAQ,kBAAkB;AAQnE,cAAc,SAAS;AAQvB,SAASA,cAAc,EAAED,gBAAgB","ignoreList":[]}
|
package/lib/module/types.js
CHANGED
|
@@ -1,99 +1,205 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
| 'administrative.neighborhood'
|
|
9
|
-
| 'administrative.province'
|
|
10
|
-
| 'landscape'
|
|
11
|
-
| 'landscape.man_made'
|
|
12
|
-
| 'landscape.natural'
|
|
13
|
-
| 'poi'
|
|
14
|
-
| 'poi.attraction'
|
|
15
|
-
| 'poi.business'
|
|
16
|
-
| 'poi.government'
|
|
17
|
-
| 'poi.medical'
|
|
18
|
-
| 'poi.park'
|
|
19
|
-
| 'poi.place_of_worship'
|
|
20
|
-
| 'poi.school'
|
|
21
|
-
| 'poi.sports_complex'
|
|
22
|
-
| 'road'
|
|
23
|
-
| 'road.arterial'
|
|
24
|
-
| 'road.highway'
|
|
25
|
-
| 'road.local'
|
|
26
|
-
| 'transit'
|
|
27
|
-
| 'transit.line'
|
|
28
|
-
| 'transit.station'
|
|
29
|
-
| 'water';
|
|
3
|
+
/**
|
|
4
|
+
* Platform behavior
|
|
5
|
+
*
|
|
6
|
+
* Thin TypeScript layer over the native Google Maps SDKs for Android and iOS.
|
|
7
|
+
* Behavior follows the underlying SDKs unless explicitly documented otherwise.
|
|
30
8
|
*/
|
|
31
9
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
10
|
+
/** Reference to the native Google Maps view. */
|
|
11
|
+
|
|
12
|
+
/** Initial map configuration. */
|
|
13
|
+
|
|
14
|
+
/** UI and gesture settings. */
|
|
15
|
+
|
|
16
|
+
/** Geographic coordinate. */
|
|
17
|
+
|
|
18
|
+
/** Geographic bounds. */
|
|
19
|
+
|
|
20
|
+
/** Snapshot configuration. */
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Logical size of an image or view.
|
|
24
|
+
* iOS: points (pt)
|
|
25
|
+
* Android: dp
|
|
26
|
+
* Converted internally to physical pixels.
|
|
42
27
|
*/
|
|
43
28
|
|
|
44
|
-
|
|
45
|
-
|
|
29
|
+
/** Snapshot image formats. */
|
|
30
|
+
|
|
31
|
+
/** Snapshot result types. */
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Map padding in logical units (pt on iOS, dp on Android).
|
|
35
|
+
* Both are converted internally to device pixels.
|
|
46
36
|
*/
|
|
47
37
|
|
|
38
|
+
/** Base map types. */
|
|
39
|
+
|
|
40
|
+
/** UI style mode. */
|
|
41
|
+
|
|
42
|
+
/** Camera definition. */
|
|
43
|
+
|
|
44
|
+
/** Partial camera update. */
|
|
45
|
+
|
|
46
|
+
/** Visible region. */
|
|
47
|
+
|
|
48
|
+
/** 2D position in view coordinates. */
|
|
49
|
+
|
|
50
|
+
/** Zoom configuration. */
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Line cap styles.
|
|
54
|
+
*
|
|
55
|
+
* Android: supported.
|
|
56
|
+
* iOS: not supported.
|
|
57
|
+
*/
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Line join styles.
|
|
61
|
+
*
|
|
62
|
+
* Android: supported.
|
|
63
|
+
* iOS: not supported.
|
|
64
|
+
*/
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Marker definition.
|
|
68
|
+
*
|
|
69
|
+
* On iOS, some default animations are suppressed for parity with Android.
|
|
70
|
+
*/
|
|
71
|
+
|
|
72
|
+
/** Marker SVG definition. */
|
|
73
|
+
|
|
74
|
+
/** Polygon definition. */
|
|
75
|
+
|
|
76
|
+
/** Polygon hole definition. */
|
|
77
|
+
|
|
78
|
+
/** Polyline definition. */
|
|
79
|
+
|
|
80
|
+
/** Circle definition. */
|
|
81
|
+
|
|
82
|
+
/** Heatmap configuration. */
|
|
83
|
+
|
|
84
|
+
/** Heatmap point definition. */
|
|
85
|
+
|
|
86
|
+
/** Heatmap gradient configuration. */
|
|
87
|
+
|
|
88
|
+
/** KML layer configuration. */
|
|
89
|
+
|
|
90
|
+
/** URL tile overlay configuration. */
|
|
91
|
+
|
|
92
|
+
/** Indoor building information. */
|
|
93
|
+
|
|
94
|
+
/** Indoor level information. */
|
|
95
|
+
|
|
96
|
+
/** Location configuration. */
|
|
97
|
+
|
|
98
|
+
/** Android location configuration. */
|
|
99
|
+
|
|
100
|
+
/** Android location priorities. */
|
|
48
101
|
export let RNAndroidLocationPriority = /*#__PURE__*/function (RNAndroidLocationPriority) {
|
|
102
|
+
/** High accuracy, higher power usage. */
|
|
49
103
|
RNAndroidLocationPriority[RNAndroidLocationPriority["PRIORITY_HIGH_ACCURACY"] = 0] = "PRIORITY_HIGH_ACCURACY";
|
|
104
|
+
/** Balanced accuracy and power usage. */
|
|
50
105
|
RNAndroidLocationPriority[RNAndroidLocationPriority["PRIORITY_BALANCED_POWER_ACCURACY"] = 1] = "PRIORITY_BALANCED_POWER_ACCURACY";
|
|
106
|
+
/** Low power usage, coarse accuracy. */
|
|
51
107
|
RNAndroidLocationPriority[RNAndroidLocationPriority["PRIORITY_LOW_POWER"] = 2] = "PRIORITY_LOW_POWER";
|
|
108
|
+
/** Passive updates, no active requests. */
|
|
52
109
|
RNAndroidLocationPriority[RNAndroidLocationPriority["PRIORITY_PASSIVE"] = 3] = "PRIORITY_PASSIVE";
|
|
53
110
|
return RNAndroidLocationPriority;
|
|
54
111
|
}({});
|
|
112
|
+
|
|
113
|
+
/** iOS location configuration. */
|
|
114
|
+
|
|
115
|
+
/** iOS location accuracy levels. */
|
|
55
116
|
export let RNIOSLocationAccuracy = /*#__PURE__*/function (RNIOSLocationAccuracy) {
|
|
117
|
+
/** Best possible accuracy. */
|
|
56
118
|
RNIOSLocationAccuracy[RNIOSLocationAccuracy["ACCURACY_BEST"] = 0] = "ACCURACY_BEST";
|
|
119
|
+
/** Approximately 10 m accuracy. */
|
|
57
120
|
RNIOSLocationAccuracy[RNIOSLocationAccuracy["ACCURACY_NEAREST_TEN_METER"] = 1] = "ACCURACY_NEAREST_TEN_METER";
|
|
121
|
+
/** Approximately 100 m accuracy. */
|
|
58
122
|
RNIOSLocationAccuracy[RNIOSLocationAccuracy["ACCURACY_NEAREST_HUNDRED_METER"] = 2] = "ACCURACY_NEAREST_HUNDRED_METER";
|
|
123
|
+
/** Approximately 1 km accuracy. */
|
|
59
124
|
RNIOSLocationAccuracy[RNIOSLocationAccuracy["ACCURACY_KILOMETER"] = 3] = "ACCURACY_KILOMETER";
|
|
60
125
|
return RNIOSLocationAccuracy;
|
|
61
126
|
}({});
|
|
127
|
+
|
|
128
|
+
/** iOS activity types for location updates. */
|
|
62
129
|
export let RNIOSLocationActivityType = /*#__PURE__*/function (RNIOSLocationActivityType) {
|
|
130
|
+
/** Default activity type. */
|
|
63
131
|
RNIOSLocationActivityType[RNIOSLocationActivityType["OTHER"] = 0] = "OTHER";
|
|
132
|
+
/** Turn-by-turn navigation. */
|
|
64
133
|
RNIOSLocationActivityType[RNIOSLocationActivityType["NAVIGATION"] = 1] = "NAVIGATION";
|
|
134
|
+
/** Automotive navigation. */
|
|
65
135
|
RNIOSLocationActivityType[RNIOSLocationActivityType["AUTOMOTIVE"] = 2] = "AUTOMOTIVE";
|
|
136
|
+
/** Fitness and outdoor activities. */
|
|
66
137
|
RNIOSLocationActivityType[RNIOSLocationActivityType["FITNESS"] = 3] = "FITNESS";
|
|
138
|
+
/** Airborne activity. */
|
|
67
139
|
RNIOSLocationActivityType[RNIOSLocationActivityType["AIRBORNE"] = 4] = "AIRBORNE";
|
|
68
140
|
return RNIOSLocationActivityType;
|
|
69
141
|
}({});
|
|
142
|
+
|
|
143
|
+
/** Combined location permission result. */
|
|
144
|
+
|
|
145
|
+
/** Android location permission results. */
|
|
70
146
|
export let RNAndroidLocationPermissionResult = /*#__PURE__*/function (RNAndroidLocationPermissionResult) {
|
|
147
|
+
/** Permission was granted. */
|
|
71
148
|
RNAndroidLocationPermissionResult[RNAndroidLocationPermissionResult["GRANTED"] = 1] = "GRANTED";
|
|
149
|
+
/** Permission was denied. */
|
|
72
150
|
RNAndroidLocationPermissionResult[RNAndroidLocationPermissionResult["DENIED"] = -1] = "DENIED";
|
|
151
|
+
/** User chose "never ask again". */
|
|
73
152
|
RNAndroidLocationPermissionResult[RNAndroidLocationPermissionResult["NEVER_ASK_AGAIN"] = -2] = "NEVER_ASK_AGAIN";
|
|
74
153
|
return RNAndroidLocationPermissionResult;
|
|
75
154
|
}({});
|
|
155
|
+
|
|
156
|
+
/** iOS location permission results. */
|
|
76
157
|
export let RNIOSPermissionResult = /*#__PURE__*/function (RNIOSPermissionResult) {
|
|
158
|
+
/** Permission was denied. */
|
|
77
159
|
RNIOSPermissionResult[RNIOSPermissionResult["DENIED"] = -1] = "DENIED";
|
|
160
|
+
/** Permission was granted. */
|
|
78
161
|
RNIOSPermissionResult[RNIOSPermissionResult["AUTHORIZED"] = 1] = "AUTHORIZED";
|
|
79
162
|
return RNIOSPermissionResult;
|
|
80
163
|
}({});
|
|
164
|
+
|
|
165
|
+
/** Location object. */
|
|
166
|
+
|
|
167
|
+
/** Android location. */
|
|
168
|
+
|
|
169
|
+
/** iOS location. */
|
|
170
|
+
|
|
171
|
+
/** Location error codes. */
|
|
81
172
|
export let RNLocationErrorCode = /*#__PURE__*/function (RNLocationErrorCode) {
|
|
173
|
+
/** Location permission was denied by the user. */
|
|
82
174
|
RNLocationErrorCode[RNLocationErrorCode["PERMISSION_DENIED"] = 1] = "PERMISSION_DENIED";
|
|
175
|
+
/** The device was unable to determine a position. */
|
|
83
176
|
RNLocationErrorCode[RNLocationErrorCode["POSITION_UNAVAILABLE"] = 2] = "POSITION_UNAVAILABLE";
|
|
177
|
+
/** The location request timed out. */
|
|
84
178
|
RNLocationErrorCode[RNLocationErrorCode["TIMEOUT"] = 3] = "TIMEOUT";
|
|
179
|
+
/** Required Google Play Services are not available. */
|
|
85
180
|
RNLocationErrorCode[RNLocationErrorCode["PLAY_SERVICE_NOT_AVAILABLE"] = 4] = "PLAY_SERVICE_NOT_AVAILABLE";
|
|
181
|
+
/** Device location settings do not satisfy the request. */
|
|
86
182
|
RNLocationErrorCode[RNLocationErrorCode["SETTINGS_NOT_SATISFIED"] = 5] = "SETTINGS_NOT_SATISFIED";
|
|
183
|
+
/** Internal or unknown error. */
|
|
87
184
|
RNLocationErrorCode[RNLocationErrorCode["INTERNAL_ERROR"] = -1] = "INTERNAL_ERROR";
|
|
88
185
|
return RNLocationErrorCode;
|
|
89
186
|
}({});
|
|
187
|
+
|
|
188
|
+
/** Error codes related to Google Play Services Maps integration. */
|
|
90
189
|
export let RNMapErrorCode = /*#__PURE__*/function (RNMapErrorCode) {
|
|
190
|
+
/** Google Play Services are missing on the device. */
|
|
91
191
|
RNMapErrorCode[RNMapErrorCode["PLAY_SERVICES_MISSING"] = 0] = "PLAY_SERVICES_MISSING";
|
|
192
|
+
/** Google Play Services are present but invalid. */
|
|
92
193
|
RNMapErrorCode[RNMapErrorCode["PLAY_SERVICES_INVALID"] = 1] = "PLAY_SERVICES_INVALID";
|
|
194
|
+
/** Google Play Services are disabled on the device. */
|
|
93
195
|
RNMapErrorCode[RNMapErrorCode["PLAY_SERVICES_DISABLED"] = 2] = "PLAY_SERVICES_DISABLED";
|
|
196
|
+
/** Google Play Services are installed, but outdated. */
|
|
94
197
|
RNMapErrorCode[RNMapErrorCode["PLAY_SERVICES_OUTDATED"] = 3] = "PLAY_SERVICES_OUTDATED";
|
|
198
|
+
/** A newer version of Google Play Services is available. */
|
|
95
199
|
RNMapErrorCode[RNMapErrorCode["PLAY_SERVICE_UPDATE_AVAILABLE"] = 4] = "PLAY_SERVICE_UPDATE_AVAILABLE";
|
|
200
|
+
/** Google Play Services are currently updating. */
|
|
96
201
|
RNMapErrorCode[RNMapErrorCode["PLAY_SERVICE_UPDATING"] = 5] = "PLAY_SERVICE_UPDATING";
|
|
202
|
+
/** Unknown error. */
|
|
97
203
|
RNMapErrorCode[RNMapErrorCode["UNKNOWN"] = 6] = "UNKNOWN";
|
|
98
204
|
return RNMapErrorCode;
|
|
99
205
|
}({});
|
package/lib/module/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["RNAndroidLocationPriority","RNIOSLocationAccuracy","RNIOSLocationActivityType","RNAndroidLocationPermissionResult","RNIOSPermissionResult","RNLocationErrorCode","RNMapErrorCode"],"sourceRoot":"../../src","sources":["types.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["RNAndroidLocationPriority","RNIOSLocationAccuracy","RNIOSLocationActivityType","RNAndroidLocationPermissionResult","RNIOSPermissionResult","RNLocationErrorCode","RNMapErrorCode"],"sourceRoot":"../../src","sources":["types.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;;AAKA;;AAGA;;AAoBA;;AAwEA;;AASA;;AASA;;AAeA;AACA;AACA;AACA;AACA;AACA;;AASA;;AAGA;;AAGA;AACA;AACA;AACA;;AAeA;;AAGA;;AAGA;;AAeA;;AAeA;;AAkBA;;AASA;;AASA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;AACA;;AAGA;AACA;AACA;AACA;AACA;;AAgDA;;AAgCA;;AAqCA;;AAMA;;AAqCA;;AAkCA;;AAwBA;;AAYA;;AAYA;;AASA;;AAqBA;;AAeA;;AAeA;;AASA;;AAYA;AACA,WAAYA,yBAAyB,0BAAzBA,yBAAyB;EACnC;EADUA,yBAAyB,CAAzBA,yBAAyB;EAGnC;EAHUA,yBAAyB,CAAzBA,yBAAyB;EAKnC;EALUA,yBAAyB,CAAzBA,yBAAyB;EAOnC;EAPUA,yBAAyB,CAAzBA,yBAAyB;EAAA,OAAzBA,yBAAyB;AAAA;;AAWrC;;AAYA;AACA,WAAYC,qBAAqB,0BAArBA,qBAAqB;EAC/B;EADUA,qBAAqB,CAArBA,qBAAqB;EAG/B;EAHUA,qBAAqB,CAArBA,qBAAqB;EAK/B;EALUA,qBAAqB,CAArBA,qBAAqB;EAO/B;EAPUA,qBAAqB,CAArBA,qBAAqB;EAAA,OAArBA,qBAAqB;AAAA;;AAWjC;AACA,WAAYC,yBAAyB,0BAAzBA,yBAAyB;EACnC;EADUA,yBAAyB,CAAzBA,yBAAyB;EAGnC;EAHUA,yBAAyB,CAAzBA,yBAAyB;EAKnC;EALUA,yBAAyB,CAAzBA,yBAAyB;EAOnC;EAPUA,yBAAyB,CAAzBA,yBAAyB;EASnC;EATUA,yBAAyB,CAAzBA,yBAAyB;EAAA,OAAzBA,yBAAyB;AAAA;;AAarC;;AASA;AACA,WAAYC,iCAAiC,0BAAjCA,iCAAiC;EAC3C;EADUA,iCAAiC,CAAjCA,iCAAiC;EAG3C;EAHUA,iCAAiC,CAAjCA,iCAAiC;EAK3C;EALUA,iCAAiC,CAAjCA,iCAAiC;EAAA,OAAjCA,iCAAiC;AAAA;;AAS7C;AACA,WAAYC,qBAAqB,0BAArBA,qBAAqB;EAC/B;EADUA,qBAAqB,CAArBA,qBAAqB;EAG/B;EAHUA,qBAAqB,CAArBA,qBAAqB;EAAA,OAArBA,qBAAqB;AAAA;;AAOjC;;AA2BA;;AA2BA;;AAwBA;AACA,WAAYC,mBAAmB,0BAAnBA,mBAAmB;EAC7B;EADUA,mBAAmB,CAAnBA,mBAAmB;EAI7B;EAJUA,mBAAmB,CAAnBA,mBAAmB;EAO7B;EAPUA,mBAAmB,CAAnBA,mBAAmB;EAU7B;EAVUA,mBAAmB,CAAnBA,mBAAmB;EAa7B;EAbUA,mBAAmB,CAAnBA,mBAAmB;EAgB7B;EAhBUA,mBAAmB,CAAnBA,mBAAmB;EAAA,OAAnBA,mBAAmB;AAAA;;AAoB/B;AACA,WAAYC,cAAc,0BAAdA,cAAc;EACxB;EADUA,cAAc,CAAdA,cAAc;EAIxB;EAJUA,cAAc,CAAdA,cAAc;EAOxB;EAPUA,cAAc,CAAdA,cAAc;EAUxB;EAVUA,cAAc,CAAdA,cAAc;EAaxB;EAbUA,cAAc,CAAdA,cAAc;EAgBxB;EAhBUA,cAAc,CAAdA,cAAc;EAmBxB;EAnBUA,cAAc,CAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA","ignoreList":[]}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import type { RNGoogleMapsPlusModule } from './RNGoogleMapsPlusModule.nitro.js';
|
|
2
2
|
import type { RNGoogleMapsPlusViewMethods, RNGoogleMapsPlusViewProps } from './RNGoogleMapsPlusView.nitro.js';
|
|
3
|
+
/**
|
|
4
|
+
* Native Google Maps view.
|
|
5
|
+
* Direct bindings to the underlying Google Maps SDKs.
|
|
6
|
+
*/
|
|
3
7
|
export declare const GoogleMapsView: import("react-native-nitro-modules").ReactNativeView<RNGoogleMapsPlusViewProps, RNGoogleMapsPlusViewMethods>;
|
|
8
|
+
/**
|
|
9
|
+
* Platform-level module.
|
|
10
|
+
* Exposes system APIs such as permissions and Play Services checks.
|
|
11
|
+
*/
|
|
4
12
|
export declare const GoogleMapsModule: RNGoogleMapsPlusModule;
|
|
5
13
|
//# sourceMappingURL=GoogleMapsPlus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoogleMapsPlus.d.ts","sourceRoot":"","sources":["../../../src/GoogleMapsPlus.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,KAAK,EACV,2BAA2B,EAC3B,yBAAyB,EAC1B,MAAM,iCAAiC,CAAC;AAEzC,eAAO,MAAM,cAAc,8GAGgB,CAAC;AAE5C,eAAO,MAAM,gBAAgB,wBAG1B,CAAC"}
|
|
1
|
+
{"version":3,"file":"GoogleMapsPlus.d.ts","sourceRoot":"","sources":["../../../src/GoogleMapsPlus.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,KAAK,EACV,2BAA2B,EAC3B,yBAAyB,EAC1B,MAAM,iCAAiC,CAAC;AAEzC;;;GAGG;AACH,eAAO,MAAM,cAAc,8GAGgB,CAAC;AAE5C;;;GAGG;AACH,eAAO,MAAM,gBAAgB,wBAG1B,CAAC"}
|