react-native-google-maps-plus 1.2.0 → 1.3.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/src/main/java/com/rngooglemapsplus/GoogleMapsViewImpl.kt +57 -8
- package/android/src/main/java/com/rngooglemapsplus/MapMarkerBuilder.kt +13 -3
- package/android/src/main/java/com/rngooglemapsplus/RNGoogleMapsPlusView.kt +29 -4
- package/android/src/main/java/com/rngooglemapsplus/extensions/IndoorBuildingExtension.kt +33 -0
- package/ios/GoogleMapViewImpl.swift +61 -14
- package/ios/MapMarkerBuilder.swift +17 -8
- package/ios/RNGoogleMapsPlusView.swift +19 -4
- package/ios/extensions/IndoorBuilding+Extension.swift +33 -0
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts +10 -5
- package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +18 -0
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/nitrogen/generated/android/RNGoogleMapsPlusOnLoad.cpp +8 -2
- package/nitrogen/generated/android/c++/JFunc_void_RNIndoorBuilding.hpp +81 -0
- package/nitrogen/generated/android/c++/JFunc_void_RNIndoorLevel.hpp +78 -0
- package/nitrogen/generated/android/c++/JFunc_void_std__optional_std__string_.hpp +76 -0
- package/nitrogen/generated/android/c++/JFunc_void_std__optional_std__string__RNLatLng.hpp +78 -0
- package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.cpp +143 -37
- package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.hpp +18 -8
- package/nitrogen/generated/android/c++/JRNIndoorBuilding.hpp +86 -0
- package/nitrogen/generated/android/c++/JRNIndoorLevel.hpp +66 -0
- package/nitrogen/generated/android/c++/JRNMarker.hpp +24 -0
- package/nitrogen/generated/android/c++/views/JHybridRNGoogleMapsPlusViewStateUpdater.cpp +20 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorBuilding.kt +81 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorLevel.kt +81 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/{Func_void_std__string.kt → Func_void_std__optional_std__string_.kt} +12 -12
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__optional_std__string__RNLatLng.kt +81 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/HybridRNGoogleMapsPlusViewSpec.kt +82 -12
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIndoorBuilding.kt +38 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIndoorLevel.kt +38 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMarker.kt +18 -0
- package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.cpp +28 -4
- package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.hpp +146 -18
- package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Umbrella.hpp +6 -0
- package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusViewSpecSwift.hpp +49 -8
- package/nitrogen/generated/ios/c++/views/HybridRNGoogleMapsPlusViewComponent.mm +25 -0
- package/nitrogen/generated/ios/swift/Func_void_RNIndoorBuilding.swift +47 -0
- package/nitrogen/generated/ios/swift/{Func_void_std__string.swift → Func_void_RNIndoorLevel.swift} +11 -11
- package/nitrogen/generated/ios/swift/Func_void_std__optional_std__string_.swift +54 -0
- package/nitrogen/generated/ios/swift/Func_void_std__optional_std__string__RNLatLng.swift +54 -0
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec.swift +9 -4
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec_cxx.swift +250 -48
- package/nitrogen/generated/ios/swift/RNIndoorBuilding.swift +116 -0
- package/nitrogen/generated/ios/swift/RNIndoorLevel.swift +118 -0
- package/nitrogen/generated/ios/swift/RNMarker.swift +153 -1
- package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.cpp +10 -0
- package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.hpp +24 -8
- package/nitrogen/generated/shared/c++/RNIndoorBuilding.hpp +82 -0
- package/nitrogen/generated/shared/c++/RNIndoorLevel.hpp +80 -0
- package/nitrogen/generated/shared/c++/RNMarker.hpp +25 -1
- package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.cpp +68 -8
- package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.hpp +11 -4
- package/nitrogen/generated/shared/json/RNGoogleMapsPlusViewConfig.json +5 -0
- package/package.json +1 -1
- package/src/RNGoogleMapsPlusView.nitro.ts +11 -4
- package/src/types.ts +20 -0
- package/nitrogen/generated/android/c++/JFunc_void_std__string.hpp +0 -75
|
@@ -216,13 +216,13 @@ abstract class HybridRNGoogleMapsPlusViewSpec: HybridView() {
|
|
|
216
216
|
onMapPress = value?.let { it }
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
abstract var onMarkerPress: ((id: String) -> Unit)?
|
|
219
|
+
abstract var onMarkerPress: ((id: String?) -> Unit)?
|
|
220
220
|
|
|
221
|
-
private var onMarkerPress_cxx:
|
|
221
|
+
private var onMarkerPress_cxx: Func_void_std__optional_std__string_?
|
|
222
222
|
@Keep
|
|
223
223
|
@DoNotStrip
|
|
224
224
|
get() {
|
|
225
|
-
return onMarkerPress?.let {
|
|
225
|
+
return onMarkerPress?.let { Func_void_std__optional_std__string__java(it) }
|
|
226
226
|
}
|
|
227
227
|
@Keep
|
|
228
228
|
@DoNotStrip
|
|
@@ -230,13 +230,13 @@ abstract class HybridRNGoogleMapsPlusViewSpec: HybridView() {
|
|
|
230
230
|
onMarkerPress = value?.let { it }
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
abstract var onPolylinePress: ((id: String) -> Unit)?
|
|
233
|
+
abstract var onPolylinePress: ((id: String?) -> Unit)?
|
|
234
234
|
|
|
235
|
-
private var onPolylinePress_cxx:
|
|
235
|
+
private var onPolylinePress_cxx: Func_void_std__optional_std__string_?
|
|
236
236
|
@Keep
|
|
237
237
|
@DoNotStrip
|
|
238
238
|
get() {
|
|
239
|
-
return onPolylinePress?.let {
|
|
239
|
+
return onPolylinePress?.let { Func_void_std__optional_std__string__java(it) }
|
|
240
240
|
}
|
|
241
241
|
@Keep
|
|
242
242
|
@DoNotStrip
|
|
@@ -244,13 +244,13 @@ abstract class HybridRNGoogleMapsPlusViewSpec: HybridView() {
|
|
|
244
244
|
onPolylinePress = value?.let { it }
|
|
245
245
|
}
|
|
246
246
|
|
|
247
|
-
abstract var onPolygonPress: ((id: String) -> Unit)?
|
|
247
|
+
abstract var onPolygonPress: ((id: String?) -> Unit)?
|
|
248
248
|
|
|
249
|
-
private var onPolygonPress_cxx:
|
|
249
|
+
private var onPolygonPress_cxx: Func_void_std__optional_std__string_?
|
|
250
250
|
@Keep
|
|
251
251
|
@DoNotStrip
|
|
252
252
|
get() {
|
|
253
|
-
return onPolygonPress?.let {
|
|
253
|
+
return onPolygonPress?.let { Func_void_std__optional_std__string__java(it) }
|
|
254
254
|
}
|
|
255
255
|
@Keep
|
|
256
256
|
@DoNotStrip
|
|
@@ -258,13 +258,13 @@ abstract class HybridRNGoogleMapsPlusViewSpec: HybridView() {
|
|
|
258
258
|
onPolygonPress = value?.let { it }
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
abstract var onCirclePress: ((id: String) -> Unit)?
|
|
261
|
+
abstract var onCirclePress: ((id: String?) -> Unit)?
|
|
262
262
|
|
|
263
|
-
private var onCirclePress_cxx:
|
|
263
|
+
private var onCirclePress_cxx: Func_void_std__optional_std__string_?
|
|
264
264
|
@Keep
|
|
265
265
|
@DoNotStrip
|
|
266
266
|
get() {
|
|
267
|
-
return onCirclePress?.let {
|
|
267
|
+
return onCirclePress?.let { Func_void_std__optional_std__string__java(it) }
|
|
268
268
|
}
|
|
269
269
|
@Keep
|
|
270
270
|
@DoNotStrip
|
|
@@ -272,6 +272,76 @@ abstract class HybridRNGoogleMapsPlusViewSpec: HybridView() {
|
|
|
272
272
|
onCirclePress = value?.let { it }
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
+
abstract var onMarkerDragStart: ((id: String?, location: RNLatLng) -> Unit)?
|
|
276
|
+
|
|
277
|
+
private var onMarkerDragStart_cxx: Func_void_std__optional_std__string__RNLatLng?
|
|
278
|
+
@Keep
|
|
279
|
+
@DoNotStrip
|
|
280
|
+
get() {
|
|
281
|
+
return onMarkerDragStart?.let { Func_void_std__optional_std__string__RNLatLng_java(it) }
|
|
282
|
+
}
|
|
283
|
+
@Keep
|
|
284
|
+
@DoNotStrip
|
|
285
|
+
set(value) {
|
|
286
|
+
onMarkerDragStart = value?.let { it }
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
abstract var onMarkerDrag: ((id: String?, location: RNLatLng) -> Unit)?
|
|
290
|
+
|
|
291
|
+
private var onMarkerDrag_cxx: Func_void_std__optional_std__string__RNLatLng?
|
|
292
|
+
@Keep
|
|
293
|
+
@DoNotStrip
|
|
294
|
+
get() {
|
|
295
|
+
return onMarkerDrag?.let { Func_void_std__optional_std__string__RNLatLng_java(it) }
|
|
296
|
+
}
|
|
297
|
+
@Keep
|
|
298
|
+
@DoNotStrip
|
|
299
|
+
set(value) {
|
|
300
|
+
onMarkerDrag = value?.let { it }
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
abstract var onMarkerDragEnd: ((id: String?, location: RNLatLng) -> Unit)?
|
|
304
|
+
|
|
305
|
+
private var onMarkerDragEnd_cxx: Func_void_std__optional_std__string__RNLatLng?
|
|
306
|
+
@Keep
|
|
307
|
+
@DoNotStrip
|
|
308
|
+
get() {
|
|
309
|
+
return onMarkerDragEnd?.let { Func_void_std__optional_std__string__RNLatLng_java(it) }
|
|
310
|
+
}
|
|
311
|
+
@Keep
|
|
312
|
+
@DoNotStrip
|
|
313
|
+
set(value) {
|
|
314
|
+
onMarkerDragEnd = value?.let { it }
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
abstract var onIndoorBuildingFocused: ((indoorBuilding: RNIndoorBuilding) -> Unit)?
|
|
318
|
+
|
|
319
|
+
private var onIndoorBuildingFocused_cxx: Func_void_RNIndoorBuilding?
|
|
320
|
+
@Keep
|
|
321
|
+
@DoNotStrip
|
|
322
|
+
get() {
|
|
323
|
+
return onIndoorBuildingFocused?.let { Func_void_RNIndoorBuilding_java(it) }
|
|
324
|
+
}
|
|
325
|
+
@Keep
|
|
326
|
+
@DoNotStrip
|
|
327
|
+
set(value) {
|
|
328
|
+
onIndoorBuildingFocused = value?.let { it }
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
abstract var onIndoorLevelActivated: ((indoorLevel: RNIndoorLevel) -> Unit)?
|
|
332
|
+
|
|
333
|
+
private var onIndoorLevelActivated_cxx: Func_void_RNIndoorLevel?
|
|
334
|
+
@Keep
|
|
335
|
+
@DoNotStrip
|
|
336
|
+
get() {
|
|
337
|
+
return onIndoorLevelActivated?.let { Func_void_RNIndoorLevel_java(it) }
|
|
338
|
+
}
|
|
339
|
+
@Keep
|
|
340
|
+
@DoNotStrip
|
|
341
|
+
set(value) {
|
|
342
|
+
onIndoorLevelActivated = value?.let { it }
|
|
343
|
+
}
|
|
344
|
+
|
|
275
345
|
abstract var onCameraChangeStart: ((region: RNRegion, camera: RNCamera, isGesture: Boolean) -> Unit)?
|
|
276
346
|
|
|
277
347
|
private var onCameraChangeStart_cxx: Func_void_RNRegion_RNCamera_bool?
|
package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIndoorBuilding.kt
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// RNIndoorBuilding.kt
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © 2025 Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
package com.rngooglemapsplus
|
|
9
|
+
|
|
10
|
+
import androidx.annotation.Keep
|
|
11
|
+
import com.facebook.proguard.annotations.DoNotStrip
|
|
12
|
+
import com.margelo.nitro.core.*
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Represents the JavaScript object/struct "RNIndoorBuilding".
|
|
17
|
+
*/
|
|
18
|
+
@DoNotStrip
|
|
19
|
+
@Keep
|
|
20
|
+
data class RNIndoorBuilding
|
|
21
|
+
@DoNotStrip
|
|
22
|
+
@Keep
|
|
23
|
+
constructor(
|
|
24
|
+
@DoNotStrip
|
|
25
|
+
@Keep
|
|
26
|
+
val activeLevelIndex: Double?,
|
|
27
|
+
@DoNotStrip
|
|
28
|
+
@Keep
|
|
29
|
+
val defaultLevelIndex: Double?,
|
|
30
|
+
@DoNotStrip
|
|
31
|
+
@Keep
|
|
32
|
+
val levels: Array<RNIndoorLevel>,
|
|
33
|
+
@DoNotStrip
|
|
34
|
+
@Keep
|
|
35
|
+
val underground: Boolean?
|
|
36
|
+
) {
|
|
37
|
+
/* main constructor */
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// RNIndoorLevel.kt
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © 2025 Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
package com.rngooglemapsplus
|
|
9
|
+
|
|
10
|
+
import androidx.annotation.Keep
|
|
11
|
+
import com.facebook.proguard.annotations.DoNotStrip
|
|
12
|
+
import com.margelo.nitro.core.*
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Represents the JavaScript object/struct "RNIndoorLevel".
|
|
17
|
+
*/
|
|
18
|
+
@DoNotStrip
|
|
19
|
+
@Keep
|
|
20
|
+
data class RNIndoorLevel
|
|
21
|
+
@DoNotStrip
|
|
22
|
+
@Keep
|
|
23
|
+
constructor(
|
|
24
|
+
@DoNotStrip
|
|
25
|
+
@Keep
|
|
26
|
+
val index: Double,
|
|
27
|
+
@DoNotStrip
|
|
28
|
+
@Keep
|
|
29
|
+
val name: String?,
|
|
30
|
+
@DoNotStrip
|
|
31
|
+
@Keep
|
|
32
|
+
val shortName: String?,
|
|
33
|
+
@DoNotStrip
|
|
34
|
+
@Keep
|
|
35
|
+
val active: Boolean?
|
|
36
|
+
) {
|
|
37
|
+
/* main constructor */
|
|
38
|
+
}
|
|
@@ -35,6 +35,24 @@ data class RNMarker
|
|
|
35
35
|
val anchor: RNPosition?,
|
|
36
36
|
@DoNotStrip
|
|
37
37
|
@Keep
|
|
38
|
+
val showInfoWindow: Boolean?,
|
|
39
|
+
@DoNotStrip
|
|
40
|
+
@Keep
|
|
41
|
+
val title: String?,
|
|
42
|
+
@DoNotStrip
|
|
43
|
+
@Keep
|
|
44
|
+
val snippet: String?,
|
|
45
|
+
@DoNotStrip
|
|
46
|
+
@Keep
|
|
47
|
+
val opacity: Double?,
|
|
48
|
+
@DoNotStrip
|
|
49
|
+
@Keep
|
|
50
|
+
val flat: Boolean?,
|
|
51
|
+
@DoNotStrip
|
|
52
|
+
@Keep
|
|
53
|
+
val draggable: Boolean?,
|
|
54
|
+
@DoNotStrip
|
|
55
|
+
@Keep
|
|
38
56
|
val iconSvg: RNMarkerSvg?
|
|
39
57
|
) {
|
|
40
58
|
/* main constructor */
|
|
@@ -86,14 +86,38 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
|
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
// pragma MARK: std::function<void(const std::string
|
|
90
|
-
|
|
91
|
-
auto swiftClosure = RNGoogleMapsPlus::
|
|
92
|
-
return [swiftClosure = std::move(swiftClosure)](const std::string
|
|
89
|
+
// pragma MARK: std::function<void(const std::optional<std::string>& /* id */)>
|
|
90
|
+
Func_void_std__optional_std__string_ create_Func_void_std__optional_std__string_(void* _Nonnull swiftClosureWrapper) noexcept {
|
|
91
|
+
auto swiftClosure = RNGoogleMapsPlus::Func_void_std__optional_std__string_::fromUnsafe(swiftClosureWrapper);
|
|
92
|
+
return [swiftClosure = std::move(swiftClosure)](const std::optional<std::string>& id) mutable -> void {
|
|
93
93
|
swiftClosure.call(id);
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
// pragma MARK: std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>
|
|
98
|
+
Func_void_std__optional_std__string__RNLatLng create_Func_void_std__optional_std__string__RNLatLng(void* _Nonnull swiftClosureWrapper) noexcept {
|
|
99
|
+
auto swiftClosure = RNGoogleMapsPlus::Func_void_std__optional_std__string__RNLatLng::fromUnsafe(swiftClosureWrapper);
|
|
100
|
+
return [swiftClosure = std::move(swiftClosure)](const std::optional<std::string>& id, const RNLatLng& location) mutable -> void {
|
|
101
|
+
swiftClosure.call(id, location);
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// pragma MARK: std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>
|
|
106
|
+
Func_void_RNIndoorBuilding create_Func_void_RNIndoorBuilding(void* _Nonnull swiftClosureWrapper) noexcept {
|
|
107
|
+
auto swiftClosure = RNGoogleMapsPlus::Func_void_RNIndoorBuilding::fromUnsafe(swiftClosureWrapper);
|
|
108
|
+
return [swiftClosure = std::move(swiftClosure)](const RNIndoorBuilding& indoorBuilding) mutable -> void {
|
|
109
|
+
swiftClosure.call(indoorBuilding);
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// pragma MARK: std::function<void(const RNIndoorLevel& /* indoorLevel */)>
|
|
114
|
+
Func_void_RNIndoorLevel create_Func_void_RNIndoorLevel(void* _Nonnull swiftClosureWrapper) noexcept {
|
|
115
|
+
auto swiftClosure = RNGoogleMapsPlus::Func_void_RNIndoorLevel::fromUnsafe(swiftClosureWrapper);
|
|
116
|
+
return [swiftClosure = std::move(swiftClosure)](const RNIndoorLevel& indoorLevel) mutable -> void {
|
|
117
|
+
swiftClosure.call(indoorLevel);
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
97
121
|
// pragma MARK: std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */, bool /* isGesture */)>
|
|
98
122
|
Func_void_RNRegion_RNCamera_bool create_Func_void_RNRegion_RNCamera_bool(void* _Nonnull swiftClosureWrapper) noexcept {
|
|
99
123
|
auto swiftClosure = RNGoogleMapsPlus::Func_void_RNRegion_RNCamera_bool::fromUnsafe(swiftClosureWrapper);
|
|
@@ -34,6 +34,10 @@ namespace margelo::nitro::rngooglemapsplus { enum class RNIOSLocationAccuracy; }
|
|
|
34
34
|
namespace margelo::nitro::rngooglemapsplus { struct RNIOSLocationConfig; }
|
|
35
35
|
// Forward declaration of `RNIOSPermissionResult` to properly resolve imports.
|
|
36
36
|
namespace margelo::nitro::rngooglemapsplus { enum class RNIOSPermissionResult; }
|
|
37
|
+
// Forward declaration of `RNIndoorBuilding` to properly resolve imports.
|
|
38
|
+
namespace margelo::nitro::rngooglemapsplus { struct RNIndoorBuilding; }
|
|
39
|
+
// Forward declaration of `RNIndoorLevel` to properly resolve imports.
|
|
40
|
+
namespace margelo::nitro::rngooglemapsplus { struct RNIndoorLevel; }
|
|
37
41
|
// Forward declaration of `RNInitialProps` to properly resolve imports.
|
|
38
42
|
namespace margelo::nitro::rngooglemapsplus { struct RNInitialProps; }
|
|
39
43
|
// Forward declaration of `RNKMLayer` to properly resolve imports.
|
|
@@ -97,6 +101,8 @@ namespace RNGoogleMapsPlus { class HybridRNGoogleMapsPlusViewSpec_cxx; }
|
|
|
97
101
|
#include "RNIOSLocationAccuracy.hpp"
|
|
98
102
|
#include "RNIOSLocationConfig.hpp"
|
|
99
103
|
#include "RNIOSPermissionResult.hpp"
|
|
104
|
+
#include "RNIndoorBuilding.hpp"
|
|
105
|
+
#include "RNIndoorLevel.hpp"
|
|
100
106
|
#include "RNInitialProps.hpp"
|
|
101
107
|
#include "RNKMLayer.hpp"
|
|
102
108
|
#include "RNLatLng.hpp"
|
|
@@ -959,40 +965,162 @@ namespace margelo::nitro::rngooglemapsplus::bridge::swift {
|
|
|
959
965
|
return *optional;
|
|
960
966
|
}
|
|
961
967
|
|
|
962
|
-
// pragma MARK: std::function<void(const std::string
|
|
968
|
+
// pragma MARK: std::function<void(const std::optional<std::string>& /* id */)>
|
|
963
969
|
/**
|
|
964
|
-
* Specialized version of `std::function<void(const std::string
|
|
970
|
+
* Specialized version of `std::function<void(const std::optional<std::string>&)>`.
|
|
965
971
|
*/
|
|
966
|
-
using
|
|
972
|
+
using Func_void_std__optional_std__string_ = std::function<void(const std::optional<std::string>& /* id */)>;
|
|
967
973
|
/**
|
|
968
|
-
* Wrapper class for a `std::function<void(const std::string
|
|
974
|
+
* Wrapper class for a `std::function<void(const std::optional<std::string>& / * id * /)>`, this can be used from Swift.
|
|
969
975
|
*/
|
|
970
|
-
class
|
|
976
|
+
class Func_void_std__optional_std__string__Wrapper final {
|
|
971
977
|
public:
|
|
972
|
-
explicit
|
|
973
|
-
inline void call(std::string id) const noexcept {
|
|
978
|
+
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))) {}
|
|
979
|
+
inline void call(std::optional<std::string> id) const noexcept {
|
|
974
980
|
_function->operator()(id);
|
|
975
981
|
}
|
|
976
982
|
private:
|
|
977
|
-
std::unique_ptr<std::function<void(const std::string
|
|
983
|
+
std::unique_ptr<std::function<void(const std::optional<std::string>& /* id */)>> _function;
|
|
978
984
|
} SWIFT_NONCOPYABLE;
|
|
979
|
-
|
|
980
|
-
inline
|
|
981
|
-
return
|
|
985
|
+
Func_void_std__optional_std__string_ create_Func_void_std__optional_std__string_(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
986
|
+
inline Func_void_std__optional_std__string__Wrapper wrap_Func_void_std__optional_std__string_(Func_void_std__optional_std__string_ value) noexcept {
|
|
987
|
+
return Func_void_std__optional_std__string__Wrapper(std::move(value));
|
|
982
988
|
}
|
|
983
989
|
|
|
984
|
-
// pragma MARK: std::optional<std::function<void(const std::string
|
|
990
|
+
// pragma MARK: std::optional<std::function<void(const std::optional<std::string>& /* id */)>>
|
|
985
991
|
/**
|
|
986
|
-
* Specialized version of `std::optional<std::function<void(const std::string
|
|
992
|
+
* Specialized version of `std::optional<std::function<void(const std::optional<std::string>& / * id * /)>>`.
|
|
987
993
|
*/
|
|
988
|
-
using
|
|
989
|
-
inline std::optional<std::function<void(const std::string
|
|
990
|
-
return std::optional<std::function<void(const std::string
|
|
994
|
+
using std__optional_std__function_void_const_std__optional_std__string______id______ = std::optional<std::function<void(const std::optional<std::string>& /* id */)>>;
|
|
995
|
+
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 {
|
|
996
|
+
return std::optional<std::function<void(const std::optional<std::string>& /* id */)>>(value);
|
|
991
997
|
}
|
|
992
|
-
inline bool
|
|
998
|
+
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 {
|
|
993
999
|
return optional.has_value();
|
|
994
1000
|
}
|
|
995
|
-
inline std::function<void(const std::string
|
|
1001
|
+
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 {
|
|
1002
|
+
return *optional;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
// pragma MARK: std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>
|
|
1006
|
+
/**
|
|
1007
|
+
* Specialized version of `std::function<void(const std::optional<std::string>&, const RNLatLng&)>`.
|
|
1008
|
+
*/
|
|
1009
|
+
using Func_void_std__optional_std__string__RNLatLng = std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>;
|
|
1010
|
+
/**
|
|
1011
|
+
* Wrapper class for a `std::function<void(const std::optional<std::string>& / * id * /, const RNLatLng& / * location * /)>`, this can be used from Swift.
|
|
1012
|
+
*/
|
|
1013
|
+
class Func_void_std__optional_std__string__RNLatLng_Wrapper final {
|
|
1014
|
+
public:
|
|
1015
|
+
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))) {}
|
|
1016
|
+
inline void call(std::optional<std::string> id, RNLatLng location) const noexcept {
|
|
1017
|
+
_function->operator()(id, location);
|
|
1018
|
+
}
|
|
1019
|
+
private:
|
|
1020
|
+
std::unique_ptr<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>> _function;
|
|
1021
|
+
} SWIFT_NONCOPYABLE;
|
|
1022
|
+
Func_void_std__optional_std__string__RNLatLng create_Func_void_std__optional_std__string__RNLatLng(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
1023
|
+
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 {
|
|
1024
|
+
return Func_void_std__optional_std__string__RNLatLng_Wrapper(std::move(value));
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
// pragma MARK: std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>>
|
|
1028
|
+
/**
|
|
1029
|
+
* Specialized version of `std::optional<std::function<void(const std::optional<std::string>& / * id * /, const RNLatLng& / * location * /)>>`.
|
|
1030
|
+
*/
|
|
1031
|
+
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 */)>>;
|
|
1032
|
+
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 {
|
|
1033
|
+
return std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>>(value);
|
|
1034
|
+
}
|
|
1035
|
+
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 {
|
|
1036
|
+
return optional.has_value();
|
|
1037
|
+
}
|
|
1038
|
+
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 {
|
|
1039
|
+
return *optional;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
// pragma MARK: std::vector<RNIndoorLevel>
|
|
1043
|
+
/**
|
|
1044
|
+
* Specialized version of `std::vector<RNIndoorLevel>`.
|
|
1045
|
+
*/
|
|
1046
|
+
using std__vector_RNIndoorLevel_ = std::vector<RNIndoorLevel>;
|
|
1047
|
+
inline std::vector<RNIndoorLevel> create_std__vector_RNIndoorLevel_(size_t size) noexcept {
|
|
1048
|
+
std::vector<RNIndoorLevel> vector;
|
|
1049
|
+
vector.reserve(size);
|
|
1050
|
+
return vector;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
// pragma MARK: std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>
|
|
1054
|
+
/**
|
|
1055
|
+
* Specialized version of `std::function<void(const RNIndoorBuilding&)>`.
|
|
1056
|
+
*/
|
|
1057
|
+
using Func_void_RNIndoorBuilding = std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>;
|
|
1058
|
+
/**
|
|
1059
|
+
* Wrapper class for a `std::function<void(const RNIndoorBuilding& / * indoorBuilding * /)>`, this can be used from Swift.
|
|
1060
|
+
*/
|
|
1061
|
+
class Func_void_RNIndoorBuilding_Wrapper final {
|
|
1062
|
+
public:
|
|
1063
|
+
explicit Func_void_RNIndoorBuilding_Wrapper(std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>&& func): _function(std::make_unique<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>>(std::move(func))) {}
|
|
1064
|
+
inline void call(RNIndoorBuilding indoorBuilding) const noexcept {
|
|
1065
|
+
_function->operator()(indoorBuilding);
|
|
1066
|
+
}
|
|
1067
|
+
private:
|
|
1068
|
+
std::unique_ptr<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>> _function;
|
|
1069
|
+
} SWIFT_NONCOPYABLE;
|
|
1070
|
+
Func_void_RNIndoorBuilding create_Func_void_RNIndoorBuilding(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
1071
|
+
inline Func_void_RNIndoorBuilding_Wrapper wrap_Func_void_RNIndoorBuilding(Func_void_RNIndoorBuilding value) noexcept {
|
|
1072
|
+
return Func_void_RNIndoorBuilding_Wrapper(std::move(value));
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
// pragma MARK: std::optional<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>>
|
|
1076
|
+
/**
|
|
1077
|
+
* Specialized version of `std::optional<std::function<void(const RNIndoorBuilding& / * indoorBuilding * /)>>`.
|
|
1078
|
+
*/
|
|
1079
|
+
using std__optional_std__function_void_const_RNIndoorBuilding_____indoorBuilding______ = std::optional<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>>;
|
|
1080
|
+
inline std::optional<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>> create_std__optional_std__function_void_const_RNIndoorBuilding_____indoorBuilding______(const std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>& value) noexcept {
|
|
1081
|
+
return std::optional<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>>(value);
|
|
1082
|
+
}
|
|
1083
|
+
inline bool has_value_std__optional_std__function_void_const_RNIndoorBuilding_____indoorBuilding______(const std::optional<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>>& optional) noexcept {
|
|
1084
|
+
return optional.has_value();
|
|
1085
|
+
}
|
|
1086
|
+
inline std::function<void(const RNIndoorBuilding& /* indoorBuilding */)> get_std__optional_std__function_void_const_RNIndoorBuilding_____indoorBuilding______(const std::optional<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>>& optional) noexcept {
|
|
1087
|
+
return *optional;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
// pragma MARK: std::function<void(const RNIndoorLevel& /* indoorLevel */)>
|
|
1091
|
+
/**
|
|
1092
|
+
* Specialized version of `std::function<void(const RNIndoorLevel&)>`.
|
|
1093
|
+
*/
|
|
1094
|
+
using Func_void_RNIndoorLevel = std::function<void(const RNIndoorLevel& /* indoorLevel */)>;
|
|
1095
|
+
/**
|
|
1096
|
+
* Wrapper class for a `std::function<void(const RNIndoorLevel& / * indoorLevel * /)>`, this can be used from Swift.
|
|
1097
|
+
*/
|
|
1098
|
+
class Func_void_RNIndoorLevel_Wrapper final {
|
|
1099
|
+
public:
|
|
1100
|
+
explicit Func_void_RNIndoorLevel_Wrapper(std::function<void(const RNIndoorLevel& /* indoorLevel */)>&& func): _function(std::make_unique<std::function<void(const RNIndoorLevel& /* indoorLevel */)>>(std::move(func))) {}
|
|
1101
|
+
inline void call(RNIndoorLevel indoorLevel) const noexcept {
|
|
1102
|
+
_function->operator()(indoorLevel);
|
|
1103
|
+
}
|
|
1104
|
+
private:
|
|
1105
|
+
std::unique_ptr<std::function<void(const RNIndoorLevel& /* indoorLevel */)>> _function;
|
|
1106
|
+
} SWIFT_NONCOPYABLE;
|
|
1107
|
+
Func_void_RNIndoorLevel create_Func_void_RNIndoorLevel(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
1108
|
+
inline Func_void_RNIndoorLevel_Wrapper wrap_Func_void_RNIndoorLevel(Func_void_RNIndoorLevel value) noexcept {
|
|
1109
|
+
return Func_void_RNIndoorLevel_Wrapper(std::move(value));
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
// pragma MARK: std::optional<std::function<void(const RNIndoorLevel& /* indoorLevel */)>>
|
|
1113
|
+
/**
|
|
1114
|
+
* Specialized version of `std::optional<std::function<void(const RNIndoorLevel& / * indoorLevel * /)>>`.
|
|
1115
|
+
*/
|
|
1116
|
+
using std__optional_std__function_void_const_RNIndoorLevel_____indoorLevel______ = std::optional<std::function<void(const RNIndoorLevel& /* indoorLevel */)>>;
|
|
1117
|
+
inline std::optional<std::function<void(const RNIndoorLevel& /* indoorLevel */)>> create_std__optional_std__function_void_const_RNIndoorLevel_____indoorLevel______(const std::function<void(const RNIndoorLevel& /* indoorLevel */)>& value) noexcept {
|
|
1118
|
+
return std::optional<std::function<void(const RNIndoorLevel& /* indoorLevel */)>>(value);
|
|
1119
|
+
}
|
|
1120
|
+
inline bool has_value_std__optional_std__function_void_const_RNIndoorLevel_____indoorLevel______(const std::optional<std::function<void(const RNIndoorLevel& /* indoorLevel */)>>& optional) noexcept {
|
|
1121
|
+
return optional.has_value();
|
|
1122
|
+
}
|
|
1123
|
+
inline std::function<void(const RNIndoorLevel& /* indoorLevel */)> get_std__optional_std__function_void_const_RNIndoorLevel_____indoorLevel______(const std::optional<std::function<void(const RNIndoorLevel& /* indoorLevel */)>>& optional) noexcept {
|
|
996
1124
|
return *optional;
|
|
997
1125
|
}
|
|
998
1126
|
|
|
@@ -34,6 +34,10 @@ namespace margelo::nitro::rngooglemapsplus { enum class RNIOSLocationAccuracy; }
|
|
|
34
34
|
namespace margelo::nitro::rngooglemapsplus { struct RNIOSLocationConfig; }
|
|
35
35
|
// Forward declaration of `RNIOSPermissionResult` to properly resolve imports.
|
|
36
36
|
namespace margelo::nitro::rngooglemapsplus { enum class RNIOSPermissionResult; }
|
|
37
|
+
// Forward declaration of `RNIndoorBuilding` to properly resolve imports.
|
|
38
|
+
namespace margelo::nitro::rngooglemapsplus { struct RNIndoorBuilding; }
|
|
39
|
+
// Forward declaration of `RNIndoorLevel` to properly resolve imports.
|
|
40
|
+
namespace margelo::nitro::rngooglemapsplus { struct RNIndoorLevel; }
|
|
37
41
|
// Forward declaration of `RNInitialProps` to properly resolve imports.
|
|
38
42
|
namespace margelo::nitro::rngooglemapsplus { struct RNInitialProps; }
|
|
39
43
|
// Forward declaration of `RNKMLayer` to properly resolve imports.
|
|
@@ -91,6 +95,8 @@ namespace margelo::nitro::rngooglemapsplus { enum class RNUserInterfaceStyle; }
|
|
|
91
95
|
#include "RNIOSLocationAccuracy.hpp"
|
|
92
96
|
#include "RNIOSLocationConfig.hpp"
|
|
93
97
|
#include "RNIOSPermissionResult.hpp"
|
|
98
|
+
#include "RNIndoorBuilding.hpp"
|
|
99
|
+
#include "RNIndoorLevel.hpp"
|
|
94
100
|
#include "RNInitialProps.hpp"
|
|
95
101
|
#include "RNKMLayer.hpp"
|
|
96
102
|
#include "RNLatLng.hpp"
|
|
@@ -68,6 +68,10 @@ namespace margelo::nitro::rngooglemapsplus { enum class RNMapErrorCode; }
|
|
|
68
68
|
namespace margelo::nitro::rngooglemapsplus { struct RNLocation; }
|
|
69
69
|
// Forward declaration of `RNLocationErrorCode` to properly resolve imports.
|
|
70
70
|
namespace margelo::nitro::rngooglemapsplus { enum class RNLocationErrorCode; }
|
|
71
|
+
// Forward declaration of `RNIndoorBuilding` to properly resolve imports.
|
|
72
|
+
namespace margelo::nitro::rngooglemapsplus { struct RNIndoorBuilding; }
|
|
73
|
+
// Forward declaration of `RNIndoorLevel` to properly resolve imports.
|
|
74
|
+
namespace margelo::nitro::rngooglemapsplus { struct RNIndoorLevel; }
|
|
71
75
|
// Forward declaration of `RNRegion` to properly resolve imports.
|
|
72
76
|
namespace margelo::nitro::rngooglemapsplus { struct RNRegion; }
|
|
73
77
|
// Forward declaration of `RNLocationPermissionResult` to properly resolve imports.
|
|
@@ -109,6 +113,8 @@ namespace margelo::nitro::rngooglemapsplus { enum class RNIOSPermissionResult; }
|
|
|
109
113
|
#include <functional>
|
|
110
114
|
#include "RNLocation.hpp"
|
|
111
115
|
#include "RNLocationErrorCode.hpp"
|
|
116
|
+
#include "RNIndoorBuilding.hpp"
|
|
117
|
+
#include "RNIndoorLevel.hpp"
|
|
112
118
|
#include "RNRegion.hpp"
|
|
113
119
|
#include "RNLocationPermissionResult.hpp"
|
|
114
120
|
#include <NitroModules/Promise.hpp>
|
|
@@ -313,34 +319,69 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
313
319
|
inline void setOnMapPress(const std::optional<std::function<void(const RNLatLng& /* coordinate */)>>& onMapPress) noexcept override {
|
|
314
320
|
_swiftPart.setOnMapPress(onMapPress);
|
|
315
321
|
}
|
|
316
|
-
inline std::optional<std::function<void(const std::string
|
|
322
|
+
inline std::optional<std::function<void(const std::optional<std::string>& /* id */)>> getOnMarkerPress() noexcept override {
|
|
317
323
|
auto __result = _swiftPart.getOnMarkerPress();
|
|
318
324
|
return __result;
|
|
319
325
|
}
|
|
320
|
-
inline void setOnMarkerPress(const std::optional<std::function<void(const std::string
|
|
326
|
+
inline void setOnMarkerPress(const std::optional<std::function<void(const std::optional<std::string>& /* id */)>>& onMarkerPress) noexcept override {
|
|
321
327
|
_swiftPart.setOnMarkerPress(onMarkerPress);
|
|
322
328
|
}
|
|
323
|
-
inline std::optional<std::function<void(const std::string
|
|
329
|
+
inline std::optional<std::function<void(const std::optional<std::string>& /* id */)>> getOnPolylinePress() noexcept override {
|
|
324
330
|
auto __result = _swiftPart.getOnPolylinePress();
|
|
325
331
|
return __result;
|
|
326
332
|
}
|
|
327
|
-
inline void setOnPolylinePress(const std::optional<std::function<void(const std::string
|
|
333
|
+
inline void setOnPolylinePress(const std::optional<std::function<void(const std::optional<std::string>& /* id */)>>& onPolylinePress) noexcept override {
|
|
328
334
|
_swiftPart.setOnPolylinePress(onPolylinePress);
|
|
329
335
|
}
|
|
330
|
-
inline std::optional<std::function<void(const std::string
|
|
336
|
+
inline std::optional<std::function<void(const std::optional<std::string>& /* id */)>> getOnPolygonPress() noexcept override {
|
|
331
337
|
auto __result = _swiftPart.getOnPolygonPress();
|
|
332
338
|
return __result;
|
|
333
339
|
}
|
|
334
|
-
inline void setOnPolygonPress(const std::optional<std::function<void(const std::string
|
|
340
|
+
inline void setOnPolygonPress(const std::optional<std::function<void(const std::optional<std::string>& /* id */)>>& onPolygonPress) noexcept override {
|
|
335
341
|
_swiftPart.setOnPolygonPress(onPolygonPress);
|
|
336
342
|
}
|
|
337
|
-
inline std::optional<std::function<void(const std::string
|
|
343
|
+
inline std::optional<std::function<void(const std::optional<std::string>& /* id */)>> getOnCirclePress() noexcept override {
|
|
338
344
|
auto __result = _swiftPart.getOnCirclePress();
|
|
339
345
|
return __result;
|
|
340
346
|
}
|
|
341
|
-
inline void setOnCirclePress(const std::optional<std::function<void(const std::string
|
|
347
|
+
inline void setOnCirclePress(const std::optional<std::function<void(const std::optional<std::string>& /* id */)>>& onCirclePress) noexcept override {
|
|
342
348
|
_swiftPart.setOnCirclePress(onCirclePress);
|
|
343
349
|
}
|
|
350
|
+
inline std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>> getOnMarkerDragStart() noexcept override {
|
|
351
|
+
auto __result = _swiftPart.getOnMarkerDragStart();
|
|
352
|
+
return __result;
|
|
353
|
+
}
|
|
354
|
+
inline void setOnMarkerDragStart(const std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>>& onMarkerDragStart) noexcept override {
|
|
355
|
+
_swiftPart.setOnMarkerDragStart(onMarkerDragStart);
|
|
356
|
+
}
|
|
357
|
+
inline std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>> getOnMarkerDrag() noexcept override {
|
|
358
|
+
auto __result = _swiftPart.getOnMarkerDrag();
|
|
359
|
+
return __result;
|
|
360
|
+
}
|
|
361
|
+
inline void setOnMarkerDrag(const std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>>& onMarkerDrag) noexcept override {
|
|
362
|
+
_swiftPart.setOnMarkerDrag(onMarkerDrag);
|
|
363
|
+
}
|
|
364
|
+
inline std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>> getOnMarkerDragEnd() noexcept override {
|
|
365
|
+
auto __result = _swiftPart.getOnMarkerDragEnd();
|
|
366
|
+
return __result;
|
|
367
|
+
}
|
|
368
|
+
inline void setOnMarkerDragEnd(const std::optional<std::function<void(const std::optional<std::string>& /* id */, const RNLatLng& /* location */)>>& onMarkerDragEnd) noexcept override {
|
|
369
|
+
_swiftPart.setOnMarkerDragEnd(onMarkerDragEnd);
|
|
370
|
+
}
|
|
371
|
+
inline std::optional<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>> getOnIndoorBuildingFocused() noexcept override {
|
|
372
|
+
auto __result = _swiftPart.getOnIndoorBuildingFocused();
|
|
373
|
+
return __result;
|
|
374
|
+
}
|
|
375
|
+
inline void setOnIndoorBuildingFocused(const std::optional<std::function<void(const RNIndoorBuilding& /* indoorBuilding */)>>& onIndoorBuildingFocused) noexcept override {
|
|
376
|
+
_swiftPart.setOnIndoorBuildingFocused(onIndoorBuildingFocused);
|
|
377
|
+
}
|
|
378
|
+
inline std::optional<std::function<void(const RNIndoorLevel& /* indoorLevel */)>> getOnIndoorLevelActivated() noexcept override {
|
|
379
|
+
auto __result = _swiftPart.getOnIndoorLevelActivated();
|
|
380
|
+
return __result;
|
|
381
|
+
}
|
|
382
|
+
inline void setOnIndoorLevelActivated(const std::optional<std::function<void(const RNIndoorLevel& /* indoorLevel */)>>& onIndoorLevelActivated) noexcept override {
|
|
383
|
+
_swiftPart.setOnIndoorLevelActivated(onIndoorLevelActivated);
|
|
384
|
+
}
|
|
344
385
|
inline std::optional<std::function<void(const RNRegion& /* region */, const RNCamera& /* camera */, bool /* isGesture */)>> getOnCameraChangeStart() noexcept override {
|
|
345
386
|
auto __result = _swiftPart.getOnCameraChangeStart();
|
|
346
387
|
return __result;
|
|
@@ -206,6 +206,31 @@ using namespace margelo::nitro::rngooglemapsplus::views;
|
|
|
206
206
|
swiftPart.setOnCirclePress(newViewProps.onCirclePress.value);
|
|
207
207
|
newViewProps.onCirclePress.isDirty = false;
|
|
208
208
|
}
|
|
209
|
+
// onMarkerDragStart: optional
|
|
210
|
+
if (newViewProps.onMarkerDragStart.isDirty) {
|
|
211
|
+
swiftPart.setOnMarkerDragStart(newViewProps.onMarkerDragStart.value);
|
|
212
|
+
newViewProps.onMarkerDragStart.isDirty = false;
|
|
213
|
+
}
|
|
214
|
+
// onMarkerDrag: optional
|
|
215
|
+
if (newViewProps.onMarkerDrag.isDirty) {
|
|
216
|
+
swiftPart.setOnMarkerDrag(newViewProps.onMarkerDrag.value);
|
|
217
|
+
newViewProps.onMarkerDrag.isDirty = false;
|
|
218
|
+
}
|
|
219
|
+
// onMarkerDragEnd: optional
|
|
220
|
+
if (newViewProps.onMarkerDragEnd.isDirty) {
|
|
221
|
+
swiftPart.setOnMarkerDragEnd(newViewProps.onMarkerDragEnd.value);
|
|
222
|
+
newViewProps.onMarkerDragEnd.isDirty = false;
|
|
223
|
+
}
|
|
224
|
+
// onIndoorBuildingFocused: optional
|
|
225
|
+
if (newViewProps.onIndoorBuildingFocused.isDirty) {
|
|
226
|
+
swiftPart.setOnIndoorBuildingFocused(newViewProps.onIndoorBuildingFocused.value);
|
|
227
|
+
newViewProps.onIndoorBuildingFocused.isDirty = false;
|
|
228
|
+
}
|
|
229
|
+
// onIndoorLevelActivated: optional
|
|
230
|
+
if (newViewProps.onIndoorLevelActivated.isDirty) {
|
|
231
|
+
swiftPart.setOnIndoorLevelActivated(newViewProps.onIndoorLevelActivated.value);
|
|
232
|
+
newViewProps.onIndoorLevelActivated.isDirty = false;
|
|
233
|
+
}
|
|
209
234
|
// onCameraChangeStart: optional
|
|
210
235
|
if (newViewProps.onCameraChangeStart.isDirty) {
|
|
211
236
|
swiftPart.setOnCameraChangeStart(newViewProps.onCameraChangeStart.value);
|