react-native-google-maps-plus 1.2.0 → 1.3.0-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.
Files changed (58) hide show
  1. package/android/src/main/java/com/rngooglemapsplus/GoogleMapsViewImpl.kt +57 -8
  2. package/android/src/main/java/com/rngooglemapsplus/MapMarkerBuilder.kt +13 -3
  3. package/android/src/main/java/com/rngooglemapsplus/RNGoogleMapsPlusView.kt +29 -4
  4. package/android/src/main/java/com/rngooglemapsplus/extensions/IndoorBuildingExtension.kt +33 -0
  5. package/ios/GoogleMapViewImpl.swift +61 -14
  6. package/ios/MapMarkerBuilder.swift +17 -8
  7. package/ios/RNGoogleMapsPlusView.swift +19 -4
  8. package/ios/extensions/IndoorBuilding+Extension.swift +33 -0
  9. package/lib/module/types.js.map +1 -1
  10. package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts +10 -5
  11. package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts.map +1 -1
  12. package/lib/typescript/src/types.d.ts +18 -0
  13. package/lib/typescript/src/types.d.ts.map +1 -1
  14. package/nitrogen/generated/android/RNGoogleMapsPlusOnLoad.cpp +8 -2
  15. package/nitrogen/generated/android/c++/JFunc_void_RNIndoorBuilding.hpp +81 -0
  16. package/nitrogen/generated/android/c++/JFunc_void_RNIndoorLevel.hpp +78 -0
  17. package/nitrogen/generated/android/c++/JFunc_void_std__optional_std__string_.hpp +76 -0
  18. package/nitrogen/generated/android/c++/JFunc_void_std__optional_std__string__RNLatLng.hpp +78 -0
  19. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.cpp +143 -37
  20. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.hpp +18 -8
  21. package/nitrogen/generated/android/c++/JRNIndoorBuilding.hpp +86 -0
  22. package/nitrogen/generated/android/c++/JRNIndoorLevel.hpp +66 -0
  23. package/nitrogen/generated/android/c++/JRNMarker.hpp +24 -0
  24. package/nitrogen/generated/android/c++/views/JHybridRNGoogleMapsPlusViewStateUpdater.cpp +20 -0
  25. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorBuilding.kt +81 -0
  26. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorLevel.kt +81 -0
  27. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/{Func_void_std__string.kt → Func_void_std__optional_std__string_.kt} +12 -12
  28. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__optional_std__string__RNLatLng.kt +81 -0
  29. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/HybridRNGoogleMapsPlusViewSpec.kt +82 -12
  30. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIndoorBuilding.kt +38 -0
  31. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIndoorLevel.kt +38 -0
  32. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMarker.kt +18 -0
  33. package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.cpp +28 -4
  34. package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.hpp +146 -18
  35. package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Umbrella.hpp +6 -0
  36. package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusViewSpecSwift.hpp +49 -8
  37. package/nitrogen/generated/ios/c++/views/HybridRNGoogleMapsPlusViewComponent.mm +25 -0
  38. package/nitrogen/generated/ios/swift/Func_void_RNIndoorBuilding.swift +47 -0
  39. package/nitrogen/generated/ios/swift/{Func_void_std__string.swift → Func_void_RNIndoorLevel.swift} +11 -11
  40. package/nitrogen/generated/ios/swift/Func_void_std__optional_std__string_.swift +54 -0
  41. package/nitrogen/generated/ios/swift/Func_void_std__optional_std__string__RNLatLng.swift +54 -0
  42. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec.swift +9 -4
  43. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec_cxx.swift +250 -48
  44. package/nitrogen/generated/ios/swift/RNIndoorBuilding.swift +116 -0
  45. package/nitrogen/generated/ios/swift/RNIndoorLevel.swift +118 -0
  46. package/nitrogen/generated/ios/swift/RNMarker.swift +153 -1
  47. package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.cpp +10 -0
  48. package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.hpp +24 -8
  49. package/nitrogen/generated/shared/c++/RNIndoorBuilding.hpp +82 -0
  50. package/nitrogen/generated/shared/c++/RNIndoorLevel.hpp +80 -0
  51. package/nitrogen/generated/shared/c++/RNMarker.hpp +25 -1
  52. package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.cpp +68 -8
  53. package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.hpp +11 -4
  54. package/nitrogen/generated/shared/json/RNGoogleMapsPlusViewConfig.json +5 -0
  55. package/package.json +1 -1
  56. package/src/RNGoogleMapsPlusView.nitro.ts +11 -4
  57. package/src/types.ts +20 -0
  58. package/nitrogen/generated/android/c++/JFunc_void_std__string.hpp +0 -75
