react-native-google-maps-plus 1.6.2 → 1.7.0-dev.10

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 (96) hide show
  1. package/android/proguard-rules.pro +29 -0
  2. package/android/src/main/java/com/rngooglemapsplus/GoogleMapsViewImpl.kt +461 -445
  3. package/android/src/main/java/com/rngooglemapsplus/LocationHandler.kt +5 -8
  4. package/android/src/main/java/com/rngooglemapsplus/MapCircleBuilder.kt +2 -1
  5. package/android/src/main/java/com/rngooglemapsplus/MapHeatmapBuilder.kt +1 -1
  6. package/android/src/main/java/com/rngooglemapsplus/MapHelper.kt +22 -0
  7. package/android/src/main/java/com/rngooglemapsplus/MapMarkerBuilder.kt +142 -2
  8. package/android/src/main/java/com/rngooglemapsplus/MapPolygonBuilder.kt +2 -1
  9. package/android/src/main/java/com/rngooglemapsplus/MapPolylineBuilder.kt.kt +2 -1
  10. package/android/src/main/java/com/rngooglemapsplus/MapUrlTileOverlayBuilder.kt +40 -0
  11. package/android/src/main/java/com/rngooglemapsplus/RNGoogleMapsPlusView.kt +93 -33
  12. package/android/src/main/java/com/rngooglemapsplus/extensions/LatLngBoundsExtension.kt +10 -0
  13. package/android/src/main/java/com/rngooglemapsplus/extensions/MapObjectTagExtensions.kt +84 -0
  14. package/android/src/main/java/com/rngooglemapsplus/extensions/RNLatLngBoundsExtension.kt +2 -8
  15. package/android/src/main/java/com/rngooglemapsplus/extensions/RNMapTypeExtension.kt +13 -0
  16. package/android/src/main/java/com/rngooglemapsplus/extensions/VisibleRegionExtension.kt +13 -0
  17. package/ios/GoogleMapViewImpl.swift +182 -48
  18. package/ios/MapCircleBuilder.swift +2 -0
  19. package/ios/MapHeatmapBuilder.swift +2 -1
  20. package/ios/MapMarkerBuilder.swift +54 -1
  21. package/ios/MapPolygonBuilder.swift +2 -0
  22. package/ios/MapPolylineBuilder.swift +2 -0
  23. package/ios/MapUrlTileOverlayBuilder.swift +24 -0
  24. package/ios/RNGoogleMapsPlusView.swift +75 -10
  25. package/ios/extensions/GMSCoordinateBounds+Extension.swift +4 -13
  26. package/ios/extensions/GMSVisibleRegion+Extension.swift +14 -0
  27. package/ios/extensions/MapObjectTag+Extension.swift +93 -0
  28. package/ios/extensions/RNLatLngBounds+Extension.swift +4 -4
  29. package/ios/extensions/RNMapType+Extension.swift +18 -0
  30. package/lib/module/types.js.map +1 -1
  31. package/lib/nitrogen/generated/shared/json/RNGoogleMapsPlusViewConfig.json +9 -0
  32. package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts +19 -8
  33. package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts.map +1 -1
  34. package/lib/typescript/src/types.d.ts +18 -5
  35. package/lib/typescript/src/types.d.ts.map +1 -1
  36. package/nitrogen/generated/android/RNGoogleMapsPlusOnLoad.cpp +8 -4
  37. package/nitrogen/generated/android/c++/JFunc_void_RNRegion_RNCamera.hpp +83 -0
  38. package/nitrogen/generated/android/c++/JFunc_void_RNRegion_RNCamera_bool.hpp +2 -0
  39. package/nitrogen/generated/android/c++/JFunc_void_std__string.hpp +75 -0
  40. package/nitrogen/generated/android/c++/JFunc_void_std__string_RNLatLng.hpp +77 -0
  41. package/nitrogen/generated/android/c++/JFunc_void_std__string_std__string_RNLatLng.hpp +77 -0
  42. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.cpp +265 -73
  43. package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.hpp +34 -14
  44. package/nitrogen/generated/android/c++/JRNLatLngBounds.hpp +8 -8
  45. package/nitrogen/generated/android/c++/JRNMapUiSettings.hpp +11 -3
  46. package/nitrogen/generated/android/c++/JRNMarker.hpp +7 -3
  47. package/nitrogen/generated/android/c++/JRNRegion.hpp +23 -13
  48. package/nitrogen/generated/android/c++/JRNUrlTileOverlay.hpp +78 -0
  49. package/nitrogen/generated/android/c++/views/JHybridRNGoogleMapsPlusViewStateUpdater.cpp +36 -0
  50. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNRegion_RNCamera.kt +81 -0
  51. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/{Func_void_std__optional_std__string_.kt → Func_void_std__string.kt} +12 -12
  52. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/{Func_void_std__optional_std__string__RNLatLng.kt → Func_void_std__string_RNLatLng.kt} +12 -12
  53. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__string_std__string_RNLatLng.kt +81 -0
  54. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/HybridRNGoogleMapsPlusViewSpec.kt +147 -21
  55. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLatLngBounds.kt +4 -4
  56. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapUiSettings.kt +9 -3
  57. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMarker.kt +6 -3
  58. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNRegion.kt +11 -5
  59. package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNUrlTileOverlay.kt +52 -0
  60. package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.cpp +32 -8
  61. package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.hpp +176 -36
  62. package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Umbrella.hpp +3 -0
  63. package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusViewSpecSwift.hpp +98 -20
  64. package/nitrogen/generated/ios/c++/views/HybridRNGoogleMapsPlusViewComponent.mm +45 -0
  65. package/nitrogen/generated/ios/swift/Func_void_RNRegion_RNCamera.swift +47 -0
  66. package/nitrogen/generated/ios/swift/Func_void_std__optional_std__string_.swift +6 -6
  67. package/nitrogen/generated/ios/swift/Func_void_std__string.swift +47 -0
  68. package/nitrogen/generated/ios/swift/Func_void_std__string_RNLatLng.swift +47 -0
  69. package/nitrogen/generated/ios/swift/Func_void_std__string_std__string_RNLatLng.swift +47 -0
  70. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec.swift +18 -7
  71. package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec_cxx.swift +392 -126
  72. package/nitrogen/generated/ios/swift/RNLatLngBounds.swift +8 -8
  73. package/nitrogen/generated/ios/swift/RNMapUiSettings.swift +61 -1
  74. package/nitrogen/generated/ios/swift/RNMarker.swift +24 -1
  75. package/nitrogen/generated/ios/swift/RNRegion.swift +33 -11
  76. package/nitrogen/generated/ios/swift/RNUrlTileOverlay.swift +133 -0
  77. package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.cpp +20 -0
  78. package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.hpp +43 -20
  79. package/nitrogen/generated/shared/c++/RNLatLngBounds.hpp +9 -9
  80. package/nitrogen/generated/shared/c++/RNMapUiSettings.hpp +10 -2
  81. package/nitrogen/generated/shared/c++/RNMarker.hpp +6 -2
  82. package/nitrogen/generated/shared/c++/RNRegion.hpp +24 -13
  83. package/nitrogen/generated/shared/c++/RNUrlTileOverlay.hpp +96 -0
  84. package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.cpp +122 -14
  85. package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.hpp +19 -9
  86. package/nitrogen/generated/shared/json/RNGoogleMapsPlusViewConfig.json +9 -0
  87. package/package.json +8 -5
  88. package/src/RNGoogleMapsPlusView.nitro.ts +21 -7
  89. package/src/types.ts +19 -5
  90. package/android/src/main/java/com/rngooglemapsplus/extensions/LatLngBounds.kt +0 -15
  91. package/nitrogen/generated/android/c++/JFunc_void_std__optional_std__string_.hpp +0 -76
  92. package/nitrogen/generated/android/c++/JFunc_void_std__optional_std__string__RNLatLng.hpp +0 -78
  93. package/nitrogen/generated/ios/swift/Func_void_std__optional_std__string__RNLatLng.swift +0 -54
  94. /package/android/src/main/java/com/rngooglemapsplus/extensions/{RNSize.kt → RNSizeExtension.kt} +0 -0
  95. /package/android/src/main/java/com/rngooglemapsplus/extensions/{RNSnapshotFormat.kt → RNSnapshotFormatExtension.kt} +0 -0
  96. /package/android/src/main/java/com/rngooglemapsplus/extensions/{RNSnapshotResultType.kt → RNSnapshotResultTypeExtension.kt} +0 -0
