react-native-google-maps-plus 1.3.0 → 1.4.1-dev.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.
Files changed (119) hide show
  1. package/android/build.gradle +1 -1
  2. package/android/src/main/java/com/rngooglemapsplus/GoogleMapsViewImpl.kt +50 -161
  3. package/android/src/main/java/com/rngooglemapsplus/LocationHandler.kt +38 -36
  4. package/android/src/main/java/com/rngooglemapsplus/MapCircleBuilder.kt +33 -9
  5. package/android/src/main/java/com/rngooglemapsplus/MapMarkerBuilder.kt +73 -18
  6. package/android/src/main/java/com/rngooglemapsplus/MapPolygonBuilder.kt +59 -12
  7. package/android/src/main/java/com/rngooglemapsplus/MapPolylineBuilder.kt.kt +47 -12
  8. package/android/src/main/java/com/rngooglemapsplus/RNGoogleMapsPlusView.kt +12 -9
  9. package/android/src/main/java/com/rngooglemapsplus/extensions/CameraPositionExtension.kt +12 -0
  10. package/android/src/main/java/com/rngooglemapsplus/extensions/IntExtension.kt +28 -0
  11. package/android/src/main/java/com/rngooglemapsplus/extensions/LatLngBounds.kt +15 -0
  12. package/android/src/main/java/com/rngooglemapsplus/extensions/LatLngExtension.kt +6 -0
  13. package/android/src/main/java/com/rngooglemapsplus/extensions/LocationExtension.kt +59 -0
  14. package/android/src/main/java/com/rngooglemapsplus/extensions/RNCameraExtension.kt +1 -2
  15. package/android/src/main/java/com/rngooglemapsplus/extensions/RNLatLngExtension.kt +6 -0
  16. package/android/src/main/java/com/rngooglemapsplus/extensions/RNMarkerExtension.kt +8 -0
  17. package/android/src/main/java/com/rngooglemapsplus/extensions/RNPolygonExtension.kt +2 -0
  18. package/android/src/main/java/com/rngooglemapsplus/extensions/RNPolylineExtension.kt +1 -0
  19. package/ios/GoogleMapViewImpl.swift +39 -180
  20. package/ios/LocationHandler.swift +5 -13
  21. package/ios/MapCircleBuilder.swift +30 -18
  22. package/ios/MapHelper.swift +20 -0
  23. package/ios/MapMarkerBuilder.swift +105 -86
  24. package/ios/MapPolygonBuilder.swift +62 -13
  25. package/ios/MapPolylineBuilder.swift +33 -15
  26. package/ios/RNGoogleMapsPlusView.swift +15 -9
  27. package/ios/extensions/CLError+Extension.swift +14 -0
  28. package/ios/extensions/CLLocation+Extension.swift +27 -0
  29. package/ios/extensions/CLLocationCoordinate2D+Extension.swift +7 -0
  30. package/ios/extensions/GMSCameraPosition+Extension.swift +12 -0
  31. package/ios/extensions/GMSCoordinateBounds+Extension.swift +19 -0
  32. package/ios/extensions/RNLatLng+Extension.swift +7 -0
  33. package/ios/extensions/RNMarker+Extension.swift +7 -3
  34. package/ios/extensions/RNPolygon+Extension.swift.swift +16 -1
  35. package/ios/extensions/RNPolyline+Extension.swift.swift +1 -0
  36. package/lib/module/GoogleMapsPlus.js +7 -0
  37. package/lib/module/GoogleMapsPlus.js.map +1 -0
  38. package/lib/module/index.js +3 -5
  39. package/lib/module/index.js.map +1 -1
  40. package/lib/module/types.js.map +1 -1
  41. package/lib/nitrogen/generated/shared/json/RNGoogleMapsPlusViewConfig.json +44 -0
  42. package/lib/typescript/src/GoogleMapsPlus.d.ts +5 -0
  43. package/lib/typescript/src/GoogleMapsPlus.d.ts.map +1 -0
  44. package/lib/typescript/src/index.d.ts +3 -3
  45. package/lib/typescript/src/index.d.ts.map +1 -1
  46. package/lib/typescript/src/types.d.ts +33 -0
  47. package/lib/typescript/src/types.d.ts.map +1 -1
  48. package/nitrogen/generated/android/c++/JFunc_void_RNLocation.hpp +6 -0
  49. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.cpp +12 -0
  50. package/nitrogen/generated/android/c++/JRNLocation.hpp +32 -2
  51. package/nitrogen/generated/android/c++/JRNLocationAndroid.hpp +82 -0
  52. package/nitrogen/generated/android/c++/JRNLocationIOS.hpp +77 -0
  53. package/nitrogen/generated/android/c++/JRNMarker.hpp +8 -0
  54. package/nitrogen/generated/android/c++/JRNPolygon.hpp +29 -2
  55. package/nitrogen/generated/android/c++/JRNPolygonHole.hpp +72 -0
  56. package/nitrogen/generated/android/c++/JRNPolyline.hpp +4 -0
  57. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocation.kt +19 -1
  58. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationAndroid.kt +50 -0
  59. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationIOS.kt +47 -0
  60. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMarker.kt +6 -0
  61. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolygon.kt +7 -1
  62. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolygonHole.kt +29 -0
  63. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolyline.kt +3 -0
  64. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/views/HybridRNGoogleMapsPlusViewManager.kt +8 -3
  65. package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.cpp +16 -16
  66. package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.hpp +87 -20
  67. package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Umbrella.hpp +9 -0
  68. package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusViewSpecSwift.hpp +12 -3
  69. package/nitrogen/generated/ios/c++/views/HybridRNGoogleMapsPlusViewComponent.mm +8 -0
  70. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec_cxx.swift +7 -56
  71. package/nitrogen/generated/ios/swift/RNCamera.swift +1 -8
  72. package/nitrogen/generated/ios/swift/RNHeatmap.swift +1 -8
  73. package/nitrogen/generated/ios/swift/RNHeatmapGradient.swift +11 -15
  74. package/nitrogen/generated/ios/swift/RNInitialProps.swift +1 -8
  75. package/nitrogen/generated/ios/swift/RNLocation.swift +92 -2
  76. package/nitrogen/generated/ios/swift/RNLocationAndroid.swift +215 -0
  77. package/nitrogen/generated/ios/swift/RNLocationConfig.swift +2 -16
  78. package/nitrogen/generated/ios/swift/RNLocationIOS.swift +185 -0
  79. package/nitrogen/generated/ios/swift/RNMarker.swift +47 -15
  80. package/nitrogen/generated/ios/swift/RNPolygon.swift +66 -1
  81. package/nitrogen/generated/ios/swift/RNPolygonHole.swift +47 -0
  82. package/nitrogen/generated/ios/swift/RNPolyline.swift +24 -1
  83. package/nitrogen/generated/ios/swift/RNSnapshotOptions.swift +1 -8
  84. package/nitrogen/generated/shared/c++/RNAndroidLocationConfig.hpp +8 -0
  85. package/nitrogen/generated/shared/c++/RNCamera.hpp +8 -0
  86. package/nitrogen/generated/shared/c++/RNCircle.hpp +8 -0
  87. package/nitrogen/generated/shared/c++/RNHeatmap.hpp +8 -0
  88. package/nitrogen/generated/shared/c++/RNHeatmapGradient.hpp +8 -0
  89. package/nitrogen/generated/shared/c++/RNHeatmapPoint.hpp +8 -0
  90. package/nitrogen/generated/shared/c++/RNIOSLocationConfig.hpp +8 -0
  91. package/nitrogen/generated/shared/c++/RNIndoorBuilding.hpp +8 -0
  92. package/nitrogen/generated/shared/c++/RNIndoorLevel.hpp +8 -0
  93. package/nitrogen/generated/shared/c++/RNInitialProps.hpp +8 -0
  94. package/nitrogen/generated/shared/c++/RNKMLayer.hpp +8 -0
  95. package/nitrogen/generated/shared/c++/RNLatLng.hpp +8 -0
  96. package/nitrogen/generated/shared/c++/RNLatLngBounds.hpp +8 -0
  97. package/nitrogen/generated/shared/c++/RNLocation.hpp +41 -2
  98. package/nitrogen/generated/shared/c++/RNLocationAndroid.hpp +104 -0
  99. package/nitrogen/generated/shared/c++/RNLocationConfig.hpp +8 -0
  100. package/nitrogen/generated/shared/c++/RNLocationIOS.hpp +99 -0
  101. package/nitrogen/generated/shared/c++/RNLocationPermissionResult.hpp +8 -0
  102. package/nitrogen/generated/shared/c++/RNMapPadding.hpp +8 -0
  103. package/nitrogen/generated/shared/c++/RNMapUiSettings.hpp +8 -0
  104. package/nitrogen/generated/shared/c++/RNMapZoomConfig.hpp +8 -0
  105. package/nitrogen/generated/shared/c++/RNMarker.hpp +17 -1
  106. package/nitrogen/generated/shared/c++/RNMarkerSvg.hpp +8 -0
  107. package/nitrogen/generated/shared/c++/RNPolygon.hpp +21 -2
  108. package/nitrogen/generated/shared/c++/RNPolygonHole.hpp +77 -0
  109. package/nitrogen/generated/shared/c++/RNPolyline.hpp +13 -1
  110. package/nitrogen/generated/shared/c++/RNPosition.hpp +8 -0
  111. package/nitrogen/generated/shared/c++/RNRegion.hpp +8 -0
  112. package/nitrogen/generated/shared/c++/RNSize.hpp +8 -0
  113. package/nitrogen/generated/shared/c++/RNSnapshotOptions.hpp +8 -0
  114. package/package.json +9 -16
  115. package/src/GoogleMapsPlus.tsx +20 -0
  116. package/src/index.tsx +6 -14
  117. package/src/types.ts +36 -0
  118. package/lib/module/package.json +0 -1
  119. package/lib/typescript/package.json +0 -1