@@ -0,0 +1,47 @@
1
+ ///
2
+ /// Func_void_RNIndoorBuilding.swift
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
+ import NitroModules
9
+
10
+
11
+ /**
12
+ * Wraps a Swift `(_ indoorBuilding: RNIndoorBuilding) -> Void` as a class.
13
+ * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
14
+ */
15
+ public final class Func_void_RNIndoorBuilding {
16
+ public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
17
+
18
+ private let closure: (_ indoorBuilding: RNIndoorBuilding) -> Void
19
+
20
+ public init(_ closure: @escaping (_ indoorBuilding: RNIndoorBuilding) -> Void) {
21
+ self.closure = closure
22
+ }
23
+
24
+ @inline(__always)
25
+ public func call(indoorBuilding: RNIndoorBuilding) -> Void {
26
+ self.closure(indoorBuilding)
27
+ }
28
+
29
+ /**
30
+ * Casts this instance to a retained unsafe raw pointer.
31
+ * This acquires one additional strong reference on the object!
32
+ */
33
+ @inline(__always)
34
+ public func toUnsafe() -> UnsafeMutableRawPointer {
35
+ return Unmanaged.passRetained(self).toOpaque()
36
+ }
37
+
38
+ /**
39
+ * Casts an unsafe pointer to a `Func_void_RNIndoorBuilding`.
40
+ * The pointer has to be a retained opaque `Unmanaged<Func_void_RNIndoorBuilding>`.
41
+ * This removes one strong reference from the object!
42
+ */
43
+ @inline(__always)
44
+ public static func fromUnsafe(_ pointer: UnsafeMutableRawPointer) -> Func_void_RNIndoorBuilding {
45
+ return Unmanaged<Func_void_RNIndoorBuilding>.fromOpaque(pointer).takeRetainedValue()
46
+ }
47
+ }
@@ -1,5 +1,5 @@
1
1
  ///
2
- /// Func_void_std__string.swift
2
+ /// Func_void_RNIndoorLevel.swift
3
3
  /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
4
4
  /// https://github.com/mrousavy/nitro
5
5
  /// Copyright © 2025 Marc Rousavy @ Margelo
@@ -9,21 +9,21 @@ import NitroModules
9
9
 
10
10
 
11
11
  /**
12
- * Wraps a Swift `(_ id: String) -> Void` as a class.
12
+ * Wraps a Swift `(_ indoorLevel: RNIndoorLevel) -> Void` as a class.
13
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
14
14
  */