@@ -88,6 +88,8 @@ namespace margelo::nitro::rngooglemapsplus { struct RNPosition; }
88
88
  namespace margelo::nitro::rngooglemapsplus { struct RNRegion; }
89
89
  // Forward declaration of `RNSize` to properly resolve imports.
90
90
  namespace margelo::nitro::rngooglemapsplus { struct RNSize; }
91
+ // Forward declaration of `RNUrlTileOverlay` to properly resolve imports.
92
+ namespace margelo::nitro::rngooglemapsplus { struct RNUrlTileOverlay; }
91
93
  // Forward declaration of `RNUserInterfaceStyle` to properly resolve imports.
92
94
  namespace margelo::nitro::rngooglemapsplus { enum class RNUserInterfaceStyle; }
93
95
 
@@ -138,6 +140,7 @@ namespace RNGoogleMapsPlus { class HybridRNGoogleMapsPlusViewSpec_cxx; }
138
140
  #include "RNPosition.hpp"
139
141
  #include "RNRegion.hpp"
140
142
  #include "RNSize.hpp"
143
+ #include "RNUrlTileOverlay.hpp"
141
144
  #include "RNUserInterfaceStyle.hpp"
142
145
  #include <NitroModules/FastVectorCopy.hpp>
143
146
  #include <NitroModules/Promise.hpp>
@@ -748,6 +751,32 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
748
751
  return *optional;
749
752
  }
750
753
 
754
+ // pragma MARK: std::vector<RNUrlTileOverlay>
755
+ /**
756
+ * Specialized version of `std::vector<RNUrlTileOverlay>`.
757
+ */
758
+ using std__vector_RNUrlTileOverlay_ = std::vector<RNUrlTileOverlay>;
759
+ inline std::vector<RNUrlTileOverlay> create_std__vector_RNUrlTileOverlay_(size_t size) noexcept {
760
+ std::vector<RNUrlTileOverlay> vector;
761
+ vector.reserve(size);
762
+ return vector;
763
+ }
764
+
765
+ // pragma MARK: std::optional<std::vector<RNUrlTileOverlay>>
766
+ /**
767
+ * Specialized version of `std::optional<std::vector<RNUrlTileOverlay>>`.
768
+ */
769
+ using std__optional_std__vector_RNUrlTileOverlay__ = std::optional<std::vector<RNUrlTileOverlay>>;
770
+ inline std::optional<std::vector<RNUrlTileOverlay>> create_std__optional_std__vector_RNUrlTileOverlay__(const std::vector<RNUrlTileOverlay>& value) noexcept {
771
+ return std::optional<std::vector<RNUrlTileOverlay>>(value);
772
+ }
773
+ inline bool has_value_std__optional_std__vector_RNUrlTileOverlay__(const std::optional<std::vector<RNUrlTileOverlay>>& optional) noexcept {
774
+ return optional.has_value();
775
+ }
776
+ inline std::vector<RNUrlTileOverlay> get_std__optional_std__vector_RNUrlTileOverlay__(const std::optional<std::vector<RNUrlTileOverlay>>& optional) noexcept {
777
+ return *optional;
778
+ }
779
+
751
780
  // pragma MARK: std::optional<RNAndroidLocationPriority>