@@ -0,0 +1,50 @@
1
+ ///
2
+ /// RNLocationAndroid.kt
3
+ /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
+ /// https://github.com/mrousavy/nitro
5
+ /// Copyright © 2025 Marc Rousavy @ Margelo
6
+ ///
7
+
8
+ package com.rngooglemapsplus
9
+
10
+ import androidx.annotation.Keep
11
+ import com.facebook.proguard.annotations.DoNotStrip
12
+ import com.margelo.nitro.core.*
13
+
14
+
15
+ /**
16
+ * Represents the JavaScript object/struct "RNLocationAndroid".
17
+ */
18
+ @DoNotStrip
19
+ @Keep
20
+ data class RNLocationAndroid
21
+ @DoNotStrip
22
+ @Keep
23
+ constructor(
24
+ @DoNotStrip
25
+ @Keep
26
+ val provider: String?,
27
+ @DoNotStrip
28
+ @Keep
29
+ val elapsedRealtimeNanos: Double?,
30
+ @DoNotStrip
31
+ @Keep
32
+ val bearingAccuracyDegrees: Double?,
33
+ @DoNotStrip
34
+ @Keep
35
+ val speedAccuracyMetersPerSecond: Double?,
36
+ @DoNotStrip
37
+ @Keep
38
+ val verticalAccuracyMeters: Double?,
39
+ @DoNotStrip
40
+ @Keep
41
+ val mslAltitudeMeters: Double?,
42
+ @DoNotStrip
43
+ @Keep
44
+ val mslAltitudeAccuracyMeters: Double?,
45
+ @DoNotStrip
46
+ @Keep
47
+ val isMock: Boolean?
48
+ ) {
49
+ /* main constructor */
50
+ }
@@ -0,0 +1,47 @@
1
+ ///
2
+ /// RNLocationIOS.kt
3
+ /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
+ /// https://github.com/mrousavy/nitro
5
+ /// Copyright © 2025 Marc Rousavy @ Margelo
6
+ ///
7
+
8
+ package com.rngooglemapsplus
9
+
10
+ import androidx.annotation.Keep
11
+ import com.facebook.proguard.annotations.DoNotStrip
12
+ import com.margelo.nitro.core.*
13
+
14
+
15
+ /**
16
+ * Represents the JavaScript object/struct "RNLocationIOS".
17
+ */
18
+ @DoNotStrip
19
+ @Keep
20
+ data class RNLocationIOS
21
+ @DoNotStrip
22
+ @Keep
23
+ constructor(
24
+ @DoNotStrip
25
+ @Keep
26
+ val horizontalAccuracy: Double?,
27
+ @DoNotStrip
28
+ @Keep
29
+ val verticalAccuracy: Double?,
30
+ @DoNotStrip
31
+ @Keep
32
+ val speedAccuracy: Double?,
33
+ @DoNotStrip
34
+ @Keep
35
+ val courseAccuracy: Double?,
36
+ @DoNotStrip
37
+ @Keep
38
+ val floor: Double?,
39
+ @DoNotStrip
40
+ @Keep
41
+ val isFromMockProvider: Boolean?,
42
+ @DoNotStrip
43
+ @Keep
44
+ val timestamp: Double?
45
+ ) {
46
+ /* main constructor */
47
+ }
@@ -53,6 +53,12 @@ data class RNMarker
53
53
  val draggable: Boolean?,
