react-native-google-maps-plus 1.10.2-dev.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.
Files changed (98) hide show
  1. package/README.md +12 -114
  2. package/ios/GoogleMapViewImpl.swift +3 -0
  3. package/lib/module/GoogleMapsPlus.js +10 -1
  4. package/lib/module/GoogleMapsPlus.js.map +1 -1
  5. package/lib/module/index.js +90 -1
  6. package/lib/module/index.js.map +1 -1
  7. package/lib/module/types.js +145 -39
  8. package/lib/module/types.js.map +1 -1
  9. package/lib/typescript/src/GoogleMapsPlus.d.ts +8 -0
  10. package/lib/typescript/src/GoogleMapsPlus.d.ts.map +1 -1
  11. package/lib/typescript/src/RNGoogleMapsPlusModule.nitro.d.ts +17 -1
  12. package/lib/typescript/src/RNGoogleMapsPlusModule.nitro.d.ts.map +1 -1
  13. package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts +87 -3
  14. package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts.map +1 -1
  15. package/lib/typescript/src/index.d.ts +89 -1
  16. package/lib/typescript/src/index.d.ts.map +1 -1
  17. package/lib/typescript/src/types.d.ts +340 -17
  18. package/lib/typescript/src/types.d.ts.map +1 -1
  19. package/nitrogen/generated/android/c++/JFunc_void_RNIndoorBuilding.hpp +12 -11
  20. package/nitrogen/generated/android/c++/JFunc_void_RNIndoorLevel.hpp +12 -11
  21. package/nitrogen/generated/android/c++/JFunc_void_RNLatLng.hpp +2 -1
  22. package/nitrogen/generated/android/c++/JFunc_void_RNLocation.hpp +2 -1
  23. package/nitrogen/generated/android/c++/JFunc_void_RNLocationErrorCode.hpp +2 -1
  24. package/nitrogen/generated/android/c++/JFunc_void_RNMapErrorCode.hpp +2 -1
  25. package/nitrogen/generated/android/c++/JFunc_void_RNRegion_RNCamera.hpp +2 -1
  26. package/nitrogen/generated/android/c++/JFunc_void_RNRegion_RNCamera_bool.hpp +2 -1
  27. package/nitrogen/generated/android/c++/JFunc_void_bool.hpp +2 -1
  28. package/nitrogen/generated/android/c++/JFunc_void_std__string.hpp +2 -1
  29. package/nitrogen/generated/android/c++/JFunc_void_std__string_RNLatLng.hpp +2 -1
  30. package/nitrogen/generated/android/c++/JFunc_void_std__string_std__string_RNLatLng.hpp +2 -1
  31. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.cpp +32 -81
  32. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.hpp +4 -4
  33. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorBuilding.kt +9 -9
  34. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorLevel.kt +9 -9
  35. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/HybridRNGoogleMapsPlusViewSpec.kt +2 -2
  36. package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.cpp +7 -6
  37. package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.hpp +28 -28
  38. package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusViewSpecSwift.hpp +4 -4
  39. package/nitrogen/generated/ios/swift/Func_void_RNIndoorBuilding.swift +6 -6
  40. package/nitrogen/generated/ios/swift/Func_void_RNIndoorLevel.swift +6 -6
  41. package/nitrogen/generated/ios/swift/Func_void_RNLatLng.swift +1 -1
  42. package/nitrogen/generated/ios/swift/Func_void_RNLocation.swift +1 -1
  43. package/nitrogen/generated/ios/swift/Func_void_RNLocationErrorCode.swift +1 -1
  44. package/nitrogen/generated/ios/swift/Func_void_RNLocationPermissionResult.swift +1 -1
  45. package/nitrogen/generated/ios/swift/Func_void_RNMapErrorCode.swift +1 -1
  46. package/nitrogen/generated/ios/swift/Func_void_RNRegion_RNCamera.swift +1 -1
  47. package/nitrogen/generated/ios/swift/Func_void_RNRegion_RNCamera_bool.swift +1 -1
  48. package/nitrogen/generated/ios/swift/Func_void_bool.swift +1 -1
  49. package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +1 -1
  50. package/nitrogen/generated/ios/swift/Func_void_std__optional_std__string_.swift +1 -1
  51. package/nitrogen/generated/ios/swift/Func_void_std__string.swift +1 -1
  52. package/nitrogen/generated/ios/swift/Func_void_std__string_RNLatLng.swift +1 -1
  53. package/nitrogen/generated/ios/swift/Func_void_std__string_std__string_RNLatLng.swift +1 -1
  54. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusModuleSpec.swift +0 -1
  55. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusModuleSpec_cxx.swift +0 -1
  56. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec.swift +2 -3
  57. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec_cxx.swift +16 -17
  58. package/nitrogen/generated/ios/swift/RNAndroidLocationConfig.swift +1 -0
  59. package/nitrogen/generated/ios/swift/RNCamera.swift +1 -0
  60. package/nitrogen/generated/ios/swift/RNCameraUpdate.swift +1 -0
  61. package/nitrogen/generated/ios/swift/RNCircle.swift +1 -0
  62. package/nitrogen/generated/ios/swift/RNHeatmap.swift +1 -0
  63. package/nitrogen/generated/ios/swift/RNHeatmapGradient.swift +1 -0
  64. package/nitrogen/generated/ios/swift/RNHeatmapPoint.swift +1 -0
  65. package/nitrogen/generated/ios/swift/RNIOSLocationConfig.swift +1 -0
  66. package/nitrogen/generated/ios/swift/RNIndoorBuilding.swift +1 -0
  67. package/nitrogen/generated/ios/swift/RNIndoorLevel.swift +1 -0
  68. package/nitrogen/generated/ios/swift/RNInitialProps.swift +1 -0
  69. package/nitrogen/generated/ios/swift/RNKMLayer.swift +1 -0
  70. package/nitrogen/generated/ios/swift/RNLatLng.swift +1 -0
  71. package/nitrogen/generated/ios/swift/RNLatLngBounds.swift +1 -0
  72. package/nitrogen/generated/ios/swift/RNLocation.swift +1 -0
  73. package/nitrogen/generated/ios/swift/RNLocationAndroid.swift +1 -0
  74. package/nitrogen/generated/ios/swift/RNLocationConfig.swift +1 -0
  75. package/nitrogen/generated/ios/swift/RNLocationIOS.swift +1 -0
  76. package/nitrogen/generated/ios/swift/RNLocationPermissionResult.swift +1 -0
  77. package/nitrogen/generated/ios/swift/RNMapPadding.swift +1 -0
  78. package/nitrogen/generated/ios/swift/RNMapUiSettings.swift +1 -0
  79. package/nitrogen/generated/ios/swift/RNMapZoomConfig.swift +1 -0
  80. package/nitrogen/generated/ios/swift/RNMarker.swift +1 -0
  81. package/nitrogen/generated/ios/swift/RNMarkerSvg.swift +1 -0
  82. package/nitrogen/generated/ios/swift/RNPolygon.swift +1 -0
  83. package/nitrogen/generated/ios/swift/RNPolygonHole.swift +1 -0
  84. package/nitrogen/generated/ios/swift/RNPolyline.swift +1 -0
  85. package/nitrogen/generated/ios/swift/RNPosition.swift +1 -0
  86. package/nitrogen/generated/ios/swift/RNRegion.swift +1 -0
  87. package/nitrogen/generated/ios/swift/RNSize.swift +1 -0
  88. package/nitrogen/generated/ios/swift/RNSnapshotOptions.swift +1 -0
  89. package/nitrogen/generated/ios/swift/RNUrlTileOverlay.swift +1 -0
  90. package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.hpp +4 -4
  91. package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.cpp +4 -4
  92. package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.hpp +2 -2
  93. package/package.json +11 -7
  94. package/src/GoogleMapsPlus.tsx +9 -1
  95. package/src/RNGoogleMapsPlusModule.nitro.ts +21 -4
  96. package/src/RNGoogleMapsPlusView.nitro.ts +143 -18
  97. package/src/index.tsx +90 -1
  98. package/src/types.ts +475 -67