15
- public final class Func_void_std__string {
15
+ public final class Func_void_RNIndoorLevel {
16
16
  public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
17
17
 
18
- private let closure: (_ id: String) -> Void
18
+ private let closure: (_ indoorLevel: RNIndoorLevel) -> Void
19
19
 
20
- public init(_ closure: @escaping (_ id: String) -> Void) {
20
+ public init(_ closure: @escaping (_ indoorLevel: RNIndoorLevel) -> Void) {
21
21
  self.closure = closure
22
22
  }
23
23
 
24
24
  @inline(__always)
25
- public func call(id: std.string) -> Void {
26
- self.closure(String(id))
25
+ public func call(indoorLevel: RNIndoorLevel) -> Void {
26
+ self.closure(indoorLevel)
27
27
  }
28
28
 
29
29
  /**
@@ -36,12 +36,12 @@ public final class Func_void_std__string {
36
36
  }
37
37
 
38
38
  /**
39
- * Casts an unsafe pointer to a `Func_void_std__string`.
40
- * The pointer has to be a retained opaque `Unmanaged<Func_void_std__string>`.
39
+ * Casts an unsafe pointer to a `Func_void_RNIndoorLevel`.
40
+ * The pointer has to be a retained opaque `Unmanaged<Func_void_RNIndoorLevel>`.
41
41
  * This removes one strong reference from the object!
42
42
  */
43
43
  @inline(__always)
44
- public static func fromUnsafe(_ pointer: UnsafeMutableRawPointer) -> Func_void_std__string {
45
- return Unmanaged<Func_void_std__string>.fromOpaque(pointer).takeRetainedValue()
44
+ public static func fromUnsafe(_ pointer: UnsafeMutableRawPointer) -> Func_void_RNIndoorLevel {
45
+ return Unmanaged<Func_void_RNIndoorLevel>.fromOpaque(pointer).takeRetainedValue()
46
46
  }
47
47
  }
@@ -0,0 +1,54 @@
1
+ ///
2
+ /// Func_void_std__optional_std__string_.swift
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
+ import NitroModules
9
+
10
+
11
+ /**
12
+ * Wraps a Swift `(_ id: String?) -> Void` as a class.
13
+ * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
14
+ */
15
+ public final class Func_void_std__optional_std__string_ {
16
+ public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
17
+
18
+ private let closure: (_ id: String?) -> Void
19
+
20
+ public init(_ closure: @escaping (_ id: String?) -> Void) {
21
+ self.closure = closure
22
+ }
23
+
24
+ @inline(__always)
25
+ public func call(id: bridge.std__optional_std__string_) -> Void {
26
+ self.closure({ () -> String? in
27
+ if bridge.has_value_std__optional_std__string_(id) {
28
+ let __unwrapped = bridge.get_std__optional_std__string_(id)
29
+ return String(__unwrapped)
30
+ } else {
31
+ return nil
32
+ }
33
+ }())
34
+ }
35
+
36
+ /**
37
+ * Casts this instance to a retained unsafe raw pointer.
38
+ * This acquires one additional strong reference on the object!
39
+ */
40
+ @inline(__always)
41
+ public func toUnsafe() -> UnsafeMutableRawPointer {
42
+ return Unmanaged.passRetained(self).toOpaque()
43
+ }
44
+
45
+ /**
46
+ * Casts an unsafe pointer to a `Func_void_std__optional_std__string_`.
47
+ * The pointer has to be a retained opaque `Unmanaged<Func_void_std__optional_std__string_>`.
48
+ * This removes one strong reference from the object!
49
+ */
50
+ @inline(__always)
51
+ public static func fromUnsafe(_ pointer: UnsafeMutableRawPointer) -> Func_void_std__optional_std__string_ {
52
+ return Unmanaged<Func_void_std__optional_std__string_>.fromOpaque(pointer).takeRetainedValue()
53
+ }
54
+ }
@@ -0,0 +1,54 @@
1
+ ///
2
+ /// Func_void_std__optional_std__string__RNLatLng.swift
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
+ import NitroModules
9
+
10
+
11
+ /**
12
+ * Wraps a Swift `(_ id: String?, _ location: RNLatLng) -> Void` as a class.
13
+ * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
14
+ */
15
+ public final class Func_void_std__optional_std__string__RNLatLng {
16
+ public typealias bridge = margelo.nitro.rngooglemapsplus.bridge.swift
17
+
18
+ private let closure: (_ id: String?, _ location: RNLatLng) -> Void
19
+
20
+ public init(_ closure: @escaping (_ id: String?, _ location: RNLatLng) -> Void) {
21
+ self.closure = closure
22
+ }
23
+
24
+ @inline(__always)
25
+ public func call(id: bridge.std__optional_std__string_, location: RNLatLng) -> Void {
26
+ self.closure({ () -> String? in
27
+ if bridge.has_value_std__optional_std__string_(id) {
28
+ let __unwrapped = bridge.get_std__optional_std__string_(id)
29
+ return String(__unwrapped)
30
+ } else {
31
+ return nil
32
+ }
33
+ }(), location)
34
+ }
35
+
36
+ /**
37
+ * Casts this instance to a retained unsafe raw pointer.
38
+ * This acquires one additional strong reference on the object!
39
+ */
40
+ @inline(__always)
41
+ public func toUnsafe() -> UnsafeMutableRawPointer {
42
+ return Unmanaged.passRetained(self).toOpaque()
43
+ }
44
+
45
+ /**
46
+ * Casts an unsafe pointer to a `Func_void_std__optional_std__string__RNLatLng`.
47
+ * The pointer has to be a retained opaque `Unmanaged<Func_void_std__optional_std__string__RNLatLng>`.
48
+ * This removes one strong reference from the object!
49
+ */
50
+ @inline(__always)
51
+ public static func fromUnsafe(_ pointer: UnsafeMutableRawPointer) -> Func_void_std__optional_std__string__RNLatLng {
52
+ return Unmanaged<Func_void_std__optional_std__string__RNLatLng>.fromOpaque(pointer).takeRetainedValue()
53
+ }
54
+ }
@@ -34,10 +34,15 @@ public protocol HybridRNGoogleMapsPlusViewSpec_protocol: HybridObject, HybridVie
34
34
  var onLocationUpdate: ((_ location: RNLocation) -> Void)? { get set }
35
35
  var onLocationError: ((_ error: RNLocationErrorCode) -> Void)? { get set }
36
36
  var onMapPress: ((_ coordinate: RNLatLng) -> Void)? { get set }
37
- var onMarkerPress: ((_ id: String) -> Void)? { get set }
38
- var onPolylinePress: ((_ id: String) -> Void)? { get set }
39
- var onPolygonPress: ((_ id: String) -> Void)? { get set }
40
- var onCirclePress: ((_ id: String) -> Void)? { get set }
37
+ var onMarkerPress: ((_ id: String?) -> Void)? { get set }
38
+ var onPolylinePress: ((_ id: String?) -> Void)? { get set }
39
+ var onPolygonPress: ((_ id: String?) -> Void)? { get set }
40
+ var onCirclePress: ((_ id: String?) -> Void)? { get set }
41
+ var onMarkerDragStart: ((_ id: String?, _ location: RNLatLng) -> Void)? { get set }
42
+ var onMarkerDrag: ((_ id: String?, _ location: RNLatLng) -> Void)? { get set }
43
+ var onMarkerDragEnd: ((_ id: String?, _ location: RNLatLng) -> Void)? { get set }
44
+ var onIndoorBuildingFocused: ((_ indoorBuilding: RNIndoorBuilding) -> Void)? { get set }
45
+ var onIndoorLevelActivated: ((_ indoorLevel: RNIndoorLevel) -> Void)? { get set }
41
46
  var onCameraChangeStart: ((_ region: RNRegion, _ camera: RNCamera, _ isGesture: Bool) -> Void)? { get set }
42
47
  var onCameraChange: ((_ region: RNRegion, _ camera: RNCamera, _ isGesture: Bool) -> Void)? { get set }
43
48
  var onCameraChangeComplete: ((_ region: RNRegion, _ camera: RNCamera, _ isGesture: Bool) -> Void)? { get set }
@@ -692,14 +692,14 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
692
692
  }
693
693
  }
694
694
 
695
- public final var onMarkerPress: bridge.std__optional_std__function_void_const_std__string_____id______ {
695
+ public final var onMarkerPress: bridge.std__optional_std__function_void_const_std__optional_std__string______id______ {
696
696
  @inline(__always)
697
697
  get {
698
- return { () -> bridge.std__optional_std__function_void_const_std__string_____id______ in
698
+ return { () -> bridge.std__optional_std__function_void_const_std__optional_std__string______id______ in
699
699
  if let __unwrappedValue = self.__implementation.onMarkerPress {
700
- return bridge.create_std__optional_std__function_void_const_std__string_____id______({ () -> bridge.Func_void_std__string in
701
- let __closureWrapper = Func_void_std__string(__unwrappedValue)
702
- return bridge.create_Func_void_std__string(__closureWrapper.toUnsafe())
700
+ return bridge.create_std__optional_std__function_void_const_std__optional_std__string______id______({ () -> bridge.Func_void_std__optional_std__string_ in
701
+ let __closureWrapper = Func_void_std__optional_std__string_(__unwrappedValue)
702
+ return bridge.create_Func_void_std__optional_std__string_(__closureWrapper.toUnsafe())
703
703
  }())
704
704
  } else {
705
705
  return .init()
@@ -708,13 +708,19 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
708
708
  }
709
709
  @inline(__always)
710
710
  set {
711
- self.__implementation.onMarkerPress = { () -> ((_ id: String) -> Void)? in
712
- if bridge.has_value_std__optional_std__function_void_const_std__string_____id______(newValue) {
713
- let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____id______(newValue)
714
- return { () -> (String) -> Void in
715
- let __wrappedFunction = bridge.wrap_Func_void_std__string(__unwrapped)
716
- return { (__id: String) -> Void in
717
- __wrappedFunction.call(std.string(__id))
711
+ self.__implementation.onMarkerPress = { () -> ((_ id: String?) -> Void)? in
712
+ if bridge.has_value_std__optional_std__function_void_const_std__optional_std__string______id______(newValue) {
713
+ let __unwrapped = bridge.get_std__optional_std__function_void_const_std__optional_std__string______id______(newValue)
714
+ return { () -> (String?) -> Void in
715
+ let __wrappedFunction = bridge.wrap_Func_void_std__optional_std__string_(__unwrapped)
716
+ return { (__id: String?) -> Void in
717
+ __wrappedFunction.call({ () -> bridge.std__optional_std__string_ in
718
+ if let __unwrappedValue = __id {
719
+ return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
720
+ } else {
721
+ return .init()
722
+ }
723
+ }())
718
724
  }
719
725
  }()
720
726
  } else {
@@ -724,14 +730,14 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
724
730
  }
725
731
  }
726
732
 
727
- public final var onPolylinePress: bridge.std__optional_std__function_void_const_std__string_____id______ {
733
+ public final var onPolylinePress: bridge.std__optional_std__function_void_const_std__optional_std__string______id______ {
728
734
  @inline(__always)
729
735
  get {
730
- return { () -> bridge.std__optional_std__function_void_const_std__string_____id______ in
736
+ return { () -> bridge.std__optional_std__function_void_const_std__optional_std__string______id______ in
731
737
  if let __unwrappedValue = self.__implementation.onPolylinePress {
732
- return bridge.create_std__optional_std__function_void_const_std__string_____id______({ () -> bridge.Func_void_std__string in
733
- let __closureWrapper = Func_void_std__string(__unwrappedValue)
734
- return bridge.create_Func_void_std__string(__closureWrapper.toUnsafe())
738
+ return bridge.create_std__optional_std__function_void_const_std__optional_std__string______id______({ () -> bridge.Func_void_std__optional_std__string_ in
739
+ let __closureWrapper = Func_void_std__optional_std__string_(__unwrappedValue)
740
+ return bridge.create_Func_void_std__optional_std__string_(__closureWrapper.toUnsafe())
735
741
  }())
736
742
  } else {
737
743
  return .init()
@@ -740,13 +746,19 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
740
746
  }
741
747
  @inline(__always)
742
748
  set {
743
- self.__implementation.onPolylinePress = { () -> ((_ id: String) -> Void)? in
744
- if bridge.has_value_std__optional_std__function_void_const_std__string_____id______(newValue) {
745
- let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____id______(newValue)
746
- return { () -> (String) -> Void in
747
- let __wrappedFunction = bridge.wrap_Func_void_std__string(__unwrapped)
748
- return { (__id: String) -> Void in
749
- __wrappedFunction.call(std.string(__id))
749
+ self.__implementation.onPolylinePress = { () -> ((_ id: String?) -> Void)? in
750
+ if bridge.has_value_std__optional_std__function_void_const_std__optional_std__string______id______(newValue) {
751
+ let __unwrapped = bridge.get_std__optional_std__function_void_const_std__optional_std__string______id______(newValue)
752
+ return { () -> (String?) -> Void in
753
+ let __wrappedFunction = bridge.wrap_Func_void_std__optional_std__string_(__unwrapped)
754
+ return { (__id: String?) -> Void in
755
+ __wrappedFunction.call({ () -> bridge.std__optional_std__string_ in
756
+ if let __unwrappedValue = __id {
757
+ return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
758
+ } else {
759
+ return .init()
760
+ }
761
+ }())
750
762
  }
751
763
  }()
752
764
  } else {
@@ -756,14 +768,14 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
756
768
  }
757
769
  }
758
770
 
759
- public final var onPolygonPress: bridge.std__optional_std__function_void_const_std__string_____id______ {
771
+ public final var onPolygonPress: bridge.std__optional_std__function_void_const_std__optional_std__string______id______ {
760
772
  @inline(__always)
761
773
  get {
762
- return { () -> bridge.std__optional_std__function_void_const_std__string_____id______ in
774
+ return { () -> bridge.std__optional_std__function_void_const_std__optional_std__string______id______ in
763
775
  if let __unwrappedValue = self.__implementation.onPolygonPress {
764
- return bridge.create_std__optional_std__function_void_const_std__string_____id______({ () -> bridge.Func_void_std__string in
765
- let __closureWrapper = Func_void_std__string(__unwrappedValue)
766
- return bridge.create_Func_void_std__string(__closureWrapper.toUnsafe())
776
+ return bridge.create_std__optional_std__function_void_const_std__optional_std__string______id______({ () -> bridge.Func_void_std__optional_std__string_ in
777
+ let __closureWrapper = Func_void_std__optional_std__string_(__unwrappedValue)
778
+ return bridge.create_Func_void_std__optional_std__string_(__closureWrapper.toUnsafe())
767
779
  }())
768
780
  } else {
769
781
  return .init()
@@ -772,13 +784,19 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
772
784
  }
773
785
  @inline(__always)
774
786
  set {
775
- self.__implementation.onPolygonPress = { () -> ((_ id: String) -> Void)? in
776
- if bridge.has_value_std__optional_std__function_void_const_std__string_____id______(newValue) {
777
- let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____id______(newValue)
778
- return { () -> (String) -> Void in
779
- let __wrappedFunction = bridge.wrap_Func_void_std__string(__unwrapped)
780
- return { (__id: String) -> Void in
781
- __wrappedFunction.call(std.string(__id))
787
+ self.__implementation.onPolygonPress = { () -> ((_ id: String?) -> Void)? in
788
+ if bridge.has_value_std__optional_std__function_void_const_std__optional_std__string______id______(newValue) {
789
+ let __unwrapped = bridge.get_std__optional_std__function_void_const_std__optional_std__string______id______(newValue)
790
+ return { () -> (String?) -> Void in
791
+ let __wrappedFunction = bridge.wrap_Func_void_std__optional_std__string_(__unwrapped)
792
+ return { (__id: String?) -> Void in
793
+ __wrappedFunction.call({ () -> bridge.std__optional_std__string_ in
794
+ if let __unwrappedValue = __id {
795
+ return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
796
+ } else {
797
+ return .init()
798
+ }
799
+ }())
782
800
  }
783
801
  }()
784
802
  } else {
@@ -788,14 +806,14 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
788
806
  }
789
807
  }
790
808
 
791
- public final var onCirclePress: bridge.std__optional_std__function_void_const_std__string_____id______ {
809
+ public final var onCirclePress: bridge.std__optional_std__function_void_const_std__optional_std__string______id______ {
792
810
  @inline(__always)
793
811
  get {
794
- return { () -> bridge.std__optional_std__function_void_const_std__string_____id______ in
812
+ return { () -> bridge.std__optional_std__function_void_const_std__optional_std__string______id______ in
795
813
  if let __unwrappedValue = self.__implementation.onCirclePress {
796
- return bridge.create_std__optional_std__function_void_const_std__string_____id______({ () -> bridge.Func_void_std__string in
797
- let __closureWrapper = Func_void_std__string(__unwrappedValue)
798
- return bridge.create_Func_void_std__string(__closureWrapper.toUnsafe())
814
+ return bridge.create_std__optional_std__function_void_const_std__optional_std__string______id______({ () -> bridge.Func_void_std__optional_std__string_ in
815
+ let __closureWrapper = Func_void_std__optional_std__string_(__unwrappedValue)
816
+ return bridge.create_Func_void_std__optional_std__string_(__closureWrapper.toUnsafe())
799
817
  }())
800
818
  } else {
801
819
  return .init()
@@ -804,13 +822,197 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
804
822
  }
805
823
  @inline(__always)
806
824
  set {
807
- self.__implementation.onCirclePress = { () -> ((_ id: String) -> Void)? in
808
- if bridge.has_value_std__optional_std__function_void_const_std__string_____id______(newValue) {
809
- let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____id______(newValue)
810
- return { () -> (String) -> Void in
811
- let __wrappedFunction = bridge.wrap_Func_void_std__string(__unwrapped)
812
- return { (__id: String) -> Void in
813
- __wrappedFunction.call(std.string(__id))
825
+ self.__implementation.onCirclePress = { () -> ((_ id: String?) -> Void)? in
826
+ if bridge.has_value_std__optional_std__function_void_const_std__optional_std__string______id______(newValue) {
827
+ let __unwrapped = bridge.get_std__optional_std__function_void_const_std__optional_std__string______id______(newValue)
828
+ return { () -> (String?) -> Void in
829
+ let __wrappedFunction = bridge.wrap_Func_void_std__optional_std__string_(__unwrapped)
830
+ return { (__id: String?) -> Void in
831
+ __wrappedFunction.call({ () -> bridge.std__optional_std__string_ in
832
+ if let __unwrappedValue = __id {
833
+ return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
834
+ } else {
835
+ return .init()
836
+ }
837
+ }())
838
+ }
839
+ }()
840
+ } else {
841
+ return nil
842
+ }
843
+ }()
844
+ }
845
+ }
846
+
847
+ public final var onMarkerDragStart: bridge.std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______ {
848
+ @inline(__always)
849
+ get {
850
+ return { () -> bridge.std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______ in
851
+ if let __unwrappedValue = self.__implementation.onMarkerDragStart {
852
+ return bridge.create_std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______({ () -> bridge.Func_void_std__optional_std__string__RNLatLng in
853
+ let __closureWrapper = Func_void_std__optional_std__string__RNLatLng(__unwrappedValue)
854
+ return bridge.create_Func_void_std__optional_std__string__RNLatLng(__closureWrapper.toUnsafe())
855
+ }())
856
+ } else {
857
+ return .init()
858
+ }
859
+ }()
860
+ }
861
+ @inline(__always)
862
+ set {
863
+ self.__implementation.onMarkerDragStart = { () -> ((_ id: String?, _ location: RNLatLng) -> Void)? in
864
+ if bridge.has_value_std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______(newValue) {
865
+ let __unwrapped = bridge.get_std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______(newValue)
866
+ return { () -> (String?, RNLatLng) -> Void in
867
+ let __wrappedFunction = bridge.wrap_Func_void_std__optional_std__string__RNLatLng(__unwrapped)
868
+ return { (__id: String?, __location: RNLatLng) -> Void in
869
+ __wrappedFunction.call({ () -> bridge.std__optional_std__string_ in
870
+ if let __unwrappedValue = __id {
871
+ return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
872
+ } else {
873
+ return .init()
874
+ }
875
+ }(), __location)
876
+ }
877
+ }()
878
+ } else {
879
+ return nil
880
+ }
881
+ }()
882
+ }
883
+ }
884
+
885
+ public final var onMarkerDrag: bridge.std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______ {
886
+ @inline(__always)
887
+ get {
888
+ return { () -> bridge.std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______ in
889
+ if let __unwrappedValue = self.__implementation.onMarkerDrag {
890
+ return bridge.create_std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______({ () -> bridge.Func_void_std__optional_std__string__RNLatLng in
891
+ let __closureWrapper = Func_void_std__optional_std__string__RNLatLng(__unwrappedValue)
892
+ return bridge.create_Func_void_std__optional_std__string__RNLatLng(__closureWrapper.toUnsafe())
893
+ }())
894
+ } else {
895
+ return .init()
896
+ }
897
+ }()
898
+ }
899
+ @inline(__always)
900
+ set {
901
+ self.__implementation.onMarkerDrag = { () -> ((_ id: String?, _ location: RNLatLng) -> Void)? in
902
+ if bridge.has_value_std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______(newValue) {
903
+ let __unwrapped = bridge.get_std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______(newValue)
904
+ return { () -> (String?, RNLatLng) -> Void in
905
+ let __wrappedFunction = bridge.wrap_Func_void_std__optional_std__string__RNLatLng(__unwrapped)
906
+ return { (__id: String?, __location: RNLatLng) -> Void in
907
+ __wrappedFunction.call({ () -> bridge.std__optional_std__string_ in
908
+ if let __unwrappedValue = __id {
909
+ return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
910
+ } else {
911
+ return .init()
912
+ }
913
+ }(), __location)
914
+ }
915
+ }()
916
+ } else {
917
+ return nil
918
+ }
919
+ }()
920
+ }
921
+ }
922
+
923
+ public final var onMarkerDragEnd: bridge.std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______ {
924
+ @inline(__always)
925
+ get {
926
+ return { () -> bridge.std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______ in
927
+ if let __unwrappedValue = self.__implementation.onMarkerDragEnd {
928
+ return bridge.create_std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______({ () -> bridge.Func_void_std__optional_std__string__RNLatLng in
929
+ let __closureWrapper = Func_void_std__optional_std__string__RNLatLng(__unwrappedValue)
930
+ return bridge.create_Func_void_std__optional_std__string__RNLatLng(__closureWrapper.toUnsafe())
931
+ }())
932
+ } else {
933
+ return .init()
934
+ }
935
+ }()
936
+ }
937
+ @inline(__always)
938
+ set {
939
+ self.__implementation.onMarkerDragEnd = { () -> ((_ id: String?, _ location: RNLatLng) -> Void)? in
940
+ if bridge.has_value_std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______(newValue) {
941
+ let __unwrapped = bridge.get_std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______(newValue)
942
+ return { () -> (String?, RNLatLng) -> Void in
943
+ let __wrappedFunction = bridge.wrap_Func_void_std__optional_std__string__RNLatLng(__unwrapped)
944
+ return { (__id: String?, __location: RNLatLng) -> Void in
945
+ __wrappedFunction.call({ () -> bridge.std__optional_std__string_ in
946
+ if let __unwrappedValue = __id {
947
+ return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
948
+ } else {
949
+ return .init()
950
+ }
951
+ }(), __location)
952
+ }
953
+ }()
954
+ } else {
955
+ return nil
956
+ }
957
+ }()
958
+ }
959
+ }
960
+
961
+ public final var onIndoorBuildingFocused: bridge.std__optional_std__function_void_const_RNIndoorBuilding_____indoorBuilding______ {
962
+ @inline(__always)
963
+ get {
964
+ return { () -> bridge.std__optional_std__function_void_const_RNIndoorBuilding_____indoorBuilding______ in
965
+ if let __unwrappedValue = self.__implementation.onIndoorBuildingFocused {
966
+ return bridge.create_std__optional_std__function_void_const_RNIndoorBuilding_____indoorBuilding______({ () -> bridge.Func_void_RNIndoorBuilding in
967
+ let __closureWrapper = Func_void_RNIndoorBuilding(__unwrappedValue)
968
+ return bridge.create_Func_void_RNIndoorBuilding(__closureWrapper.toUnsafe())
969
+ }())
970
+ } else {
971
+ return .init()
972
+ }
973
+ }()
974
+ }
975
+ @inline(__always)
976
+ set {
977
+ self.__implementation.onIndoorBuildingFocused = { () -> ((_ indoorBuilding: RNIndoorBuilding) -> Void)? in
978
+ if bridge.has_value_std__optional_std__function_void_const_RNIndoorBuilding_____indoorBuilding______(newValue) {
979
+ let __unwrapped = bridge.get_std__optional_std__function_void_const_RNIndoorBuilding_____indoorBuilding______(newValue)
980
+ return { () -> (RNIndoorBuilding) -> Void in
981
+ let __wrappedFunction = bridge.wrap_Func_void_RNIndoorBuilding(__unwrapped)
982
+ return { (__indoorBuilding: RNIndoorBuilding) -> Void in
983
+ __wrappedFunction.call(__indoorBuilding)
984
+ }
985
+ }()
986
+ } else {
987
+ return nil
988
+ }
989
+ }()
990
+ }
991
+ }
992
+
993
+ public final var onIndoorLevelActivated: bridge.std__optional_std__function_void_const_RNIndoorLevel_____indoorLevel______ {
994
+ @inline(__always)
995
+ get {
996
+ return { () -> bridge.std__optional_std__function_void_const_RNIndoorLevel_____indoorLevel______ in
997
+ if let __unwrappedValue = self.__implementation.onIndoorLevelActivated {
998
+ return bridge.create_std__optional_std__function_void_const_RNIndoorLevel_____indoorLevel______({ () -> bridge.Func_void_RNIndoorLevel in
999
+ let __closureWrapper = Func_void_RNIndoorLevel(__unwrappedValue)
1000
+ return bridge.create_Func_void_RNIndoorLevel(__closureWrapper.toUnsafe())
1001
+ }())
1002
+ } else {
1003
+ return .init()
1004
+ }
1005
+ }()
1006
+ }
1007
+ @inline(__always)
1008
+ set {
1009
+ self.__implementation.onIndoorLevelActivated = { () -> ((_ indoorLevel: RNIndoorLevel) -> Void)? in
1010
+ if bridge.has_value_std__optional_std__function_void_const_RNIndoorLevel_____indoorLevel______(newValue) {
1011
+ let __unwrapped = bridge.get_std__optional_std__function_void_const_RNIndoorLevel_____indoorLevel______(newValue)
1012
+ return { () -> (RNIndoorLevel) -> Void in
1013
+ let __wrappedFunction = bridge.wrap_Func_void_RNIndoorLevel(__unwrapped)
1014
+ return { (__indoorLevel: RNIndoorLevel) -> Void in
1015
+ __wrappedFunction.call(__indoorLevel)
814
1016
  }
815
1017
  }()
816
1018
  } else {