54
54
  @DoNotStrip
55
55
  @Keep
56
+ val rotation: Double?,
57
+ @DoNotStrip
58
+ @Keep
59
+ val infoWindowAnchor: RNPosition?,
60
+ @DoNotStrip
61
+ @Keep
56
62
  val iconSvg: RNMarkerSvg?
57
63
  ) {
58
64
  /* main constructor */
@@ -41,7 +41,13 @@ data class RNPolygon
41
41
  val strokeColor: String?,
42
42
  @DoNotStrip
43
43
  @Keep
44
- val strokeWidth: Double?
44
+ val strokeWidth: Double?,
45
+ @DoNotStrip
46
+ @Keep
47
+ val holes: Array<RNPolygonHole>?,
48
+ @DoNotStrip
49
+ @Keep
50
+ val geodesic: Boolean?
45
51
  ) {
46
52
  /* main constructor */
47
53
  }
@@ -0,0 +1,29 @@
1
+ ///
2
+ /// RNPolygonHole.kt
3
+ /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
+ /// https://github.com/mrousavy/nitro
5
+ /// Copyright © 2025 Marc Rousavy @ Margelo
6
+ ///
7
+
8
+ package com.rngooglemapsplus
9
+
10
+ import androidx.annotation.Keep
11
+ import com.facebook.proguard.annotations.DoNotStrip
12
+ import com.margelo.nitro.core.*
13
+
14
+
15
+ /**
16
+ * Represents the JavaScript object/struct "RNPolygonHole".
17
+ */
18
+ @DoNotStrip
19
+ @Keep
20
+ data class RNPolygonHole
21
+ @DoNotStrip
22
+ @Keep
23
+ constructor(
24
+ @DoNotStrip
25
+ @Keep
26
+ val coordinates: Array<RNLatLng>
27
+ ) {
28
+ /* main constructor */
29
+ }
@@ -41,6 +41,9 @@ data class RNPolyline
41
41
  val lineJoin: RNLineJoinType?,
42
42
  @DoNotStrip
43
43
  @Keep
44
+ val geodesic: Boolean?,
45
+ @DoNotStrip
46
+ @Keep
44
47
  val color: String?,
45
48
  @DoNotStrip
46
49
  @Keep
@@ -17,7 +17,7 @@ import com.rngooglemapsplus.*
17
17
  /**
18
18
  * Represents the React Native `ViewManager` for the "RNGoogleMapsPlusView" Nitro HybridView.
19
19
  */