@@ -12,6 +12,7 @@
12
12
 
13
13
  #include "RNIndoorBuilding.hpp"
14
14
  #include <functional>
15
+ #include <NitroModules/JNICallable.hpp>
15
16
  #include "JRNIndoorBuilding.hpp"
16
17
  #include <optional>
17
18
  #include "RNIndoorLevel.hpp"
@@ -24,7 +25,7 @@ namespace margelo::nitro::rngooglemapsplus {
24
25
  using namespace facebook;
25
26
 
26
27
  /**
27
- * Represents the Java/Kotlin callback `(indoorBuilding: RNIndoorBuilding) -> Unit`.
28
+ * Represents the Java/Kotlin callback `(building: RNIndoorBuilding) -> Unit`.
28
29
  * This can be passed around between C++ and Java/Kotlin.
29
30
  */
30
31
  struct JFunc_void_RNIndoorBuilding: public jni::JavaClass<JFunc_void_RNIndoorBuilding> {
@@ -35,18 +36,18 @@ namespace margelo::nitro::rngooglemapsplus {
35
36
  /**
36
37
  * Invokes the function this `JFunc_void_RNIndoorBuilding` instance holds through JNI.
37
38
  */
38
- void invoke(const RNIndoorBuilding& indoorBuilding) const {
39
- static const auto method = javaClassStatic()->getMethod<void(jni::alias_ref<JRNIndoorBuilding> /* indoorBuilding */)>("invoke");
40
- method(self(), JRNIndoorBuilding::fromCpp(indoorBuilding));
39
+ void invoke(const RNIndoorBuilding& building) const {
40
+ static const auto method = javaClassStatic()->getMethod<void(jni::alias_ref<JRNIndoorBuilding> /* building */)>("invoke");
41
+ method(self(), JRNIndoorBuilding::fromCpp(building));
41
42
  }
42
43
  };
43
44
 
44
45
  /**
45
46
  * An implementation of Func_void_RNIndoorBuilding that is backed by a C++ implementation (using `std::function<...>`)
46
47
  */
47
- struct JFunc_void_RNIndoorBuilding_cxx final: public jni::HybridClass<JFunc_void_RNIndoorBuilding_cxx, JFunc_void_RNIndoorBuilding> {
48
+ class JFunc_void_RNIndoorBuilding_cxx final: public jni::HybridClass<JFunc_void_RNIndoorBuilding_cxx, JFunc_void_RNIndoorBuilding> {
48
49
  public:
49
- static jni::local_ref<JFunc_void_RNIndoorBuilding::javaobject> fromCpp(const std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>& func) {
50
+ static jni::local_ref<JFunc_void_RNIndoorBuilding::javaobject> fromCpp(const std::function<void(const RNIndoorBuilding& /* building */)>& func) {
50
51
  return JFunc_void_RNIndoorBuilding_cxx::newObjectCxxArgs(func);
51
52
  }
52
53
 
@@ -54,13 +55,13 @@ namespace margelo::nitro::rngooglemapsplus {
54
55
  /**
55
56
  * Invokes the C++ `std::function<...>` this `JFunc_void_RNIndoorBuilding_cxx` instance holds.
56
57
  */
57
- void invoke_cxx(jni::alias_ref<JRNIndoorBuilding> indoorBuilding) {
58
- _func(indoorBuilding->toCpp());
58
+ void invoke_cxx(jni::alias_ref<JRNIndoorBuilding> building) {
59
+ _func(building->toCpp());
59
60
  }
60
61
 
61
62
  public:
62
63
  [[nodiscard]]
63
- inline const std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>& getFunction() const {
64
+ inline const std::function<void(const RNIndoorBuilding& /* building */)>& getFunction() const {
64
65
  return _func;
65
66
  }
66
67
 
@@ -71,11 +72,11 @@ namespace margelo::nitro::rngooglemapsplus {
71
72
  }
72
73
 
73
74
  private:
74
- explicit JFunc_void_RNIndoorBuilding_cxx(const std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>& func): _func(func) { }
75
+ explicit JFunc_void_RNIndoorBuilding_cxx(const std::function<void(const RNIndoorBuilding& /* building */)>& func): _func(func) { }
75
76
 
76
77
  private:
77
78
  friend HybridBase;
78
- std::function<void(const RNIndoorBuilding& /* indoorBuilding */)> _func;
79
+ std::function<void(const RNIndoorBuilding& /* building */)> _func;
79
80
  };
80
81
 
81
82
  } // namespace margelo::nitro::rngooglemapsplus
@@ -12,6 +12,7 @@
12
12
 
13
13
  #include "RNIndoorLevel.hpp"
14
14
  #include <functional>
15
+ #include <NitroModules/JNICallable.hpp>
15
16
  #include "JRNIndoorLevel.hpp"
16
17
  #include <string>
17
18
  #include <optional>
@@ -21,7 +22,7 @@ namespace margelo::nitro::rngooglemapsplus {
21
22
  using namespace facebook;
22
23
 
23
24
  /**
24
- * Represents the Java/Kotlin callback `(indoorLevel: RNIndoorLevel) -> Unit`.
25
+ * Represents the Java/Kotlin callback `(level: RNIndoorLevel) -> Unit`.
25
26
  * This can be passed around between C++ and Java/Kotlin.
26
27
  */
27
28
  struct JFunc_void_RNIndoorLevel: public jni::JavaClass<JFunc_void_RNIndoorLevel> {
@@ -32,18 +33,18 @@ namespace margelo::nitro::rngooglemapsplus {
32
33
  /**
33
34
  * Invokes the function this `JFunc_void_RNIndoorLevel` instance holds through JNI.
34
35
  */
35
- void invoke(const RNIndoorLevel& indoorLevel) const {
36
- static const auto method = javaClassStatic()->getMethod<void(jni::alias_ref<JRNIndoorLevel> /* indoorLevel */)>("invoke");
37
- method(self(), JRNIndoorLevel::fromCpp(indoorLevel));
36
+ void invoke(const RNIndoorLevel& level) const {
37
+ static const auto method = javaClassStatic()->getMethod<void(jni::alias_ref<JRNIndoorLevel> /* level */)>("invoke");
38
+ method(self(), JRNIndoorLevel::fromCpp(level));
38
39
  }
39
40
  };
40
41
 
41
42
  /**
42
43
  * An implementation of Func_void_RNIndoorLevel that is backed by a C++ implementation (using `std::function<...>`)
43
44
  */
44
- struct JFunc_void_RNIndoorLevel_cxx final: public jni::HybridClass<JFunc_void_RNIndoorLevel_cxx, JFunc_void_RNIndoorLevel> {
45
+ class JFunc_void_RNIndoorLevel_cxx final: public jni::HybridClass<JFunc_void_RNIndoorLevel_cxx, JFunc_void_RNIndoorLevel> {
45
46
  public:
46
- static jni::local_ref<JFunc_void_RNIndoorLevel::javaobject> fromCpp(const std::function<void(const RNIndoorLevel& /* indoorLevel */)>& func) {
47
+ static jni::local_ref<JFunc_void_RNIndoorLevel::javaobject> fromCpp(const std::function<void(const RNIndoorLevel& /* level */)>& func) {
47
48
  return JFunc_void_RNIndoorLevel_cxx::newObjectCxxArgs(func);
48
49
  }
49
50
 
@@ -51,13 +52,13 @@ namespace margelo::nitro::rngooglemapsplus {
51
52
  /**
52
53
  * Invokes the C++ `std::function<...>` this `JFunc_void_RNIndoorLevel_cxx` instance holds.
53
54
  */
54
- void invoke_cxx(jni::alias_ref<JRNIndoorLevel> indoorLevel) {
55
- _func(indoorLevel->toCpp());
55
+ void invoke_cxx(jni::alias_ref<JRNIndoorLevel> level) {
56
+ _func(level->toCpp());
56
57
  }
57
58
 
58
59
  public:
59
60
  [[nodiscard]]
60
- inline const std::function<void(const RNIndoorLevel& /* indoorLevel */)>& getFunction() const {
61
+ inline const std::function<void(const RNIndoorLevel& /* level */)>& getFunction() const {
61
62
  return _func;
62
63
  }
63
64
 
@@ -68,11 +69,11 @@ namespace margelo::nitro::rngooglemapsplus {
68
69
  }
69
70
 
70
71
  private:
71
- explicit JFunc_void_RNIndoorLevel_cxx(const std::function<void(const RNIndoorLevel& /* indoorLevel */)>& func): _func(func) { }
72
+ explicit JFunc_void_RNIndoorLevel_cxx(const std::function<void(const RNIndoorLevel& /* level */)>& func): _func(func) { }
72
73
 
73
74
  private:
74
75
  friend HybridBase;
75
- std::function<void(const RNIndoorLevel& /* indoorLevel */)> _func;
76
+ std::function<void(const RNIndoorLevel& /* level */)> _func;
76
77
  };
77
78
 
78
79
  } // namespace margelo::nitro::rngooglemapsplus
@@ -12,6 +12,7 @@
12
12
 
13
13
  #include "RNLatLng.hpp"
14
14
  #include <functional>
15
+ #include <NitroModules/JNICallable.hpp>
15
16
  #include "JRNLatLng.hpp"
16
17
 
17
18
  namespace margelo::nitro::rngooglemapsplus {
@@ -39,7 +40,7 @@ namespace margelo::nitro::rngooglemapsplus {
39
40
  /**
40
41
  * An implementation of Func_void_RNLatLng that is backed by a C++ implementation (using `std::function<...>`)
41
42
  */
42
- struct JFunc_void_RNLatLng_cxx final: public jni::HybridClass<JFunc_void_RNLatLng_cxx, JFunc_void_RNLatLng> {
43
+ class JFunc_void_RNLatLng_cxx final: public jni::HybridClass<JFunc_void_RNLatLng_cxx, JFunc_void_RNLatLng> {
43
44
  public:
44
45
  static jni::local_ref<JFunc_void_RNLatLng::javaobject> fromCpp(const std::function<void(const RNLatLng& /* coordinate */)>& func) {
45
46
  return JFunc_void_RNLatLng_cxx::newObjectCxxArgs(func);
@@ -12,6 +12,7 @@
12
12
 
13
13
  #include "RNLocation.hpp"
14
14
  #include <functional>
15
+ #include <NitroModules/JNICallable.hpp>
15
16
  #include "JRNLocation.hpp"
16
17
  #include "RNLatLng.hpp"
17
18
  #include "JRNLatLng.hpp"
@@ -47,7 +48,7 @@ namespace margelo::nitro::rngooglemapsplus {
47
48
  /**
48
49
  * An implementation of Func_void_RNLocation that is backed by a C++ implementation (using `std::function<...>`)
49
50
  */
50
- struct JFunc_void_RNLocation_cxx final: public jni::HybridClass<JFunc_void_RNLocation_cxx, JFunc_void_RNLocation> {
51
+ class JFunc_void_RNLocation_cxx final: public jni::HybridClass<JFunc_void_RNLocation_cxx, JFunc_void_RNLocation> {
51
52
  public:
52
53
  static jni::local_ref<JFunc_void_RNLocation::javaobject> fromCpp(const std::function<void(const RNLocation& /* location */)>& func) {
53
54
  return JFunc_void_RNLocation_cxx::newObjectCxxArgs(func);
@@ -12,6 +12,7 @@
12
12
 
13
13
  #include "RNLocationErrorCode.hpp"
14
14
  #include <functional>
15
+ #include <NitroModules/JNICallable.hpp>
15
16
  #include "JRNLocationErrorCode.hpp"
16
17
 
17
18
  namespace margelo::nitro::rngooglemapsplus {
@@ -39,7 +40,7 @@ namespace margelo::nitro::rngooglemapsplus {
39
40
  /**
40
41
  * An implementation of Func_void_RNLocationErrorCode that is backed by a C++ implementation (using `std::function<...>`)
41
42
  */
42
- struct JFunc_void_RNLocationErrorCode_cxx final: public jni::HybridClass<JFunc_void_RNLocationErrorCode_cxx, JFunc_void_RNLocationErrorCode> {
43
+ class JFunc_void_RNLocationErrorCode_cxx final: public jni::HybridClass<JFunc_void_RNLocationErrorCode_cxx, JFunc_void_RNLocationErrorCode> {
43
44
  public:
44
45
  static jni::local_ref<JFunc_void_RNLocationErrorCode::javaobject> fromCpp(const std::function<void(RNLocationErrorCode /* error */)>& func) {
45
46
  return JFunc_void_RNLocationErrorCode_cxx::newObjectCxxArgs(func);
@@ -12,6 +12,7 @@
12
12
 
13
13
  #include "RNMapErrorCode.hpp"
14
14
  #include <functional>
15
+ #include <NitroModules/JNICallable.hpp>
15
16
  #include "JRNMapErrorCode.hpp"
16
17
 
17
18
  namespace margelo::nitro::rngooglemapsplus {
@@ -39,7 +40,7 @@ namespace margelo::nitro::rngooglemapsplus {
39
40
  /**
40
41
  * An implementation of Func_void_RNMapErrorCode that is backed by a C++ implementation (using `std::function<...>`)
41
42
  */
42
- struct JFunc_void_RNMapErrorCode_cxx final: public jni::HybridClass<JFunc_void_RNMapErrorCode_cxx, JFunc_void_RNMapErrorCode> {
43
+ class JFunc_void_RNMapErrorCode_cxx final: public jni::HybridClass<JFunc_void_RNMapErrorCode_cxx, JFunc_void_RNMapErrorCode> {
43
44
  public:
44
45
  static jni::local_ref<JFunc_void_RNMapErrorCode::javaobject> fromCpp(const std::function<void(RNMapErrorCode /* error */)>& func) {
45
46
  return JFunc_void_RNMapErrorCode_cxx::newObjectCxxArgs(func);
@@ -13,6 +13,7 @@
13
13
  #include "RNRegion.hpp"
14
14
  #include "RNCamera.hpp"
15
15
  #include <functional>
16
+ #include <NitroModules/JNICallable.hpp>
16
17
  #include "JRNRegion.hpp"
17
18
  #include "RNLatLng.hpp"
18
19
  #include "JRNLatLng.hpp"
@@ -45,7 +46,7 @@ namespace margelo::nitro::rngooglemapsplus {
45
46
  /**
46
47
  * An implementation of Func_void_RNRegion_RNCamera that is backed by a C++ implementation (using `std::function<...>`)
47
48
  */
48
- struct JFunc_void_RNRegion_RNCamera_cxx final: public jni::HybridClass<JFunc_void_RNRegion_RNCamera_cxx, JFunc_void_RNRegion_RNCamera> {
49
+ class JFunc_void_RNRegion_RNCamera_cxx final: public jni::HybridClass<JFunc_void_RNRegion_RNCamera_cxx, JFunc_void_RNRegion_RNCamera> {
49
50
  public:
50
51
  static jni::local_ref<JFunc_void_RNRegion_RNCamera::javaobject> fromCpp(const std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>& func) {
51
52
  return JFunc_void_RNRegion_RNCamera_cxx::newObjectCxxArgs(func);
@@ -13,6 +13,7 @@
13
13
  #include "RNRegion.hpp"
14
14
  #include "RNCamera.hpp"
15
15
  #include <functional>
16
+ #include <NitroModules/JNICallable.hpp>
16
17
  #include "JRNRegion.hpp"
17
18
  #include "RNLatLng.hpp"
18
19
  #include "JRNLatLng.hpp"
@@ -45,7 +46,7 @@ namespace margelo::nitro::rngooglemapsplus {
45
46
  /**
46
47
  * An implementation of Func_void_RNRegion_RNCamera_bool that is backed by a C++ implementation (using `std::function<...>`)
47
48
  */
48
- struct JFunc_void_RNRegion_RNCamera_bool_cxx final: public jni::HybridClass<JFunc_void_RNRegion_RNCamera_bool_cxx, JFunc_void_RNRegion_RNCamera_bool> {
49
+ class JFunc_void_RNRegion_RNCamera_bool_cxx final: public jni::HybridClass<JFunc_void_RNRegion_RNCamera_bool_cxx, JFunc_void_RNRegion_RNCamera_bool> {
49
50
  public:
50
51
  static jni::local_ref<JFunc_void_RNRegion_RNCamera_bool::javaobject> fromCpp(const std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */, bool /* isGesture */)>& func) {
51
52
  return JFunc_void_RNRegion_RNCamera_bool_cxx::newObjectCxxArgs(func);
@@ -11,6 +11,7 @@
11
11
  #include <functional>
12
12
 
13
13
  #include <functional>
14
+ #include <NitroModules/JNICallable.hpp>
14
15
 
15
16
  namespace margelo::nitro::rngooglemapsplus {
16
17
 
@@ -37,7 +38,7 @@ namespace margelo::nitro::rngooglemapsplus {
37
38
  /**
38
39
  * An implementation of Func_void_bool that is backed by a C++ implementation (using `std::function<...>`)
39
40
  */
40
- struct JFunc_void_bool_cxx final: public jni::HybridClass<JFunc_void_bool_cxx, JFunc_void_bool> {
41
+ class JFunc_void_bool_cxx final: public jni::HybridClass<JFunc_void_bool_cxx, JFunc_void_bool> {
41
42
  public:
42
43
  static jni::local_ref<JFunc_void_bool::javaobject> fromCpp(const std::function<void(bool /* ready */)>& func) {
43
44
  return JFunc_void_bool_cxx::newObjectCxxArgs(func);
@@ -12,6 +12,7 @@
12
12
 
13
13
  #include <string>
14
14
  #include <functional>
15
+ #include <NitroModules/JNICallable.hpp>
15
16
 
16
17
  namespace margelo::nitro::rngooglemapsplus {
17
18
 
@@ -38,7 +39,7 @@ namespace margelo::nitro::rngooglemapsplus {
38
39
  /**
39
40
  * An implementation of Func_void_std__string that is backed by a C++ implementation (using `std::function<...>`)
40
41
  */
41
- struct JFunc_void_std__string_cxx final: public jni::HybridClass<JFunc_void_std__string_cxx, JFunc_void_std__string> {
42
+ class JFunc_void_std__string_cxx final: public jni::HybridClass<JFunc_void_std__string_cxx, JFunc_void_std__string> {
42
43
  public:
43
44
  static jni::local_ref<JFunc_void_std__string::javaobject> fromCpp(const std::function<void(const std::string& /* id */)>& func) {
44
45
  return JFunc_void_std__string_cxx::newObjectCxxArgs(func);
@@ -13,6 +13,7 @@
13
13
  #include <string>
14
14
  #include "RNLatLng.hpp"
15
15
  #include <functional>
16
+ #include <NitroModules/JNICallable.hpp>
16
17
  #include "JRNLatLng.hpp"
17
18
 
18
19
  namespace margelo::nitro::rngooglemapsplus {
@@ -40,7 +41,7 @@ namespace margelo::nitro::rngooglemapsplus {
40
41
  /**
41
42
  * An implementation of Func_void_std__string_RNLatLng that is backed by a C++ implementation (using `std::function<...>`)
42
43
  */
43
- struct JFunc_void_std__string_RNLatLng_cxx final: public jni::HybridClass<JFunc_void_std__string_RNLatLng_cxx, JFunc_void_std__string_RNLatLng> {
44
+ class JFunc_void_std__string_RNLatLng_cxx final: public jni::HybridClass<JFunc_void_std__string_RNLatLng_cxx, JFunc_void_std__string_RNLatLng> {
44
45
  public:
45
46
  static jni::local_ref<JFunc_void_std__string_RNLatLng::javaobject> fromCpp(const std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>& func) {
46
47
  return JFunc_void_std__string_RNLatLng_cxx::newObjectCxxArgs(func);
@@ -13,6 +13,7 @@
13
13
  #include <string>
14
14
  #include "RNLatLng.hpp"
15
15
  #include <functional>
16
+ #include <NitroModules/JNICallable.hpp>
16
17
  #include "JRNLatLng.hpp"
17
18
 
18
19
  namespace margelo::nitro::rngooglemapsplus {
@@ -40,7 +41,7 @@ namespace margelo::nitro::rngooglemapsplus {
40
41
  /**
41
42
  * An implementation of Func_void_std__string_std__string_RNLatLng that is backed by a C++ implementation (using `std::function<...>`)
42
43
  */
43
- struct JFunc_void_std__string_std__string_RNLatLng_cxx final: public jni::HybridClass<JFunc_void_std__string_std__string_RNLatLng_cxx, JFunc_void_std__string_std__string_RNLatLng> {
44
+ class JFunc_void_std__string_std__string_RNLatLng_cxx final: public jni::HybridClass<JFunc_void_std__string_std__string_RNLatLng_cxx, JFunc_void_std__string_std__string_RNLatLng> {
44
45
  public:
45
46
  static jni::local_ref<JFunc_void_std__string_std__string_RNLatLng::javaobject> fromCpp(const std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>& func) {
46
47
  return JFunc_void_std__string_std__string_RNLatLng_cxx::newObjectCxxArgs(func);
@@ -160,6 +160,7 @@ namespace margelo::nitro::rngooglemapsplus { enum class RNSnapshotResultType; }
160
160
  #include "RNMapErrorCode.hpp"
161
161
  #include <functional>
162
162
  #include "JFunc_void_RNMapErrorCode.hpp"
163
+ #include <NitroModules/JNICallable.hpp>
163
164
  #include "JRNMapErrorCode.hpp"
164
165
  #include "JFunc_void_bool.hpp"
165
166
  #include "RNRegion.hpp"
@@ -542,9 +543,7 @@ namespace margelo::nitro::rngooglemapsplus {
542
543
  return downcast->cthis()->getFunction();
543
544
  } else {
544
545
  auto __resultRef = jni::make_global(__result);
545
- return [__resultRef](RNMapErrorCode error) -> void {
546
- return __resultRef->invoke(error);
547
- };
546
+ return JNICallable<JFunc_void_RNMapErrorCode, void(RNMapErrorCode)>(std::move(__resultRef));
548
547
  }
549
548
  }()) : std::nullopt;
550
549
  }
@@ -561,9 +560,7 @@ namespace margelo::nitro::rngooglemapsplus {
561
560
  return downcast->cthis()->getFunction();
562
561
  } else {
563
562
  auto __resultRef = jni::make_global(__result);
564
- return [__resultRef](bool ready) -> void {
565
- return __resultRef->invoke(ready);
566
- };
563
+ return JNICallable<JFunc_void_bool, void(bool)>(std::move(__resultRef));
567
564
  }
568
565
  }()) : std::nullopt;
569
566
  }
@@ -580,9 +577,7 @@ namespace margelo::nitro::rngooglemapsplus {
580
577
  return downcast->cthis()->getFunction();
581
578
  } else {
582
579
  auto __resultRef = jni::make_global(__result);
583
- return [__resultRef](RNRegion region, RNCamera camera) -> void {
584
- return __resultRef->invoke(region,camera);
585
- };
580
+ return JNICallable<JFunc_void_RNRegion_RNCamera, void(RNRegion, RNCamera)>(std::move(__resultRef));
586
581
  }
587
582
  }()) : std::nullopt;
588
583
  }
@@ -599,9 +594,7 @@ namespace margelo::nitro::rngooglemapsplus {
599
594
  return downcast->cthis()->getFunction();
600
595
  } else {
601
596
  auto __resultRef = jni::make_global(__result);
602
- return [__resultRef](RNLocation location) -> void {
603
- return __resultRef->invoke(location);
604
- };
597
+ return JNICallable<JFunc_void_RNLocation, void(RNLocation)>(std::move(__resultRef));
605
598
  }
606
599
  }()) : std::nullopt;
607
600
  }
@@ -618,9 +611,7 @@ namespace margelo::nitro::rngooglemapsplus {
618
611
  return downcast->cthis()->getFunction();
619
612
  } else {
620
613
  auto __resultRef = jni::make_global(__result);
621
- return [__resultRef](RNLocationErrorCode error) -> void {
622
- return __resultRef->invoke(error);
623
- };
614
+ return JNICallable<JFunc_void_RNLocationErrorCode, void(RNLocationErrorCode)>(std::move(__resultRef));
624
615
  }
625
616
  }()) : std::nullopt;
626
617
  }
@@ -637,9 +628,7 @@ namespace margelo::nitro::rngooglemapsplus {
637
628
  return downcast->cthis()->getFunction();
638
629
  } else {
639
630
  auto __resultRef = jni::make_global(__result);
640
- return [__resultRef](RNLatLng coordinate) -> void {
641
- return __resultRef->invoke(coordinate);
642
- };
631
+ return JNICallable<JFunc_void_RNLatLng, void(RNLatLng)>(std::move(__resultRef));
643
632
  }
644
633
  }()) : std::nullopt;
645
634
  }
@@ -656,9 +645,7 @@ namespace margelo::nitro::rngooglemapsplus {
656
645
  return downcast->cthis()->getFunction();
657
646
  } else {
658
647
  auto __resultRef = jni::make_global(__result);
659
- return [__resultRef](RNLatLng coordinate) -> void {
660
- return __resultRef->invoke(coordinate);
661
- };
648
+ return JNICallable<JFunc_void_RNLatLng, void(RNLatLng)>(std::move(__resultRef));
662
649
  }
663
650
  }()) : std::nullopt;
664
651
  }
@@ -675,9 +662,7 @@ namespace margelo::nitro::rngooglemapsplus {
675
662
  return downcast->cthis()->getFunction();
676
663
  } else {
677
664
  auto __resultRef = jni::make_global(__result);
678
- return [__resultRef](std::string placeId, std::string name, RNLatLng coordinate) -> void {
679
- return __resultRef->invoke(placeId,name,coordinate);
680
- };
665
+ return JNICallable<JFunc_void_std__string_std__string_RNLatLng, void(std::string, std::string, RNLatLng)>(std::move(__resultRef));
681
666
  }
682
667
  }()) : std::nullopt;
683
668
  }
@@ -694,9 +679,7 @@ namespace margelo::nitro::rngooglemapsplus {
694
679
  return downcast->cthis()->getFunction();
695
680
  } else {
696
681
  auto __resultRef = jni::make_global(__result);
697
- return [__resultRef](std::string id) -> void {
698
- return __resultRef->invoke(id);
699
- };
682
+ return JNICallable<JFunc_void_std__string, void(std::string)>(std::move(__resultRef));
700
683
  }
701
684
  }()) : std::nullopt;
702
685
  }
@@ -713,9 +696,7 @@ namespace margelo::nitro::rngooglemapsplus {
713
696
  return downcast->cthis()->getFunction();
714
697
  } else {
715
698
  auto __resultRef = jni::make_global(__result);
716
- return [__resultRef](std::string id) -> void {
717
- return __resultRef->invoke(id);
718
- };
699
+ return JNICallable<JFunc_void_std__string, void(std::string)>(std::move(__resultRef));
719
700
  }
720
701
  }()) : std::nullopt;
721
702
  }
@@ -732,9 +713,7 @@ namespace margelo::nitro::rngooglemapsplus {
732
713
  return downcast->cthis()->getFunction();
733
714
  } else {
734
715
  auto __resultRef = jni::make_global(__result);
735
- return [__resultRef](std::string id) -> void {
736
- return __resultRef->invoke(id);
737
- };
716
+ return JNICallable<JFunc_void_std__string, void(std::string)>(std::move(__resultRef));
738
717
  }
739
718
  }()) : std::nullopt;
740
719
  }
@@ -751,9 +730,7 @@ namespace margelo::nitro::rngooglemapsplus {
751
730
  return downcast->cthis()->getFunction();
752
731
  } else {
753
732
  auto __resultRef = jni::make_global(__result);
754
- return [__resultRef](std::string id) -> void {
755
- return __resultRef->invoke(id);
756
- };
733
+ return JNICallable<JFunc_void_std__string, void(std::string)>(std::move(__resultRef));
757
734
  }
758
735
  }()) : std::nullopt;
759
736
  }
@@ -770,9 +747,7 @@ namespace margelo::nitro::rngooglemapsplus {
770
747
  return downcast->cthis()->getFunction();
771
748
  } else {
772
749
  auto __resultRef = jni::make_global(__result);
773
- return [__resultRef](std::string id, RNLatLng location) -> void {
774
- return __resultRef->invoke(id,location);
775
- };
750
+ return JNICallable<JFunc_void_std__string_RNLatLng, void(std::string, RNLatLng)>(std::move(__resultRef));
776
751
  }
777
752
  }()) : std::nullopt;
778
753
  }
@@ -789,9 +764,7 @@ namespace margelo::nitro::rngooglemapsplus {
789
764
  return downcast->cthis()->getFunction();
790
765
  } else {
791
766
  auto __resultRef = jni::make_global(__result);
792
- return [__resultRef](std::string id, RNLatLng location) -> void {
793
- return __resultRef->invoke(id,location);
794
- };
767
+ return JNICallable<JFunc_void_std__string_RNLatLng, void(std::string, RNLatLng)>(std::move(__resultRef));
795
768
  }
796
769
  }()) : std::nullopt;
797
770
  }
@@ -808,9 +781,7 @@ namespace margelo::nitro::rngooglemapsplus {
808
781
  return downcast->cthis()->getFunction();
809
782
  } else {
810
783
  auto __resultRef = jni::make_global(__result);
811
- return [__resultRef](std::string id, RNLatLng location) -> void {
812
- return __resultRef->invoke(id,location);
813
- };
784
+ return JNICallable<JFunc_void_std__string_RNLatLng, void(std::string, RNLatLng)>(std::move(__resultRef));
814
785
  }
815
786
  }()) : std::nullopt;
816
787
  }
@@ -818,41 +789,37 @@ namespace margelo::nitro::rngooglemapsplus {
818
789
  static const auto method = javaClassStatic()->getMethod<void(jni::alias_ref<JFunc_void_std__string_RNLatLng::javaobject> /* onMarkerDragEnd */)>("setOnMarkerDragEnd_cxx");
819
790
  method(_javaPart, onMarkerDragEnd.has_value() ? JFunc_void_std__string_RNLatLng_cxx::fromCpp(onMarkerDragEnd.value()) : nullptr);
820
791
  }
821
- std::optional<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>> JHybridRNGoogleMapsPlusViewSpec::getOnIndoorBuildingFocused() {
792
+ std::optional<std::function<void(const RNIndoorBuilding& /* building */)>> JHybridRNGoogleMapsPlusViewSpec::getOnIndoorBuildingFocused() {
822
793
  static const auto method = javaClassStatic()->getMethod<jni::local_ref<JFunc_void_RNIndoorBuilding::javaobject>()>("getOnIndoorBuildingFocused_cxx");
823
794
  auto __result = method(_javaPart);
824
- return __result != nullptr ? std::make_optional([&]() -> std::function<void(const RNIndoorBuilding& /* indoorBuilding */)> {
795
+ return __result != nullptr ? std::make_optional([&]() -> std::function<void(const RNIndoorBuilding& /* building */)> {
825
796
  if (__result->isInstanceOf(JFunc_void_RNIndoorBuilding_cxx::javaClassStatic())) [[likely]] {
826
797
  auto downcast = jni::static_ref_cast<JFunc_void_RNIndoorBuilding_cxx::javaobject>(__result);
827
798
  return downcast->cthis()->getFunction();
828
799
  } else {
829
800
  auto __resultRef = jni::make_global(__result);
830
- return [__resultRef](RNIndoorBuilding indoorBuilding) -> void {
831
- return __resultRef->invoke(indoorBuilding);
832
- };
801
+ return JNICallable<JFunc_void_RNIndoorBuilding, void(RNIndoorBuilding)>(std::move(__resultRef));
833
802
  }
834
803
  }()) : std::nullopt;
835
804
  }
836
- void JHybridRNGoogleMapsPlusViewSpec::setOnIndoorBuildingFocused(const std::optional<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>>& onIndoorBuildingFocused) {
805
+ void JHybridRNGoogleMapsPlusViewSpec::setOnIndoorBuildingFocused(const std::optional<std::function<void(const RNIndoorBuilding& /* building */)>>& onIndoorBuildingFocused) {
837
806
  static const auto method = javaClassStatic()->getMethod<void(jni::alias_ref<JFunc_void_RNIndoorBuilding::javaobject> /* onIndoorBuildingFocused */)>("setOnIndoorBuildingFocused_cxx");
838
807
  method(_javaPart, onIndoorBuildingFocused.has_value() ? JFunc_void_RNIndoorBuilding_cxx::fromCpp(onIndoorBuildingFocused.value()) : nullptr);
839
808
  }
840
- std::optional<std::function<void(const RNIndoorLevel& /* indoorLevel */)>> JHybridRNGoogleMapsPlusViewSpec::getOnIndoorLevelActivated() {
809
+ std::optional<std::function<void(const RNIndoorLevel& /* level */)>> JHybridRNGoogleMapsPlusViewSpec::getOnIndoorLevelActivated() {
841
810
  static const auto method = javaClassStatic()->getMethod<jni::local_ref<JFunc_void_RNIndoorLevel::javaobject>()>("getOnIndoorLevelActivated_cxx");
842
811
  auto __result = method(_javaPart);
843
- return __result != nullptr ? std::make_optional([&]() -> std::function<void(const RNIndoorLevel& /* indoorLevel */)> {
812
+ return __result != nullptr ? std::make_optional([&]() -> std::function<void(const RNIndoorLevel& /* level */)> {
844
813
  if (__result->isInstanceOf(JFunc_void_RNIndoorLevel_cxx::javaClassStatic())) [[likely]] {
845
814
  auto downcast = jni::static_ref_cast<JFunc_void_RNIndoorLevel_cxx::javaobject>(__result);
846
815
  return downcast->cthis()->getFunction();
847
816
  } else {
848
817
  auto __resultRef = jni::make_global(__result);
849
- return [__resultRef](RNIndoorLevel indoorLevel) -> void {
850
- return __resultRef->invoke(indoorLevel);
851
- };
818
+ return JNICallable<JFunc_void_RNIndoorLevel, void(RNIndoorLevel)>(std::move(__resultRef));
852
819
  }
853
820
  }()) : std::nullopt;
854
821
  }
855
- void JHybridRNGoogleMapsPlusViewSpec::setOnIndoorLevelActivated(const std::optional<std::function<void(const RNIndoorLevel& /* indoorLevel */)>>& onIndoorLevelActivated) {
822
+ void JHybridRNGoogleMapsPlusViewSpec::setOnIndoorLevelActivated(const std::optional<std::function<void(const RNIndoorLevel& /* level */)>>& onIndoorLevelActivated) {
856
823
  static const auto method = javaClassStatic()->getMethod<void(jni::alias_ref<JFunc_void_RNIndoorLevel::javaobject> /* onIndoorLevelActivated */)>("setOnIndoorLevelActivated_cxx");
857
824
  method(_javaPart, onIndoorLevelActivated.has_value() ? JFunc_void_RNIndoorLevel_cxx::fromCpp(onIndoorLevelActivated.value()) : nullptr);
858
825
  }
@@ -865,9 +832,7 @@ namespace margelo::nitro::rngooglemapsplus {
865
832
  return downcast->cthis()->getFunction();
866
833
  } else {
867
834
  auto __resultRef = jni::make_global(__result);
868
- return [__resultRef](std::string id) -> void {
869
- return __resultRef->invoke(id);
870
- };
835
+ return JNICallable<JFunc_void_std__string, void(std::string)>(std::move(__resultRef));
871
836
  }
872
837
  }()) : std::nullopt;
873
838
  }
@@ -884,9 +849,7 @@ namespace margelo::nitro::rngooglemapsplus {
884
849
  return downcast->cthis()->getFunction();
885
850
  } else {
886
851
  auto __resultRef = jni::make_global(__result);
887
- return [__resultRef](std::string id) -> void {
888
- return __resultRef->invoke(id);
889
- };
852
+ return JNICallable<JFunc_void_std__string, void(std::string)>(std::move(__resultRef));
890
853
  }
891
854
  }()) : std::nullopt;
892
855
  }
@@ -903,9 +866,7 @@ namespace margelo::nitro::rngooglemapsplus {
903
866
  return downcast->cthis()->getFunction();
904
867
  } else {
905
868
  auto __resultRef = jni::make_global(__result);
906
- return [__resultRef](std::string id) -> void {
907
- return __resultRef->invoke(id);
908
- };
869
+ return JNICallable<JFunc_void_std__string, void(std::string)>(std::move(__resultRef));
909
870
  }
910
871
  }()) : std::nullopt;
911
872
  }
@@ -922,9 +883,7 @@ namespace margelo::nitro::rngooglemapsplus {
922
883
  return downcast->cthis()->getFunction();
923
884
  } else {
924
885
  auto __resultRef = jni::make_global(__result);
925
- return [__resultRef](RNLocation location) -> void {
926
- return __resultRef->invoke(location);
927
- };
886
+ return JNICallable<JFunc_void_RNLocation, void(RNLocation)>(std::move(__resultRef));
928
887
  }
929
888
  }()) : std::nullopt;
930
889
  }
@@ -941,9 +900,7 @@ namespace margelo::nitro::rngooglemapsplus {
941
900
  return downcast->cthis()->getFunction();
942
901
  } else {
943
902
  auto __resultRef = jni::make_global(__result);
944
- return [__resultRef](bool pressed) -> void {
945
- return __resultRef->invoke(pressed);
946
- };
903
+ return JNICallable<JFunc_void_bool, void(bool)>(std::move(__resultRef));
947
904
  }
948
905
  }()) : std::nullopt;
949
906
  }
@@ -960,9 +917,7 @@ namespace margelo::nitro::rngooglemapsplus {
960
917
  return downcast->cthis()->getFunction();
961
918
  } else {
962
919
  auto __resultRef = jni::make_global(__result);
963
- return [__resultRef](RNRegion region, RNCamera camera, bool isGesture) -> void {
964
- return __resultRef->invoke(region,camera,isGesture);
965
- };
920
+ return JNICallable<JFunc_void_RNRegion_RNCamera_bool, void(RNRegion, RNCamera, bool)>(std::move(__resultRef));
966
921
  }
967
922
  }()) : std::nullopt;
968
923
  }
@@ -979,9 +934,7 @@ namespace margelo::nitro::rngooglemapsplus {
979
934
  return downcast->cthis()->getFunction();
980
935
  } else {
981
936
  auto __resultRef = jni::make_global(__result);
982
- return [__resultRef](RNRegion region, RNCamera camera, bool isGesture) -> void {
983
- return __resultRef->invoke(region,camera,isGesture);
984
- };
937
+ return JNICallable<JFunc_void_RNRegion_RNCamera_bool, void(RNRegion, RNCamera, bool)>(std::move(__resultRef));
985
938
  }
986
939
  }()) : std::nullopt;
987
940
  }
@@ -998,9 +951,7 @@ namespace margelo::nitro::rngooglemapsplus {
998
951
  return downcast->cthis()->getFunction();
999
952
  } else {
1000
953
  auto __resultRef = jni::make_global(__result);
1001
- return [__resultRef](RNRegion region, RNCamera camera, bool isGesture) -> void {
1002
- return __resultRef->invoke(region,camera,isGesture);
1003
- };
954
+ return JNICallable<JFunc_void_RNRegion_RNCamera_bool, void(RNRegion, RNCamera, bool)>(std::move(__resultRef));
1004
955
  }
1005
956
  }()) : std::nullopt;