752
781
  /**
753
782
  * Specialized version of `std::optional<RNAndroidLocationPriority>`.
@@ -897,6 +926,43 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
897
926
  return *optional;
898
927
  }
899
928
 
929
+ // pragma MARK: std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>
930
+ /**
931
+ * Specialized version of `std::function<void(const RNRegion&, const RNCamera&)>`.
932
+ */
933
+ using Func_void_RNRegion_RNCamera = std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>;
934
+ /**
935
+ * Wrapper class for a `std::function<void(const RNRegion& / * region * /, const RNCamera& / * camera * /)>`, this can be used from Swift.
936
+ */
937
+ class Func_void_RNRegion_RNCamera_Wrapper final {
938
+ public:
939
+ explicit Func_void_RNRegion_RNCamera_Wrapper(std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>&& func): _function(std::make_unique<std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>>(std::move(func))) {}
940
+ inline void call(RNRegion region, RNCamera camera) const noexcept {
941
+ _function->operator()(region, camera);
942
+ }
943
+ private:
944
+ std::unique_ptr<std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>> _function;
945
+ } SWIFT_NONCOPYABLE;
946
+ Func_void_RNRegion_RNCamera create_Func_void_RNRegion_RNCamera(void* NON_NULL swiftClosureWrapper) noexcept;
947
+ inline Func_void_RNRegion_RNCamera_Wrapper wrap_Func_void_RNRegion_RNCamera(Func_void_RNRegion_RNCamera value) noexcept {
948
+ return Func_void_RNRegion_RNCamera_Wrapper(std::move(value));
949
+ }
950
+
951
+ // pragma MARK: std::optional<std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>>
952
+ /**
953
+ * Specialized version of `std::optional<std::function<void(const RNRegion& / * region * /, const RNCamera& / * camera * /)>>`.
954
+ */
955
+ using std__optional_std__function_void_const_RNRegion_____region_____const_RNCamera_____camera______ = std::optional<std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>>;
956
+ inline std::optional<std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>> create_std__optional_std__function_void_const_RNRegion_____region_____const_RNCamera_____camera______(const std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>& value) noexcept {
957
+ return std::optional<std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>>(value);
958
+ }
959
+ inline bool has_value_std__optional_std__function_void_const_RNRegion_____region_____const_RNCamera_____camera______(const std::optional<std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>>& optional) noexcept {
960
+ return optional.has_value();
961
+ }
962
+ inline std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)> get_std__optional_std__function_void_const_RNRegion_____region_____const_RNCamera_____camera______(const std::optional<std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>>& optional) noexcept {
963
+ return *optional;
964
+ }
965
+
900
966
  // pragma MARK: std::optional<RNLocationAndroid>
901
967
  /**
902
968
  * Specialized version of `std::optional<RNLocationAndroid>`.
@@ -1038,77 +1104,114 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
1038
1104
  return *optional;
1039
1105
  }
1040
1106
 
1041
- // pragma MARK: std::function<void(const std::optional<std::string>& /* id */)>
1107
+ // pragma MARK: std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>
1042
1108
  /**
1043
- * Specialized version of `std::function<void(const std::optional<std::string>&)>`.
1109
+ * Specialized version of `std::function<void(const std::string&, const std::string&, const RNLatLng&)>`.
1044
1110
  */
1045
- using Func_void_std__optional_std__string_ = std::function<void(const std::optional<std::string>& /* id */)>;
1111
+ using Func_void_std__string_std__string_RNLatLng = std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>;
1046
1112
  /**
1047
- * Wrapper class for a `std::function<void(const std::optional<std::string>& / * id * /)>`, this can be used from Swift.
1113
+ * Wrapper class for a `std::function<void(const std::string& / * placeId * /, const std::string& / * name * /, const RNLatLng& / * coordinate * /)>`, this can be used from Swift.
1048
1114
  */