20
- class HybridRNGoogleMapsPlusViewManager: SimpleViewManager<View>() {
20
+ open class HybridRNGoogleMapsPlusViewManager: SimpleViewManager<View>() {
21
21
  private val views = hashMapOf<View, RNGoogleMapsPlusView>()
22
22
 
23
23
  override fun getName(): String {
@@ -31,18 +31,23 @@ class HybridRNGoogleMapsPlusViewManager: SimpleViewManager<View>() {
31
31
  return view
32
32
  }
33
33
 
34
+
34
35
  override fun onDropViewInstance(view: View) {
35
36
  super.onDropViewInstance(view)
36
37
  views.remove(view)
38
+ /// added by nitrogen-patch.js
39
+ if (view is GoogleMapsViewImpl) {
40
+ view.destroyInternal()
41
+ }
37
42
  }
38
43
 
39
-
40
44
  /// added by nitrogen-patch.js
41
45
  override fun prepareToRecycleView(reactContext: ThemedReactContext, view: View): View? {
42
46
  return null
43
47
  }
44
48
 
45
- override fun updateState(view: View, props: ReactStylesDiffMap, stateWrapper: StateWrapper): Any? {
49
+
50
+ override fun updateState(view: View, props: ReactStylesDiffMap, stateWrapper: StateWrapper): Any? {
46
51
  val hybridView = views[view] ?: throw Error("Couldn't find view $view in local views table!")
47
52
 
48
53
  // 1. Update each prop individually
@@ -15,7 +15,7 @@
15
15
  namespace margelo::nitro::rngooglemapsplus::bridge::swift {
16
16
 
17
17
  // pragma MARK: std::function<void(const RNLocationPermissionResult& /* result */)>
18
- Func_void_RNLocationPermissionResult create_Func_void_RNLocationPermissionResult(void* _Nonnull swiftClosureWrapper) noexcept {
18
+ Func_void_RNLocationPermissionResult create_Func_void_RNLocationPermissionResult(void* NON_NULL swiftClosureWrapper) noexcept {
19
19
  auto swiftClosure = RNGoogleMapsPlus::Func_void_RNLocationPermissionResult::fromUnsafe(swiftClosureWrapper);
20
20
  return [swiftClosure = std::move(swiftClosure)](const RNLocationPermissionResult& result) mutable -> void {
21
21
  swiftClosure.call(result);
@@ -23,7 +23,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
23
23
  }
24
24
 
25
25
  // pragma MARK: std::function<void(const std::exception_ptr& /* error */)>
26
- Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* _Nonnull swiftClosureWrapper) noexcept {
26
+ Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* NON_NULL swiftClosureWrapper) noexcept {
27
27
  auto swiftClosure = RNGoogleMapsPlus::Func_void_std__exception_ptr::fromUnsafe(swiftClosureWrapper);
28
28
  return [swiftClosure = std::move(swiftClosure)](const std::exception_ptr& error) mutable -> void {
29
29
  swiftClosure.call(error);
@@ -31,11 +31,11 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
31
31
  }
32
32
 
33
33
  // pragma MARK: std::shared_ptr<HybridRNGoogleMapsPlusModuleSpec>
34
- std::shared_ptr<HybridRNGoogleMapsPlusModuleSpec> create_std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_(void* _Nonnull swiftUnsafePointer) noexcept {
34
+ std::shared_ptr<HybridRNGoogleMapsPlusModuleSpec> create_std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
35
35
  RNGoogleMapsPlus::HybridRNGoogleMapsPlusModuleSpec_cxx swiftPart = RNGoogleMapsPlus::HybridRNGoogleMapsPlusModuleSpec_cxx::fromUnsafe(swiftUnsafePointer);
36
36
  return std::make_shared<margelo::nitro::rngooglemapsplus::HybridRNGoogleMapsPlusModuleSpecSwift>(swiftPart);
37
37
  }
38
- void* _Nonnull get_std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_(std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_ cppType) noexcept {
38
+ void* NON_NULL get_std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_(std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_ cppType) {
39
39
  std::shared_ptr<margelo::nitro::rngooglemapsplus::HybridRNGoogleMapsPlusModuleSpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::rngooglemapsplus::HybridRNGoogleMapsPlusModuleSpecSwift>(cppType);
40
40
  #ifdef NITRO_DEBUG
41
41
  if (swiftWrapper == nullptr) [[unlikely]] {
@@ -47,7 +47,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
47
47
  }
48
48
 
49
49
  // pragma MARK: std::function<void(RNMapErrorCode /* error */)>
50
- Func_void_RNMapErrorCode create_Func_void_RNMapErrorCode(void* _Nonnull swiftClosureWrapper) noexcept {
50
+ Func_void_RNMapErrorCode create_Func_void_RNMapErrorCode(void* NON_NULL swiftClosureWrapper) noexcept {
51
51
  auto swiftClosure = RNGoogleMapsPlus::Func_void_RNMapErrorCode::fromUnsafe(swiftClosureWrapper);
52
52
  return [swiftClosure = std::move(swiftClosure)](RNMapErrorCode error) mutable -> void {
53
53
  swiftClosure.call(static_cast<int>(error));
@@ -55,7 +55,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
55
55
  }
56
56
 
57
57
  // pragma MARK: std::function<void(bool /* ready */)>
58
- Func_void_bool create_Func_void_bool(void* _Nonnull swiftClosureWrapper) noexcept {
58
+ Func_void_bool create_Func_void_bool(void* NON_NULL swiftClosureWrapper) noexcept {
59
59
  auto swiftClosure = RNGoogleMapsPlus::Func_void_bool::fromUnsafe(swiftClosureWrapper);
60
60
  return [swiftClosure = std::move(swiftClosure)](bool ready) mutable -> void {
61
61
  swiftClosure.call(ready);
@@ -63,7 +63,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
63
63
  }
64
64
 
65
65
  // pragma MARK: std::function<void(const RNLocation& /* location */)>
66
- Func_void_RNLocation create_Func_void_RNLocation(void* _Nonnull swiftClosureWrapper) noexcept {
66
+ Func_void_RNLocation create_Func_void_RNLocation(void* NON_NULL swiftClosureWrapper) noexcept {
67
67
  auto swiftClosure = RNGoogleMapsPlus::Func_void_RNLocation::fromUnsafe(swiftClosureWrapper);
68
68
  return [swiftClosure = std::move(swiftClosure)](const RNLocation& location) mutable -> void {
69
69
  swiftClosure.call(location);
@@ -71,7 +71,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
71
71
  }
72
72
 
73
73
  // pragma MARK: std::function<void(RNLocationErrorCode /* error */)>
74
- Func_void_RNLocationErrorCode create_Func_void_RNLocationErrorCode(void* _Nonnull swiftClosureWrapper) noexcept {
74
+ Func_void_RNLocationErrorCode create_Func_void_RNLocationErrorCode(void* NON_NULL swiftClosureWrapper) noexcept {
75
75
  auto swiftClosure = RNGoogleMapsPlus::Func_void_RNLocationErrorCode::fromUnsafe(swiftClosureWrapper);
76
76
  return [swiftClosure = std::move(swiftClosure)](RNLocationErrorCode error) mutable -> void {
77
77
  swiftClosure.call(static_cast<int>(error));
@@ -79,7 +79,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
79
79
  }
80
80
 
81
81
  // pragma MARK: std::function<void(const RNLatLng& /* coordinate */)>
82
- Func_void_RNLatLng create_Func_void_RNLatLng(void* _Nonnull swiftClosureWrapper) noexcept {
82
+ Func_void_RNLatLng create_Func_void_RNLatLng(void* NON_NULL swiftClosureWrapper) noexcept {
83
83
  auto swiftClosure = RNGoogleMapsPlus::Func_void_RNLatLng::fromUnsafe(swiftClosureWrapper);
84
84
  return [swiftClosure = std::move(swiftClosure)](const RNLatLng& coordinate) mutable -> void {
85
85
  swiftClosure.call(coordinate);
@@ -87,7 +87,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
87
87
  }
88
88
 
89
89
  // pragma MARK: std::function<void(const std::optional<std::string>& /* id */)>
90
- Func_void_std__optional_std__string_ create_Func_void_std__optional_std__string_(void* _Nonnull swiftClosureWrapper) noexcept {
90
+ Func_void_std__optional_std__string_ create_Func_void_std__optional_std__string_(void* NON_NULL swiftClosureWrapper) noexcept {
91
91
  auto swiftClosure = RNGoogleMapsPlus::Func_void_std__optional_std__string_::fromUnsafe(swiftClosureWrapper);
92
92
  return [swiftClosure = std::move(swiftClosure)](const std::optional<std::string>& id) mutable -> void {
93
93
  swiftClosure.call(id);
@@ -95,7 +95,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
95
95
  }
96
96
 
97
97
  // pragma MARK: std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>
98
- Func_void_std__optional_std__string__RNLatLng create_Func_void_std__optional_std__string__RNLatLng(void* _Nonnull swiftClosureWrapper) noexcept {
98
+ Func_void_std__optional_std__string__RNLatLng create_Func_void_std__optional_std__string__RNLatLng(void* NON_NULL swiftClosureWrapper) noexcept {
99
99
  auto swiftClosure = RNGoogleMapsPlus::Func_void_std__optional_std__string__RNLatLng::fromUnsafe(swiftClosureWrapper);
100
100
  return [swiftClosure = std::move(swiftClosure)](const std::optional<std::string>& id, const RNLatLng& location) mutable -> void {
101
101
  swiftClosure.call(id, location);
@@ -103,7 +103,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
103
103
  }
104
104
 
105
105
  // pragma MARK: std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>
106
- Func_void_RNIndoorBuilding create_Func_void_RNIndoorBuilding(void* _Nonnull swiftClosureWrapper) noexcept {
106
+ Func_void_RNIndoorBuilding create_Func_void_RNIndoorBuilding(void* NON_NULL swiftClosureWrapper) noexcept {
107
107
  auto swiftClosure = RNGoogleMapsPlus::Func_void_RNIndoorBuilding::fromUnsafe(swiftClosureWrapper);
108
108
  return [swiftClosure = std::move(swiftClosure)](const RNIndoorBuilding& indoorBuilding) mutable -> void {
109
109
  swiftClosure.call(indoorBuilding);
@@ -111,7 +111,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
111
111
  }
112
112
 
113
113
  // pragma MARK: std::function<void(const RNIndoorLevel& /* indoorLevel */)>
114
- Func_void_RNIndoorLevel create_Func_void_RNIndoorLevel(void* _Nonnull swiftClosureWrapper) noexcept {
114
+ Func_void_RNIndoorLevel create_Func_void_RNIndoorLevel(void* NON_NULL swiftClosureWrapper) noexcept {
115
115
  auto swiftClosure = RNGoogleMapsPlus::Func_void_RNIndoorLevel::fromUnsafe(swiftClosureWrapper);
116
116
  return [swiftClosure = std::move(swiftClosure)](const RNIndoorLevel& indoorLevel) mutable -> void {
117
117
  swiftClosure.call(indoorLevel);
@@ -119,7 +119,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
119
119
  }
120
120
 
121
121
  // pragma MARK: std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */, bool /* isGesture */)>
122
- Func_void_RNRegion_RNCamera_bool create_Func_void_RNRegion_RNCamera_bool(void* _Nonnull swiftClosureWrapper) noexcept {
122
+ Func_void_RNRegion_RNCamera_bool create_Func_void_RNRegion_RNCamera_bool(void* NON_NULL swiftClosureWrapper) noexcept {
123
123
  auto swiftClosure = RNGoogleMapsPlus::Func_void_RNRegion_RNCamera_bool::fromUnsafe(swiftClosureWrapper);
124
124
  return [swiftClosure = std::move(swiftClosure)](const RNRegion& region, const RNCamera& camera, bool isGesture) mutable -> void {
125
125
  swiftClosure.call(region, camera, isGesture);
@@ -127,11 +127,11 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
127
127
  }
128
128
 
129
129
  // pragma MARK: std::shared_ptr<HybridRNGoogleMapsPlusViewSpec>
130
- std::shared_ptr<HybridRNGoogleMapsPlusViewSpec> create_std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_(void* _Nonnull swiftUnsafePointer) noexcept {
130
+ std::shared_ptr<HybridRNGoogleMapsPlusViewSpec> create_std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
131
131
  RNGoogleMapsPlus::HybridRNGoogleMapsPlusViewSpec_cxx swiftPart = RNGoogleMapsPlus::HybridRNGoogleMapsPlusViewSpec_cxx::fromUnsafe(swiftUnsafePointer);
132
132
  return std::make_shared<margelo::nitro::rngooglemapsplus::HybridRNGoogleMapsPlusViewSpecSwift>(swiftPart);
133
133
  }
134
- void* _Nonnull get_std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_(std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_ cppType) noexcept {
134
+ void* NON_NULL get_std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_(std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_ cppType) {
135
135
  std::shared_ptr<margelo::nitro::rngooglemapsplus::HybridRNGoogleMapsPlusViewSpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::rngooglemapsplus::HybridRNGoogleMapsPlusViewSpecSwift>(cppType);
136
136
  #ifdef NITRO_DEBUG
137
137
  if (swiftWrapper == nullptr) [[unlikely]] {
@@ -50,10 +50,14 @@ namespace margelo::nitro::rngooglemapsplus { struct RNLatLng; }
50
50
  namespace margelo::nitro::rngooglemapsplus { enum class RNLineCapType; }
51
51
  // Forward declaration of `RNLineJoinType` to properly resolve imports.
52
52
  namespace margelo::nitro::rngooglemapsplus { enum class RNLineJoinType; }
53
+ // Forward declaration of `RNLocationAndroid` to properly resolve imports.
54
+ namespace margelo::nitro::rngooglemapsplus { struct RNLocationAndroid; }
53
55
  // Forward declaration of `RNLocationConfig` to properly resolve imports.
54
56
  namespace margelo::nitro::rngooglemapsplus { struct RNLocationConfig; }
55
57
  // Forward declaration of `RNLocationErrorCode` to properly resolve imports.
56
58
  namespace margelo::nitro::rngooglemapsplus { enum class RNLocationErrorCode; }
59
+ // Forward declaration of `RNLocationIOS` to properly resolve imports.
60
+ namespace margelo::nitro::rngooglemapsplus { struct RNLocationIOS; }
57
61
  // Forward declaration of `RNLocationPermissionResult` to properly resolve imports.
58
62
  namespace margelo::nitro::rngooglemapsplus { struct RNLocationPermissionResult; }
59
63
  // Forward declaration of `RNLocation` to properly resolve imports.
@@ -72,6 +76,8 @@ namespace margelo::nitro::rngooglemapsplus { struct RNMapZoomConfig; }
72
76
  namespace margelo::nitro::rngooglemapsplus { struct RNMarkerSvg; }
73
77
  // Forward declaration of `RNMarker` to properly resolve imports.
74
78
  namespace margelo::nitro::rngooglemapsplus { struct RNMarker; }
79
+ // Forward declaration of `RNPolygonHole` to properly resolve imports.
80
+ namespace margelo::nitro::rngooglemapsplus { struct RNPolygonHole; }
75
81
  // Forward declaration of `RNPolygon` to properly resolve imports.
76
82
  namespace margelo::nitro::rngooglemapsplus { struct RNPolygon; }
77
83
  // Forward declaration of `RNPolyline` to properly resolve imports.
@@ -114,8 +120,10 @@ namespace RNGoogleMapsPlus { class HybridRNGoogleMapsPlusViewSpec_cxx; }
114
120
  #include "RNLineCapType.hpp"
115
121
  #include "RNLineJoinType.hpp"
116
122
  #include "RNLocation.hpp"
123
+ #include "RNLocationAndroid.hpp"
117
124
  #include "RNLocationConfig.hpp"
118
125
  #include "RNLocationErrorCode.hpp"
126
+ #include "RNLocationIOS.hpp"
119
127
  #include "RNLocationPermissionResult.hpp"
120
128
  #include "RNMapErrorCode.hpp"
121
129
  #include "RNMapPadding.hpp"
@@ -125,11 +133,13 @@ namespace RNGoogleMapsPlus { class HybridRNGoogleMapsPlusViewSpec_cxx; }
125
133
  #include "RNMarker.hpp"
126
134
  #include "RNMarkerSvg.hpp"
127
135
  #include "RNPolygon.hpp"
136
+ #include "RNPolygonHole.hpp"
128
137
  #include "RNPolyline.hpp"
129
138
  #include "RNPosition.hpp"
130
139
  #include "RNRegion.hpp"
131
140
  #include "RNSize.hpp"
132
141
  #include "RNUserInterfaceStyle.hpp"
142
+ #include <NitroModules/FastVectorCopy.hpp>
133
143
  #include <NitroModules/Promise.hpp>
134
144
  #include <NitroModules/PromiseHolder.hpp>
135
145
  #include <NitroModules/Result.hpp>
@@ -205,7 +215,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
205
215
  private:
206
216
  std::unique_ptr<std::function<void(const RNLocationPermissionResult& /* result */)>> _function;
207
217
  } SWIFT_NONCOPYABLE;
208
- Func_void_RNLocationPermissionResult create_Func_void_RNLocationPermissionResult(void* _Nonnull swiftClosureWrapper) noexcept;
218
+ Func_void_RNLocationPermissionResult create_Func_void_RNLocationPermissionResult(void* NON_NULL swiftClosureWrapper) noexcept;
209
219
  inline Func_void_RNLocationPermissionResult_Wrapper wrap_Func_void_RNLocationPermissionResult(Func_void_RNLocationPermissionResult value) noexcept {
210
220
  return Func_void_RNLocationPermissionResult_Wrapper(std::move(value));
211
221
  }
@@ -227,7 +237,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
227
237
  private:
228
238
  std::unique_ptr<std::function<void(const std::exception_ptr& /* error */)>> _function;
229
239
  } SWIFT_NONCOPYABLE;
230
- Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* _Nonnull swiftClosureWrapper) noexcept;
240
+ Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* NON_NULL swiftClosureWrapper) noexcept;
231
241
  inline Func_void_std__exception_ptr_Wrapper wrap_Func_void_std__exception_ptr(Func_void_std__exception_ptr value) noexcept {
232
242
  return Func_void_std__exception_ptr_Wrapper(std::move(value));
233
243
  }
@@ -237,8 +247,8 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
237
247
  * Specialized version of `std::shared_ptr<HybridRNGoogleMapsPlusModuleSpec>`.
238
248
  */
239
249
  using std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_ = std::shared_ptr<HybridRNGoogleMapsPlusModuleSpec>;
240
- std::shared_ptr<HybridRNGoogleMapsPlusModuleSpec> create_std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_(void* _Nonnull swiftUnsafePointer) noexcept;
241
- void* _Nonnull get_std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_(std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_ cppType) noexcept;
250
+ std::shared_ptr<HybridRNGoogleMapsPlusModuleSpec> create_std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_(void* NON_NULL swiftUnsafePointer) noexcept;
251
+ void* NON_NULL get_std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_(std__shared_ptr_HybridRNGoogleMapsPlusModuleSpec_ cppType);
242
252
 
243
253
  // pragma MARK: std::weak_ptr<HybridRNGoogleMapsPlusModuleSpec>
244
254
  using std__weak_ptr_HybridRNGoogleMapsPlusModuleSpec_ = std::weak_ptr<HybridRNGoogleMapsPlusModuleSpec>;
@@ -503,6 +513,32 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
503
513
  return vector;
504
514
  }
505
515
 
516
+ // pragma MARK: std::vector<RNPolygonHole>
517
+ /**
518
+ * Specialized version of `std::vector<RNPolygonHole>`.
519
+ */
520
+ using std__vector_RNPolygonHole_ = std::vector<RNPolygonHole>;
521
+ inline std::vector<RNPolygonHole> create_std__vector_RNPolygonHole_(size_t size) noexcept {
522
+ std::vector<RNPolygonHole> vector;
523
+ vector.reserve(size);
524
+ return vector;
525
+ }
526
+
527
+ // pragma MARK: std::optional<std::vector<RNPolygonHole>>
528
+ /**
529
+ * Specialized version of `std::optional<std::vector<RNPolygonHole>>`.
530
+ */
531
+ using std__optional_std__vector_RNPolygonHole__ = std::optional<std::vector<RNPolygonHole>>;
532
+ inline std::optional<std::vector<RNPolygonHole>> create_std__optional_std__vector_RNPolygonHole__(const std::vector<RNPolygonHole>& value) noexcept {
533
+ return std::optional<std::vector<RNPolygonHole>>(value);
534
+ }
535
+ inline bool has_value_std__optional_std__vector_RNPolygonHole__(const std::optional<std::vector<RNPolygonHole>>& optional) noexcept {
536
+ return optional.has_value();
537
+ }
538
+ inline std::vector<RNPolygonHole> get_std__optional_std__vector_RNPolygonHole__(const std::optional<std::vector<RNPolygonHole>>& optional) noexcept {
539
+ return *optional;
540
+ }
541
+
506
542
  // pragma MARK: std::vector<RNPolygon>
507
543
  /**
508
544
  * Specialized version of `std::vector<RNPolygon>`.
@@ -638,10 +674,11 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
638
674
  * Specialized version of `std::vector<double>`.
639
675
  */
640
676
  using std__vector_double_ = std::vector<double>;
641
- inline std::vector<double> create_std__vector_double_(size_t size) noexcept {
642
- std::vector<double> vector;
643
- vector.reserve(size);
644
- return vector;
677
+ inline std::vector<double> copy_std__vector_double_(const double* CONTIGUOUS_MEMORY NON_NULL data, size_t size) noexcept {
678
+ return margelo::nitro::FastVectorCopy<double>(data, size);
679
+ }
680
+ inline const double* CONTIGUOUS_MEMORY NON_NULL get_data_std__vector_double_(const std::vector<double>& vector) noexcept {
681
+ return vector.data();
645
682
  }
646
683
 
647
684
  // pragma MARK: std::optional<RNHeatmapGradient>
@@ -803,7 +840,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
803
840
  private:
804
841
  std::unique_ptr<std::function<void(RNMapErrorCode /* error */)>> _function;
805
842
  } SWIFT_NONCOPYABLE;
806
- Func_void_RNMapErrorCode create_Func_void_RNMapErrorCode(void* _Nonnull swiftClosureWrapper) noexcept;
843
+ Func_void_RNMapErrorCode create_Func_void_RNMapErrorCode(void* NON_NULL swiftClosureWrapper) noexcept;
807
844
  inline Func_void_RNMapErrorCode_Wrapper wrap_Func_void_RNMapErrorCode(Func_void_RNMapErrorCode value) noexcept {
808
845
  return Func_void_RNMapErrorCode_Wrapper(std::move(value));
809
846
  }
@@ -840,7 +877,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
840
877
  private:
841
878
  std::unique_ptr<std::function<void(bool /* ready */)>> _function;
842
879
  } SWIFT_NONCOPYABLE;
843
- Func_void_bool create_Func_void_bool(void* _Nonnull swiftClosureWrapper) noexcept;
880
+ Func_void_bool create_Func_void_bool(void* NON_NULL swiftClosureWrapper) noexcept;
844
881
  inline Func_void_bool_Wrapper wrap_Func_void_bool(Func_void_bool value) noexcept {
845
882
  return Func_void_bool_Wrapper(std::move(value));
846
883
  }
@@ -860,6 +897,36 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
860
897
  return *optional;
861
898
  }
862
899
 
900
+ // pragma MARK: std::optional<RNLocationAndroid>
901
+ /**
902
+ * Specialized version of `std::optional<RNLocationAndroid>`.
903
+ */
904
+ using std__optional_RNLocationAndroid_ = std::optional<RNLocationAndroid>;
905
+ inline std::optional<RNLocationAndroid> create_std__optional_RNLocationAndroid_(const RNLocationAndroid& value) noexcept {
906
+ return std::optional<RNLocationAndroid>(value);
907
+ }
908
+ inline bool has_value_std__optional_RNLocationAndroid_(const std::optional<RNLocationAndroid>& optional) noexcept {
909
+ return optional.has_value();
910
+ }
911
+ inline RNLocationAndroid get_std__optional_RNLocationAndroid_(const std::optional<RNLocationAndroid>& optional) noexcept {
912
+ return *optional;
913
+ }
914
+
915
+ // pragma MARK: std::optional<RNLocationIOS>
916
+ /**
917
+ * Specialized version of `std::optional<RNLocationIOS>`.
918
+ */
919
+ using std__optional_RNLocationIOS_ = std::optional<RNLocationIOS>;
920
+ inline std::optional<RNLocationIOS> create_std__optional_RNLocationIOS_(const RNLocationIOS& value) noexcept {
921
+ return std::optional<RNLocationIOS>(value);
922
+ }
923
+ inline bool has_value_std__optional_RNLocationIOS_(const std::optional<RNLocationIOS>& optional) noexcept {
924
+ return optional.has_value();
925
+ }
926
+ inline RNLocationIOS get_std__optional_RNLocationIOS_(const std::optional<RNLocationIOS>& optional) noexcept {
927
+ return *optional;
928
+ }
929
+
863
930
  // pragma MARK: std::function<void(const RNLocation& /* location */)>
864
931
  /**
865
932
  * Specialized version of `std::function<void(const RNLocation&)>`.
@@ -877,7 +944,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
877
944
  private:
878
945
  std::unique_ptr<std::function<void(const RNLocation& /* location */)>> _function;
879
946
  } SWIFT_NONCOPYABLE;
880
- Func_void_RNLocation create_Func_void_RNLocation(void* _Nonnull swiftClosureWrapper) noexcept;
947
+ Func_void_RNLocation create_Func_void_RNLocation(void* NON_NULL swiftClosureWrapper) noexcept;
881
948
  inline Func_void_RNLocation_Wrapper wrap_Func_void_RNLocation(Func_void_RNLocation value) noexcept {
882
949
  return Func_void_RNLocation_Wrapper(std::move(value));
883
950
  }
@@ -914,7 +981,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
914
981
  private:
915
982
  std::unique_ptr<std::function<void(RNLocationErrorCode /* error */)>> _function;
916
983
  } SWIFT_NONCOPYABLE;
917
- Func_void_RNLocationErrorCode create_Func_void_RNLocationErrorCode(void* _Nonnull swiftClosureWrapper) noexcept;
984
+ Func_void_RNLocationErrorCode create_Func_void_RNLocationErrorCode(void* NON_NULL swiftClosureWrapper) noexcept;
918
985
  inline Func_void_RNLocationErrorCode_Wrapper wrap_Func_void_RNLocationErrorCode(Func_void_RNLocationErrorCode value) noexcept {
919
986
  return Func_void_RNLocationErrorCode_Wrapper(std::move(value));
920
987
  }
@@ -951,7 +1018,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
951
1018
  private:
952
1019
  std::unique_ptr<std::function<void(const RNLatLng& /* coordinate */)>> _function;
953
1020
  } SWIFT_NONCOPYABLE;
954
- Func_void_RNLatLng create_Func_void_RNLatLng(void* _Nonnull swiftClosureWrapper) noexcept;
1021
+ Func_void_RNLatLng create_Func_void_RNLatLng(void* NON_NULL swiftClosureWrapper) noexcept;
955
1022
  inline Func_void_RNLatLng_Wrapper wrap_Func_void_RNLatLng(Func_void_RNLatLng value) noexcept {
956
1023
  return Func_void_RNLatLng_Wrapper(std::move(value));
957
1024
  }
@@ -988,7 +1055,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
988
1055
  private:
989
1056
  std::unique_ptr<std::function<void(const std::optional<std::string>& /* id */)>> _function;
990
1057
  } SWIFT_NONCOPYABLE;
991
- Func_void_std__optional_std__string_ create_Func_void_std__optional_std__string_(void* _Nonnull swiftClosureWrapper) noexcept;
1058
+ Func_void_std__optional_std__string_ create_Func_void_std__optional_std__string_(void* NON_NULL swiftClosureWrapper) noexcept;
992
1059
  inline Func_void_std__optional_std__string__Wrapper wrap_Func_void_std__optional_std__string_(Func_void_std__optional_std__string_ value) noexcept {
993
1060
  return Func_void_std__optional_std__string__Wrapper(std::move(value));
994
1061
  }
@@ -1025,7 +1092,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
1025
1092
  private:
1026
1093
  std::unique_ptr<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>> _function;
1027
1094
  } SWIFT_NONCOPYABLE;
1028
- Func_void_std__optional_std__string__RNLatLng create_Func_void_std__optional_std__string__RNLatLng(void* _Nonnull swiftClosureWrapper) noexcept;
1095
+ Func_void_std__optional_std__string__RNLatLng create_Func_void_std__optional_std__string__RNLatLng(void* NON_NULL swiftClosureWrapper) noexcept;
1029
1096
  inline Func_void_std__optional_std__string__RNLatLng_Wrapper wrap_Func_void_std__optional_std__string__RNLatLng(Func_void_std__optional_std__string__RNLatLng value) noexcept {
1030
1097
  return Func_void_std__optional_std__string__RNLatLng_Wrapper(std::move(value));
1031
1098
  }
@@ -1073,7 +1140,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
1073
1140
  private:
1074
1141
  std::unique_ptr<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>> _function;
1075
1142
  } SWIFT_NONCOPYABLE;
1076
- Func_void_RNIndoorBuilding create_Func_void_RNIndoorBuilding(void* _Nonnull swiftClosureWrapper) noexcept;
1143
+ Func_void_RNIndoorBuilding create_Func_void_RNIndoorBuilding(void* NON_NULL swiftClosureWrapper) noexcept;
1077
1144
  inline Func_void_RNIndoorBuilding_Wrapper wrap_Func_void_RNIndoorBuilding(Func_void_RNIndoorBuilding value) noexcept {
1078
1145
  return Func_void_RNIndoorBuilding_Wrapper(std::move(value));
1079
1146
  }
@@ -1110,7 +1177,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
1110
1177
  private:
1111
1178
  std::unique_ptr<std::function<void(const RNIndoorLevel& /* indoorLevel */)>> _function;
1112
1179
  } SWIFT_NONCOPYABLE;
1113
- Func_void_RNIndoorLevel create_Func_void_RNIndoorLevel(void* _Nonnull swiftClosureWrapper) noexcept;
1180
+ Func_void_RNIndoorLevel create_Func_void_RNIndoorLevel(void* NON_NULL swiftClosureWrapper) noexcept;
1114
1181
  inline Func_void_RNIndoorLevel_Wrapper wrap_Func_void_RNIndoorLevel(Func_void_RNIndoorLevel value) noexcept {
1115
1182
  return Func_void_RNIndoorLevel_Wrapper(std::move(value));
1116
1183
  }
@@ -1147,7 +1214,7 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
1147
1214
  private:
1148
1215
  std::unique_ptr<std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */, bool /* isGesture */)>> _function;
1149
1216
  } SWIFT_NONCOPYABLE;
1150
- Func_void_RNRegion_RNCamera_bool create_Func_void_RNRegion_RNCamera_bool(void* _Nonnull swiftClosureWrapper) noexcept;
1217
+ Func_void_RNRegion_RNCamera_bool create_Func_void_RNRegion_RNCamera_bool(void* NON_NULL swiftClosureWrapper) noexcept;
1151
1218
  inline Func_void_RNRegion_RNCamera_bool_Wrapper wrap_Func_void_RNRegion_RNCamera_bool(Func_void_RNRegion_RNCamera_bool value) noexcept {
1152
1219
  return Func_void_RNRegion_RNCamera_bool_Wrapper(std::move(value));
1153
1220
  }
@@ -1214,8 +1281,8 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
1214
1281
  * Specialized version of `std::shared_ptr<HybridRNGoogleMapsPlusViewSpec>`.
1215
1282
  */
1216
1283
  using std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_ = std::shared_ptr<HybridRNGoogleMapsPlusViewSpec>;
1217
- std::shared_ptr<HybridRNGoogleMapsPlusViewSpec> create_std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_(void* _Nonnull swiftUnsafePointer) noexcept;
1218
- void* _Nonnull get_std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_(std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_ cppType) noexcept;
1284
+ std::shared_ptr<HybridRNGoogleMapsPlusViewSpec> create_std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_(void* NON_NULL swiftUnsafePointer) noexcept;
1285
+ void* NON_NULL get_std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_(std__shared_ptr_HybridRNGoogleMapsPlusViewSpec_ cppType);
1219
1286
 
1220
1287
  // pragma MARK: std::weak_ptr<HybridRNGoogleMapsPlusViewSpec>
1221
1288
  using std__weak_ptr_HybridRNGoogleMapsPlusViewSpec_ = std::weak_ptr<HybridRNGoogleMapsPlusViewSpec>;
@@ -50,10 +50,14 @@ namespace margelo::nitro::rngooglemapsplus { struct RNLatLng; }
50
50
  namespace margelo::nitro::rngooglemapsplus { enum class RNLineCapType; }
51
51
  // Forward declaration of `RNLineJoinType` to properly resolve imports.
52
52
  namespace margelo::nitro::rngooglemapsplus { enum class RNLineJoinType; }
53
+ // Forward declaration of `RNLocationAndroid` to properly resolve imports.
54
+ namespace margelo::nitro::rngooglemapsplus { struct RNLocationAndroid; }
53
55
  // Forward declaration of `RNLocationConfig` to properly resolve imports.
54
56
  namespace margelo::nitro::rngooglemapsplus { struct RNLocationConfig; }
55
57
  // Forward declaration of `RNLocationErrorCode` to properly resolve imports.
56
58
  namespace margelo::nitro::rngooglemapsplus { enum class RNLocationErrorCode; }
59
+ // Forward declaration of `RNLocationIOS` to properly resolve imports.
60
+ namespace margelo::nitro::rngooglemapsplus { struct RNLocationIOS; }
57
61
  // Forward declaration of `RNLocationPermissionResult` to properly resolve imports.
58
62
  namespace margelo::nitro::rngooglemapsplus { struct RNLocationPermissionResult; }
59
63
  // Forward declaration of `RNLocation` to properly resolve imports.
@@ -72,6 +76,8 @@ namespace margelo::nitro::rngooglemapsplus { struct RNMapZoomConfig; }
72
76
  namespace margelo::nitro::rngooglemapsplus { struct RNMarkerSvg; }
73
77
  // Forward declaration of `RNMarker` to properly resolve imports.
74
78
  namespace margelo::nitro::rngooglemapsplus { struct RNMarker; }
79
+ // Forward declaration of `RNPolygonHole` to properly resolve imports.
80
+ namespace margelo::nitro::rngooglemapsplus { struct RNPolygonHole; }
75
81
  // Forward declaration of `RNPolygon` to properly resolve imports.
76
82
  namespace margelo::nitro::rngooglemapsplus { struct RNPolygon; }
77
83
  // Forward declaration of `RNPolyline` to properly resolve imports.
@@ -114,8 +120,10 @@ namespace margelo::nitro::rngooglemapsplus { enum class RNUserInterfaceStyle; }
114
120
  #include "RNLineCapType.hpp"
115
121
  #include "RNLineJoinType.hpp"
116
122
  #include "RNLocation.hpp"
123
+ #include "RNLocationAndroid.hpp"
117
124
  #include "RNLocationConfig.hpp"
118
125
  #include "RNLocationErrorCode.hpp"
126
+ #include "RNLocationIOS.hpp"
119
127
  #include "RNLocationPermissionResult.hpp"
120
128
  #include "RNMapErrorCode.hpp"
121
129
  #include "RNMapPadding.hpp"
@@ -125,6 +133,7 @@ namespace margelo::nitro::rngooglemapsplus { enum class RNUserInterfaceStyle; }
125
133
  #include "RNMarker.hpp"
126
134
  #include "RNMarkerSvg.hpp"
127
135
  #include "RNPolygon.hpp"
136
+ #include "RNPolygonHole.hpp"
128
137
  #include "RNPolyline.hpp"
129
138
  #include "RNPosition.hpp"
130
139
  #include "RNRegion.hpp"