1006
957
  }
@@ -118,10 +118,10 @@ namespace margelo::nitro::rngooglemapsplus {
118
118
  void setOnMarkerDrag(const std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>>& onMarkerDrag) override;
119
119
  std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>> getOnMarkerDragEnd() override;
120
120
  void setOnMarkerDragEnd(const std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>>& onMarkerDragEnd) override;
121
- std::optional<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>> getOnIndoorBuildingFocused() override;
122
- void setOnIndoorBuildingFocused(const std::optional<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>>& onIndoorBuildingFocused) override;
123
- std::optional<std::function<void(const RNIndoorLevel& /* indoorLevel */)>> getOnIndoorLevelActivated() override;
124
- void setOnIndoorLevelActivated(const std::optional<std::function<void(const RNIndoorLevel& /* indoorLevel */)>>& onIndoorLevelActivated) override;
121
+ std::optional<std::function<void(const RNIndoorBuilding& /* building */)>> getOnIndoorBuildingFocused() override;
122
+ void setOnIndoorBuildingFocused(const std::optional<std::function<void(const RNIndoorBuilding& /* building */)>>& onIndoorBuildingFocused) override;
123
+ std::optional<std::function<void(const RNIndoorLevel& /* level */)>> getOnIndoorLevelActivated() override;
124
+ void setOnIndoorLevelActivated(const std::optional<std::function<void(const RNIndoorLevel& /* level */)>>& onIndoorLevelActivated) override;
125
125
  std::optional<std::function<void(const std::string& /* id */)>> getOnInfoWindowPress() override;
126
126
  void setOnInfoWindowPress(const std::optional<std::function<void(const std::string& /* id */)>>& onInfoWindowPress) override;
127
127
  std::optional<std::function<void(const std::string& /* id */)>> getOnInfoWindowClose() override;