1049
- class Func_void_std__optional_std__string__Wrapper final {
1115
+ class Func_void_std__string_std__string_RNLatLng_Wrapper final {
1050
1116
  public:
1051
- explicit Func_void_std__optional_std__string__Wrapper(std::function<void(const std::optional<std::string>& /* id */)>&& func): _function(std::make_unique<std::function<void(const std::optional<std::string>& /* id */)>>(std::move(func))) {}
1052
- inline void call(std::optional<std::string> id) const noexcept {
1117
+ explicit Func_void_std__string_std__string_RNLatLng_Wrapper(std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>&& func): _function(std::make_unique<std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>>(std::move(func))) {}
1118
+ inline void call(std::string placeId, std::string name, RNLatLng coordinate) const noexcept {
1119
+ _function->operator()(placeId, name, coordinate);
1120
+ }
1121
+ private:
1122
+ std::unique_ptr<std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>> _function;
1123
+ } SWIFT_NONCOPYABLE;
1124
+ Func_void_std__string_std__string_RNLatLng create_Func_void_std__string_std__string_RNLatLng(void* NON_NULL swiftClosureWrapper) noexcept;
1125
+ inline Func_void_std__string_std__string_RNLatLng_Wrapper wrap_Func_void_std__string_std__string_RNLatLng(Func_void_std__string_std__string_RNLatLng value) noexcept {
1126
+ return Func_void_std__string_std__string_RNLatLng_Wrapper(std::move(value));
1127
+ }
1128
+
1129
+ // pragma MARK: std::optional<std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>>
1130
+ /**
1131
+ * Specialized version of `std::optional<std::function<void(const std::string& / * placeId * /, const std::string& / * name * /, const RNLatLng& / * coordinate * /)>>`.
1132
+ */
1133
+ using std__optional_std__function_void_const_std__string_____placeId_____const_std__string_____name_____const_RNLatLng_____coordinate______ = std::optional<std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>>;
1134
+ inline std::optional<std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>> create_std__optional_std__function_void_const_std__string_____placeId_____const_std__string_____name_____const_RNLatLng_____coordinate______(const std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>& value) noexcept {
1135
+ return std::optional<std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>>(value);
1136
+ }
1137
+ inline bool has_value_std__optional_std__function_void_const_std__string_____placeId_____const_std__string_____name_____const_RNLatLng_____coordinate______(const std::optional<std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>>& optional) noexcept {
1138
+ return optional.has_value();
1139
+ }
1140
+ inline std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)> get_std__optional_std__function_void_const_std__string_____placeId_____const_std__string_____name_____const_RNLatLng_____coordinate______(const std::optional<std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>>& optional) noexcept {
1141
+ return *optional;
1142
+ }
1143
+
1144
+ // pragma MARK: std::function<void(const std::string& /* id */)>
1145
+ /**
1146
+ * Specialized version of `std::function<void(const std::string&)>`.
1147
+ */
1148
+ using Func_void_std__string = std::function<void(const std::string& /* id */)>;
1149
+ /**
1150
+ * Wrapper class for a `std::function<void(const std::string& / * id * /)>`, this can be used from Swift.
1151
+ */
1152
+ class Func_void_std__string_Wrapper final {
1153
+ public:
1154
+ explicit Func_void_std__string_Wrapper(std::function<void(const std::string& /* id */)>&& func): _function(std::make_unique<std::function<void(const std::string& /* id */)>>(std::move(func))) {}
1155
+ inline void call(std::string id) const noexcept {
1053
1156
  _function->operator()(id);
1054
1157
  }
1055
1158
  private:
1056
- std::unique_ptr<std::function<void(const std::optional<std::string>& /* id */)>> _function;
1159
+ std::unique_ptr<std::function<void(const std::string& /* id */)>> _function;
1057
1160
  } SWIFT_NONCOPYABLE;
1058
- Func_void_std__optional_std__string_ create_Func_void_std__optional_std__string_(void* NON_NULL swiftClosureWrapper) noexcept;
1059
- inline Func_void_std__optional_std__string__Wrapper wrap_Func_void_std__optional_std__string_(Func_void_std__optional_std__string_ value) noexcept {
1060
- return Func_void_std__optional_std__string__Wrapper(std::move(value));
1161
+ Func_void_std__string create_Func_void_std__string(void* NON_NULL swiftClosureWrapper) noexcept;
1162
+ inline Func_void_std__string_Wrapper wrap_Func_void_std__string(Func_void_std__string value) noexcept {
1163
+ return Func_void_std__string_Wrapper(std::move(value));
1061
1164
  }
1062
1165
 
1063
- // pragma MARK: std::optional<std::function<void(const std::optional<std::string>& /* id */)>>
1166
+ // pragma MARK: std::optional<std::function<void(const std::string& /* id */)>>
1064
1167
  /**
1065
- * Specialized version of `std::optional<std::function<void(const std::optional<std::string>& / * id * /)>>`.
1168
+ * Specialized version of `std::optional<std::function<void(const std::string& / * id * /)>>`.
1066
1169
  */
1067
- using std__optional_std__function_void_const_std__optional_std__string______id______ = std::optional<std::function<void(const std::optional<std::string>& /* id */)>>;
1068
- inline std::optional<std::function<void(const std::optional<std::string>& /* id */)>> create_std__optional_std__function_void_const_std__optional_std__string______id______(const std::function<void(const std::optional<std::string>& /* id */)>& value) noexcept {
1069
- return std::optional<std::function<void(const std::optional<std::string>& /* id */)>>(value);
1170
+ using std__optional_std__function_void_const_std__string_____id______ = std::optional<std::function<void(const std::string& /* id */)>>;
1171
+ inline std::optional<std::function<void(const std::string& /* id */)>> create_std__optional_std__function_void_const_std__string_____id______(const std::function<void(const std::string& /* id */)>& value) noexcept {
1172
+ return std::optional<std::function<void(const std::string& /* id */)>>(value);
1070
1173
  }
1071
- inline bool has_value_std__optional_std__function_void_const_std__optional_std__string______id______(const std::optional<std::function<void(const std::optional<std::string>& /* id */)>>& optional) noexcept {
1174
+ inline bool has_value_std__optional_std__function_void_const_std__string_____id______(const std::optional<std::function<void(const std::string& /* id */)>>& optional) noexcept {
1072
1175
  return optional.has_value();
1073
1176
  }
1074
- inline std::function<void(const std::optional<std::string>& /* id */)> get_std__optional_std__function_void_const_std__optional_std__string______id______(const std::optional<std::function<void(const std::optional<std::string>& /* id */)>>& optional) noexcept {
1177
+ inline std::function<void(const std::string& /* id */)> get_std__optional_std__function_void_const_std__string_____id______(const std::optional<std::function<void(const std::string& /* id */)>>& optional) noexcept {
1075
1178
  return *optional;
1076
1179
  }
1077
1180
 
1078
- // pragma MARK: std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>
1181
+ // pragma MARK: std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>
1079
1182
  /**
1080
- * Specialized version of `std::function<void(const std::optional<std::string>&, const RNLatLng&)>`.
1183
+ * Specialized version of `std::function<void(const std::string&, const RNLatLng&)>`.
1081
1184
  */
1082
- using Func_void_std__optional_std__string__RNLatLng = std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>;
1185
+ using Func_void_std__string_RNLatLng = std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>;
1083
1186
  /**
1084
- * Wrapper class for a `std::function<void(const std::optional<std::string>& / * id * /, const RNLatLng& / * location * /)>`, this can be used from Swift.
1187
+ * Wrapper class for a `std::function<void(const std::string& / * id * /, const RNLatLng& / * location * /)>`, this can be used from Swift.
1085
1188
  */
1086
- class Func_void_std__optional_std__string__RNLatLng_Wrapper final {
1189
+ class Func_void_std__string_RNLatLng_Wrapper final {
1087
1190
  public:
1088
- explicit Func_void_std__optional_std__string__RNLatLng_Wrapper(std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>&& func): _function(std::make_unique<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>>(std::move(func))) {}
1089
- inline void call(std::optional<std::string> id, RNLatLng location) const noexcept {
1191
+ explicit Func_void_std__string_RNLatLng_Wrapper(std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>&& func): _function(std::make_unique<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>>(std::move(func))) {}
1192
+ inline void call(std::string id, RNLatLng location) const noexcept {
1090
1193
  _function->operator()(id, location);
1091
1194
  }
1092
1195
  private:
1093
- std::unique_ptr<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>> _function;
1196
+ std::unique_ptr<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>> _function;
1094
1197
  } SWIFT_NONCOPYABLE;
1095
- Func_void_std__optional_std__string__RNLatLng create_Func_void_std__optional_std__string__RNLatLng(void* NON_NULL swiftClosureWrapper) noexcept;
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 {
1097
- return Func_void_std__optional_std__string__RNLatLng_Wrapper(std::move(value));
1198
+ Func_void_std__string_RNLatLng create_Func_void_std__string_RNLatLng(void* NON_NULL swiftClosureWrapper) noexcept;
1199
+ inline Func_void_std__string_RNLatLng_Wrapper wrap_Func_void_std__string_RNLatLng(Func_void_std__string_RNLatLng value) noexcept {
1200
+ return Func_void_std__string_RNLatLng_Wrapper(std::move(value));
1098
1201
  }
1099
1202
 
1100
- // pragma MARK: std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>>
1203
+ // pragma MARK: std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>>
1101
1204
  /**
1102
- * Specialized version of `std::optional<std::function<void(const std::optional<std::string>& / * id * /, const RNLatLng& / * location * /)>>`.
1205
+ * Specialized version of `std::optional<std::function<void(const std::string& / * id * /, const RNLatLng& / * location * /)>>`.
1103
1206
  */
1104
- using std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______ = std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>>;
1105
- inline std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>> create_std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______(const std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>& value) noexcept {
1106
- return std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>>(value);
1207
+ using std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______ = std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>>;
1208
+ inline std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>> create_std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______(const std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>& value) noexcept {
1209
+ return std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>>(value);
1107
1210
  }
1108
- inline bool has_value_std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______(const std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>>& optional) noexcept {
1211
+ inline bool has_value_std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______(const std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>>& optional) noexcept {
1109
1212
  return optional.has_value();
1110
1213
  }
1111
- inline std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)> get_std__optional_std__function_void_const_std__optional_std__string______id_____const_RNLatLng_____location______(const std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>>& optional) noexcept {
1214
+ inline std::function<void(const std::string& /* id */, const RNLatLng& /* location */)> get_std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______(const std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>>& optional) noexcept {
1112
1215
  return *optional;
1113
1216
  }
1114
1217
 
@@ -1197,6 +1300,21 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
1197
1300
  return *optional;
1198
1301
  }
1199
1302
 
1303
+ // pragma MARK: std::optional<std::function<void(bool /* pressed */)>>
1304
+ /**
1305
+ * Specialized version of `std::optional<std::function<void(bool / * pressed * /)>>`.
1306
+ */
1307
+ using std__optional_std__function_void_bool____pressed______ = std::optional<std::function<void(bool /* pressed */)>>;
1308
+ inline std::optional<std::function<void(bool /* pressed */)>> create_std__optional_std__function_void_bool____pressed______(const std::function<void(bool /* pressed */)>& value) noexcept {
1309
+ return std::optional<std::function<void(bool /* pressed */)>>(value);
1310
+ }
1311
+ inline bool has_value_std__optional_std__function_void_bool____pressed______(const std::optional<std::function<void(bool /* pressed */)>>& optional) noexcept {
1312
+ return optional.has_value();
1313
+ }
1314
+ inline std::function<void(bool /* pressed */)> get_std__optional_std__function_void_bool____pressed______(const std::optional<std::function<void(bool /* pressed */)>>& optional) noexcept {
1315
+ return *optional;
1316
+ }
1317
+
1200
1318
  // pragma MARK: std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */, bool /* isGesture */)>
1201
1319
  /**
1202
1320
  * Specialized version of `std::function<void(const RNRegion&, const RNCamera&, bool)>`.
@@ -1261,6 +1379,28 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
1261
1379
  return PromiseHolder<std::optional<std::string>>(std::move(promise));
1262
1380
  }
1263
1381
 
1382
+ // pragma MARK: std::function<void(const std::optional<std::string>& /* result */)>
1383
+ /**
1384
+ * Specialized version of `std::function<void(const std::optional<std::string>&)>`.
1385
+ */
1386
+ using Func_void_std__optional_std__string_ = std::function<void(const std::optional<std::string>& /* result */)>;
1387
+ /**
1388
+ * Wrapper class for a `std::function<void(const std::optional<std::string>& / * result * /)>`, this can be used from Swift.
1389
+ */
1390
+ class Func_void_std__optional_std__string__Wrapper final {
1391
+ public:
1392
+ explicit Func_void_std__optional_std__string__Wrapper(std::function<void(const std::optional<std::string>& /* result */)>&& func): _function(std::make_unique<std::function<void(const std::optional<std::string>& /* result */)>>(std::move(func))) {}
1393
+ inline void call(std::optional<std::string> result) const noexcept {
1394
+ _function->operator()(result);
1395
+ }
1396
+ private:
1397
+ std::unique_ptr<std::function<void(const std::optional<std::string>& /* result */)>> _function;
1398
+ } SWIFT_NONCOPYABLE;
1399
+ Func_void_std__optional_std__string_ create_Func_void_std__optional_std__string_(void* NON_NULL swiftClosureWrapper) noexcept;
1400
+ inline Func_void_std__optional_std__string__Wrapper wrap_Func_void_std__optional_std__string_(Func_void_std__optional_std__string_ value) noexcept {
1401
+ return Func_void_std__optional_std__string__Wrapper(std::move(value));
1402
+ }
1403
+
1264
1404
  // pragma MARK: std::optional<RNSize>
1265
1405
  /**
1266
1406
  * Specialized version of `std::optional<RNSize>`.
@@ -94,6 +94,8 @@ namespace margelo::nitro::rngooglemapsplus { enum class RNSnapshotFormat; }
94
94
  namespace margelo::nitro::rngooglemapsplus { struct RNSnapshotOptions; }
95
95
  // Forward declaration of `RNSnapshotResultType` to properly resolve imports.
96
96
  namespace margelo::nitro::rngooglemapsplus { enum class RNSnapshotResultType; }
97
+ // Forward declaration of `RNUrlTileOverlay` to properly resolve imports.
98
+ namespace margelo::nitro::rngooglemapsplus { struct RNUrlTileOverlay; }
97
99
  // Forward declaration of `RNUserInterfaceStyle` to properly resolve imports.
98
100
  namespace margelo::nitro::rngooglemapsplus { enum class RNUserInterfaceStyle; }
99
101
 
@@ -141,6 +143,7 @@ namespace margelo::nitro::rngooglemapsplus { enum class RNUserInterfaceStyle; }
141
143
  #include "RNSnapshotFormat.hpp"
142
144
  #include "RNSnapshotOptions.hpp"
143
145
  #include "RNSnapshotResultType.hpp"
146
+ #include "RNUrlTileOverlay.hpp"
144
147
  #include "RNUserInterfaceStyle.hpp"
145
148
  #include <NitroModules/Promise.hpp>
146
149
  #include <NitroModules/Result.hpp>
@@ -54,6 +54,8 @@ namespace margelo::nitro::rngooglemapsplus { struct RNHeatmapPoint; }
54
54
  namespace margelo::nitro::rngooglemapsplus { struct RNHeatmapGradient; }
55
55
  // Forward declaration of `RNKMLayer` to properly resolve imports.
56
56
  namespace margelo::nitro::rngooglemapsplus { struct RNKMLayer; }
57
+ // Forward declaration of `RNUrlTileOverlay` to properly resolve imports.
58
+ namespace margelo::nitro::rngooglemapsplus { struct RNUrlTileOverlay; }
57
59
  // Forward declaration of `RNLocationConfig` to properly resolve imports.
58
60
  namespace margelo::nitro::rngooglemapsplus { struct RNLocationConfig; }
59
61
  // Forward declaration of `RNAndroidLocationConfig` to properly resolve imports.
@@ -66,6 +68,10 @@ namespace margelo::nitro::rngooglemapsplus { struct RNIOSLocationConfig; }
66
68
  namespace margelo::nitro::rngooglemapsplus { enum class RNIOSLocationAccuracy; }
67
69
  // Forward declaration of `RNMapErrorCode` to properly resolve imports.
68
70
  namespace margelo::nitro::rngooglemapsplus { enum class RNMapErrorCode; }
71
+ // Forward declaration of `RNRegion` to properly resolve imports.
72
+ namespace margelo::nitro::rngooglemapsplus { struct RNRegion; }
73
+ // Forward declaration of `RNLatLngBounds` to properly resolve imports.
74
+ namespace margelo::nitro::rngooglemapsplus { struct RNLatLngBounds; }
69
75
  // Forward declaration of `RNLocation` to properly resolve imports.
70
76
  namespace margelo::nitro::rngooglemapsplus { struct RNLocation; }
71
77
  // Forward declaration of `RNLocationAndroid` to properly resolve imports.
@@ -78,10 +84,6 @@ namespace margelo::nitro::rngooglemapsplus { enum class RNLocationErrorCode; }
78
84
  namespace margelo::nitro::rngooglemapsplus { struct RNIndoorBuilding; }
79
85
  // Forward declaration of `RNIndoorLevel` to properly resolve imports.
80
86
  namespace margelo::nitro::rngooglemapsplus { struct RNIndoorLevel; }
81
- // Forward declaration of `RNRegion` to properly resolve imports.
82
- namespace margelo::nitro::rngooglemapsplus { struct RNRegion; }
83
- // Forward declaration of `RNLatLngBounds` to properly resolve imports.
84
- namespace margelo::nitro::rngooglemapsplus { struct RNLatLngBounds; }
85
87
  // Forward declaration of `RNSnapshotOptions` to properly resolve imports.
86
88
  namespace margelo::nitro::rngooglemapsplus { struct RNSnapshotOptions; }
87
89
  // Forward declaration of `RNSize` to properly resolve imports.
@@ -121,6 +123,7 @@ namespace margelo::nitro::rngooglemapsplus { enum class RNIOSPermissionResult; }
121
123
  #include "RNHeatmapPoint.hpp"
122
124
  #include "RNHeatmapGradient.hpp"
123
125
  #include "RNKMLayer.hpp"
126
+ #include "RNUrlTileOverlay.hpp"
124
127
  #include "RNLocationConfig.hpp"
125
128
  #include "RNAndroidLocationConfig.hpp"
126
129
  #include "RNAndroidLocationPriority.hpp"
@@ -128,14 +131,14 @@ namespace margelo::nitro::rngooglemapsplus { enum class RNIOSPermissionResult; }
128
131
  #include "RNIOSLocationAccuracy.hpp"
129
132
  #include "RNMapErrorCode.hpp"
130
133
  #include <functional>
134
+ #include "RNRegion.hpp"
135
+ #include "RNLatLngBounds.hpp"
131
136
  #include "RNLocation.hpp"
132
137
  #include "RNLocationAndroid.hpp"
133
138
  #include "RNLocationIOS.hpp"
134
139
  #include "RNLocationErrorCode.hpp"
135
140
  #include "RNIndoorBuilding.hpp"
136
141
  #include "RNIndoorLevel.hpp"
137
- #include "RNRegion.hpp"
138
- #include "RNLatLngBounds.hpp"
139
142
  #include <NitroModules/Promise.hpp>
140
143
  #include "RNSnapshotOptions.hpp"
141
144
  #include "RNSize.hpp"
@@ -301,6 +304,13 @@ namespace margelo::nitro::rngooglemapsplus {
301
304
  inline void setKmlLayers(const std::optional<std::vector<RNKMLayer>>& kmlLayers) noexcept override {
302
305
  _swiftPart.setKmlLayers(kmlLayers);
303
306
  }
307
+ inline std::optional<std::vector<RNUrlTileOverlay>> getUrlTileOverlays() noexcept override {
308
+ auto __result = _swiftPart.getUrlTileOverlays();
309
+ return __result;
310
+ }
311
+ inline void setUrlTileOverlays(const std::optional<std::vector<RNUrlTileOverlay>>& urlTileOverlays) noexcept override {
312
+ _swiftPart.setUrlTileOverlays(urlTileOverlays);
313
+ }
304
314
  inline std::optional<RNLocationConfig> getLocationConfig() noexcept override {
305
315
  auto __result = _swiftPart.getLocationConfig();
306
316
  return __result;
@@ -322,6 +332,13 @@ namespace margelo::nitro::rngooglemapsplus {
322
332
  inline void setOnMapReady(const std::optional<std::function<void(bool /* ready */)>>& onMapReady) noexcept override {
323
333
  _swiftPart.setOnMapReady(onMapReady);
324
334
  }
335
+ inline std::optional<std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>> getOnMapLoaded() noexcept override {
336
+ auto __result = _swiftPart.getOnMapLoaded();
337
+ return __result;
338
+ }
339
+ inline void setOnMapLoaded(const std::optional<std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */)>>& onMapLoaded) noexcept override {
340
+ _swiftPart.setOnMapLoaded(onMapLoaded);
341
+ }
325
342
  inline std::optional<std::function<void(const RNLocation& /* location */)>> getOnLocationUpdate() noexcept override {
326
343
  auto __result = _swiftPart.getOnLocationUpdate();
327
344
  return __result;
@@ -343,53 +360,67 @@ namespace margelo::nitro::rngooglemapsplus {
343
360
  inline void setOnMapPress(const std::optional<std::function<void(const RNLatLng& /* coordinate */)>>& onMapPress) noexcept override {
344
361
  _swiftPart.setOnMapPress(onMapPress);
345
362
  }
346
- inline std::optional<std::function<void(const std::optional<std::string>& /* id */)>> getOnMarkerPress() noexcept override {
363
+ inline std::optional<std::function<void(const RNLatLng& /* coordinate */)>> getOnMapLongPress() noexcept override {
364
+ auto __result = _swiftPart.getOnMapLongPress();
365
+ return __result;
366
+ }
367
+ inline void setOnMapLongPress(const std::optional<std::function<void(const RNLatLng& /* coordinate */)>>& onMapLongPress) noexcept override {
368
+ _swiftPart.setOnMapLongPress(onMapLongPress);
369
+ }
370
+ inline std::optional<std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>> getOnPoiPress() noexcept override {
371
+ auto __result = _swiftPart.getOnPoiPress();
372
+ return __result;
373
+ }
374
+ inline void setOnPoiPress(const std::optional<std::function<void(const std::string& /* placeId */, const std::string& /* name */, const RNLatLng& /* coordinate */)>>& onPoiPress) noexcept override {
375
+ _swiftPart.setOnPoiPress(onPoiPress);
376
+ }
377
+ inline std::optional<std::function<void(const std::string& /* id */)>> getOnMarkerPress() noexcept override {
347
378
  auto __result = _swiftPart.getOnMarkerPress();
348
379
  return __result;
349
380
  }
350
- inline void setOnMarkerPress(const std::optional<std::function<void(const std::optional<std::string>& /* id */)>>& onMarkerPress) noexcept override {
381
+ inline void setOnMarkerPress(const std::optional<std::function<void(const std::string& /* id */)>>& onMarkerPress) noexcept override {
351
382
  _swiftPart.setOnMarkerPress(onMarkerPress);
352
383
  }
353
- inline std::optional<std::function<void(const std::optional<std::string>& /* id */)>> getOnPolylinePress() noexcept override {
384
+ inline std::optional<std::function<void(const std::string& /* id */)>> getOnPolylinePress() noexcept override {
354
385
  auto __result = _swiftPart.getOnPolylinePress();
355
386
  return __result;
356
387
  }
357
- inline void setOnPolylinePress(const std::optional<std::function<void(const std::optional<std::string>& /* id */)>>& onPolylinePress) noexcept override {
388
+ inline void setOnPolylinePress(const std::optional<std::function<void(const std::string& /* id */)>>& onPolylinePress) noexcept override {
358
389
  _swiftPart.setOnPolylinePress(onPolylinePress);
359
390
  }
360
- inline std::optional<std::function<void(const std::optional<std::string>& /* id */)>> getOnPolygonPress() noexcept override {
391
+ inline std::optional<std::function<void(const std::string& /* id */)>> getOnPolygonPress() noexcept override {
361
392
  auto __result = _swiftPart.getOnPolygonPress();
362
393
  return __result;
363
394
  }
364
- inline void setOnPolygonPress(const std::optional<std::function<void(const std::optional<std::string>& /* id */)>>& onPolygonPress) noexcept override {
395
+ inline void setOnPolygonPress(const std::optional<std::function<void(const std::string& /* id */)>>& onPolygonPress) noexcept override {
365
396
  _swiftPart.setOnPolygonPress(onPolygonPress);
366
397
  }
367
- inline std::optional<std::function<void(const std::optional<std::string>& /* id */)>> getOnCirclePress() noexcept override {
398
+ inline std::optional<std::function<void(const std::string& /* id */)>> getOnCirclePress() noexcept override {
368
399
  auto __result = _swiftPart.getOnCirclePress();
369
400
  return __result;
370
401
  }
371
- inline void setOnCirclePress(const std::optional<std::function<void(const std::optional<std::string>& /* id */)>>& onCirclePress) noexcept override {
402
+ inline void setOnCirclePress(const std::optional<std::function<void(const std::string& /* id */)>>& onCirclePress) noexcept override {
372
403
  _swiftPart.setOnCirclePress(onCirclePress);
373
404
  }
374
- inline std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>> getOnMarkerDragStart() noexcept override {
405
+ inline std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>> getOnMarkerDragStart() noexcept override {
375
406
  auto __result = _swiftPart.getOnMarkerDragStart();
376
407
  return __result;
377
408
  }
378
- inline void setOnMarkerDragStart(const std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>>& onMarkerDragStart) noexcept override {
409
+ inline void setOnMarkerDragStart(const std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>>& onMarkerDragStart) noexcept override {
379
410
  _swiftPart.setOnMarkerDragStart(onMarkerDragStart);
380
411
  }
381
- inline std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>> getOnMarkerDrag() noexcept override {
412
+ inline std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>> getOnMarkerDrag() noexcept override {
382
413
  auto __result = _swiftPart.getOnMarkerDrag();
383
414
  return __result;
384
415
  }
385
- inline void setOnMarkerDrag(const std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>>& onMarkerDrag) noexcept override {
416
+ inline void setOnMarkerDrag(const std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>>& onMarkerDrag) noexcept override {
386
417
  _swiftPart.setOnMarkerDrag(onMarkerDrag);
387
418
  }
388
- inline std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>> getOnMarkerDragEnd() noexcept override {
419
+ inline std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>> getOnMarkerDragEnd() noexcept override {
389
420
  auto __result = _swiftPart.getOnMarkerDragEnd();
390
421
  return __result;
391
422
  }
392
- inline void setOnMarkerDragEnd(const std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>>& onMarkerDragEnd) noexcept override {
423
+ inline void setOnMarkerDragEnd(const std::optional<std::function<void(const std::string& /* id */, const RNLatLng& /* location */)>>& onMarkerDragEnd) noexcept override {
393
424
  _swiftPart.setOnMarkerDragEnd(onMarkerDragEnd);
394
425
  }
395
426
  inline std::optional<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>> getOnIndoorBuildingFocused() noexcept override {
@@ -406,6 +437,41 @@ namespace margelo::nitro::rngooglemapsplus {
406
437
  inline void setOnIndoorLevelActivated(const std::optional<std::function<void(const RNIndoorLevel& /* indoorLevel */)>>& onIndoorLevelActivated) noexcept override {
407
438
  _swiftPart.setOnIndoorLevelActivated(onIndoorLevelActivated);
408
439
  }
440
+ inline std::optional<std::function<void(const std::string& /* id */)>> getOnInfoWindowPress() noexcept override {
441
+ auto __result = _swiftPart.getOnInfoWindowPress();
442
+ return __result;
443
+ }
444
+ inline void setOnInfoWindowPress(const std::optional<std::function<void(const std::string& /* id */)>>& onInfoWindowPress) noexcept override {
445
+ _swiftPart.setOnInfoWindowPress(onInfoWindowPress);
446
+ }
447
+ inline std::optional<std::function<void(const std::string& /* id */)>> getOnInfoWindowClose() noexcept override {
448
+ auto __result = _swiftPart.getOnInfoWindowClose();
449
+ return __result;
450
+ }
451
+ inline void setOnInfoWindowClose(const std::optional<std::function<void(const std::string& /* id */)>>& onInfoWindowClose) noexcept override {
452
+ _swiftPart.setOnInfoWindowClose(onInfoWindowClose);
453
+ }
454
+ inline std::optional<std::function<void(const std::string& /* id */)>> getOnInfoWindowLongPress() noexcept override {
455
+ auto __result = _swiftPart.getOnInfoWindowLongPress();
456
+ return __result;
457
+ }
458
+ inline void setOnInfoWindowLongPress(const std::optional<std::function<void(const std::string& /* id */)>>& onInfoWindowLongPress) noexcept override {
459
+ _swiftPart.setOnInfoWindowLongPress(onInfoWindowLongPress);
460
+ }
461
+ inline std::optional<std::function<void(const RNLocation& /* location */)>> getOnMyLocationPress() noexcept override {
462
+ auto __result = _swiftPart.getOnMyLocationPress();
463
+ return __result;
464
+ }
465
+ inline void setOnMyLocationPress(const std::optional<std::function<void(const RNLocation& /* location */)>>& onMyLocationPress) noexcept override {
466
+ _swiftPart.setOnMyLocationPress(onMyLocationPress);
467
+ }
468
+ inline std::optional<std::function<void(bool /* pressed */)>> getOnMyLocationButtonPress() noexcept override {
469
+ auto __result = _swiftPart.getOnMyLocationButtonPress();
470
+ return __result;
471
+ }
472
+ inline void setOnMyLocationButtonPress(const std::optional<std::function<void(bool /* pressed */)>>& onMyLocationButtonPress) noexcept override {
473
+ _swiftPart.setOnMyLocationButtonPress(onMyLocationButtonPress);
474
+ }
409
475
  inline std::optional<std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */, bool /* isGesture */)>> getOnCameraChangeStart() noexcept override {
410
476
  auto __result = _swiftPart.getOnCameraChangeStart();
411
477
  return __result;
@@ -430,6 +496,18 @@ namespace margelo::nitro::rngooglemapsplus {
430
496
 
431
497
  public:
432
498
  // Methods
499
+ inline void showMarkerInfoWindow(const std::string& id) override {
500
+ auto __result = _swiftPart.showMarkerInfoWindow(id);
501
+ if (__result.hasError()) [[unlikely]] {
502
+ std::rethrow_exception(__result.error());
503
+ }
504
+ }
505
+ inline void hideMarkerInfoWindow(const std::string& id) override {
506
+ auto __result = _swiftPart.hideMarkerInfoWindow(id);
507
+ if (__result.hasError()) [[unlikely]] {
508
+ std::rethrow_exception(__result.error());
509
+ }
510
+ }
433
511
  inline void setCamera(const RNCamera& camera, std::optional<bool> animated, std::optional<double> durationMs) override {
434
512
  auto __result = _swiftPart.setCamera(std::forward<decltype(camera)>(camera), animated, durationMs);
435
513
  if (__result.hasError()) [[unlikely]] {
@@ -171,6 +171,11 @@ using namespace margelo::nitro::rngooglemapsplus::views;
171
171
  swiftPart.setKmlLayers(newViewProps.kmlLayers.value);
172
172
  newViewProps.kmlLayers.isDirty = false;
173
173
  }
174
+ // urlTileOverlays: optional
175
+ if (newViewProps.urlTileOverlays.isDirty) {
176
+ swiftPart.setUrlTileOverlays(newViewProps.urlTileOverlays.value);
177
+ newViewProps.urlTileOverlays.isDirty = false;
178
+ }
174
179
  // locationConfig: optional
175
180
  if (newViewProps.locationConfig.isDirty) {
176
181
  swiftPart.setLocationConfig(newViewProps.locationConfig.value);
@@ -186,6 +191,11 @@ using namespace margelo::nitro::rngooglemapsplus::views;
186
191
  swiftPart.setOnMapReady(newViewProps.onMapReady.value);
187
192
  newViewProps.onMapReady.isDirty = false;
188
193
  }
194
+ // onMapLoaded: optional
195
+ if (newViewProps.onMapLoaded.isDirty) {
196
+ swiftPart.setOnMapLoaded(newViewProps.onMapLoaded.value);
197
+ newViewProps.onMapLoaded.isDirty = false;
198
+ }
189
199
  // onLocationUpdate: optional
190
200
  if (newViewProps.onLocationUpdate.isDirty) {
191
201
  swiftPart.setOnLocationUpdate(newViewProps.onLocationUpdate.value);
@@ -201,6 +211,16 @@ using namespace margelo::nitro::rngooglemapsplus::views;
201
211
  swiftPart.setOnMapPress(newViewProps.onMapPress.value);
202
212
  newViewProps.onMapPress.isDirty = false;
203
213
  }
214
+ // onMapLongPress: optional
215
+ if (newViewProps.onMapLongPress.isDirty) {
216
+ swiftPart.setOnMapLongPress(newViewProps.onMapLongPress.value);
217
+ newViewProps.onMapLongPress.isDirty = false;
218
+ }
219
+ // onPoiPress: optional
220
+ if (newViewProps.onPoiPress.isDirty) {
221
+ swiftPart.setOnPoiPress(newViewProps.onPoiPress.value);
222
+ newViewProps.onPoiPress.isDirty = false;
223
+ }
204
224
  // onMarkerPress: optional
205
225
  if (newViewProps.onMarkerPress.isDirty) {
206
226
  swiftPart.setOnMarkerPress(newViewProps.onMarkerPress.value);
@@ -246,6 +266,31 @@ using namespace margelo::nitro::rngooglemapsplus::views;
246
266
  swiftPart.setOnIndoorLevelActivated(newViewProps.onIndoorLevelActivated.value);
247
267
  newViewProps.onIndoorLevelActivated.isDirty = false;
248
268
  }
269
+ // onInfoWindowPress: optional
270
+ if (newViewProps.onInfoWindowPress.isDirty) {
271
+ swiftPart.setOnInfoWindowPress(newViewProps.onInfoWindowPress.value);
272
+ newViewProps.onInfoWindowPress.isDirty = false;
273
+ }
274
+ // onInfoWindowClose: optional
275
+ if (newViewProps.onInfoWindowClose.isDirty) {
276
+ swiftPart.setOnInfoWindowClose(newViewProps.onInfoWindowClose.value);
277
+ newViewProps.onInfoWindowClose.isDirty = false;
278
+ }
279
+ // onInfoWindowLongPress: optional
280
+ if (newViewProps.onInfoWindowLongPress.isDirty) {
281
+ swiftPart.setOnInfoWindowLongPress(newViewProps.onInfoWindowLongPress.value);
282
+ newViewProps.onInfoWindowLongPress.isDirty = false;
283
+ }
284
+ // onMyLocationPress: optional
285
+ if (newViewProps.onMyLocationPress.isDirty) {
286
+ swiftPart.setOnMyLocationPress(newViewProps.onMyLocationPress.value);
287
+ newViewProps.onMyLocationPress.isDirty = false;
288
+ }
289
+ // onMyLocationButtonPress: optional
290
+ if (newViewProps.onMyLocationButtonPress.isDirty) {
291
+ swiftPart.setOnMyLocationButtonPress(newViewProps.onMyLocationButtonPress.value);
292
+ newViewProps.onMyLocationButtonPress.isDirty = false;
293
+ }
249
294
  // onCameraChangeStart: optional
250
295
  if (newViewProps.onCameraChangeStart.isDirty) {
251
296
  swiftPart.setOnCameraChangeStart(newViewProps.onCameraChangeStart.value);