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.
- package/android/proguard-rules.pro +29 -0
- package/android/src/main/java/com/rngooglemapsplus/GoogleMapsViewImpl.kt +461 -445
- package/android/src/main/java/com/rngooglemapsplus/LocationHandler.kt +5 -8
- package/android/src/main/java/com/rngooglemapsplus/MapCircleBuilder.kt +2 -1
- package/android/src/main/java/com/rngooglemapsplus/MapHeatmapBuilder.kt +1 -1
- package/android/src/main/java/com/rngooglemapsplus/MapHelper.kt +22 -0
- package/android/src/main/java/com/rngooglemapsplus/MapMarkerBuilder.kt +142 -2
- package/android/src/main/java/com/rngooglemapsplus/MapPolygonBuilder.kt +2 -1
- package/android/src/main/java/com/rngooglemapsplus/MapPolylineBuilder.kt.kt +2 -1
- package/android/src/main/java/com/rngooglemapsplus/MapUrlTileOverlayBuilder.kt +40 -0
- package/android/src/main/java/com/rngooglemapsplus/RNGoogleMapsPlusView.kt +93 -33
- package/android/src/main/java/com/rngooglemapsplus/extensions/LatLngBoundsExtension.kt +10 -0
- package/android/src/main/java/com/rngooglemapsplus/extensions/MapObjectTagExtensions.kt +84 -0
- package/android/src/main/java/com/rngooglemapsplus/extensions/RNLatLngBoundsExtension.kt +2 -8
- package/android/src/main/java/com/rngooglemapsplus/extensions/RNMapTypeExtension.kt +13 -0
- package/android/src/main/java/com/rngooglemapsplus/extensions/VisibleRegionExtension.kt +13 -0
- package/ios/GoogleMapViewImpl.swift +182 -48
- package/ios/MapCircleBuilder.swift +2 -0
- package/ios/MapHeatmapBuilder.swift +2 -1
- package/ios/MapMarkerBuilder.swift +54 -1
- package/ios/MapPolygonBuilder.swift +2 -0
- package/ios/MapPolylineBuilder.swift +2 -0
- package/ios/MapUrlTileOverlayBuilder.swift +24 -0
- package/ios/RNGoogleMapsPlusView.swift +75 -10
- package/ios/extensions/GMSCoordinateBounds+Extension.swift +4 -13
- package/ios/extensions/GMSVisibleRegion+Extension.swift +14 -0
- package/ios/extensions/MapObjectTag+Extension.swift +93 -0
- package/ios/extensions/RNLatLngBounds+Extension.swift +4 -4
- package/ios/extensions/RNMapType+Extension.swift +18 -0
- package/lib/module/types.js.map +1 -1
- package/lib/nitrogen/generated/shared/json/RNGoogleMapsPlusViewConfig.json +9 -0
- package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts +19 -8
- package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +18 -5
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/nitrogen/generated/android/RNGoogleMapsPlusOnLoad.cpp +8 -4
- package/nitrogen/generated/android/c++/JFunc_void_RNRegion_RNCamera.hpp +83 -0
- package/nitrogen/generated/android/c++/JFunc_void_RNRegion_RNCamera_bool.hpp +2 -0
- package/nitrogen/generated/android/c++/JFunc_void_std__string.hpp +75 -0
- package/nitrogen/generated/android/c++/JFunc_void_std__string_RNLatLng.hpp +77 -0
- package/nitrogen/generated/android/c++/JFunc_void_std__string_std__string_RNLatLng.hpp +77 -0
- package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.cpp +265 -73
- package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.hpp +34 -14
- package/nitrogen/generated/android/c++/JRNLatLngBounds.hpp +8 -8
- package/nitrogen/generated/android/c++/JRNMapUiSettings.hpp +11 -3
- package/nitrogen/generated/android/c++/JRNMarker.hpp +7 -3
- package/nitrogen/generated/android/c++/JRNRegion.hpp +23 -13
- package/nitrogen/generated/android/c++/JRNUrlTileOverlay.hpp +78 -0
- package/nitrogen/generated/android/c++/views/JHybridRNGoogleMapsPlusViewStateUpdater.cpp +36 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNRegion_RNCamera.kt +81 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/{Func_void_std__optional_std__string_.kt → Func_void_std__string.kt} +12 -12
- 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
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__string_std__string_RNLatLng.kt +81 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/HybridRNGoogleMapsPlusViewSpec.kt +147 -21
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLatLngBounds.kt +4 -4
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapUiSettings.kt +9 -3
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMarker.kt +6 -3
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNRegion.kt +11 -5
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNUrlTileOverlay.kt +52 -0
- package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.cpp +32 -8
- package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.hpp +176 -36
- package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Umbrella.hpp +3 -0
- package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusViewSpecSwift.hpp +98 -20
- package/nitrogen/generated/ios/c++/views/HybridRNGoogleMapsPlusViewComponent.mm +45 -0
- package/nitrogen/generated/ios/swift/Func_void_RNRegion_RNCamera.swift +47 -0
- package/nitrogen/generated/ios/swift/Func_void_std__optional_std__string_.swift +6 -6
- package/nitrogen/generated/ios/swift/Func_void_std__string.swift +47 -0
- package/nitrogen/generated/ios/swift/Func_void_std__string_RNLatLng.swift +47 -0
- package/nitrogen/generated/ios/swift/Func_void_std__string_std__string_RNLatLng.swift +47 -0
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec.swift +18 -7
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec_cxx.swift +392 -126
- package/nitrogen/generated/ios/swift/RNLatLngBounds.swift +8 -8
- package/nitrogen/generated/ios/swift/RNMapUiSettings.swift +61 -1
- package/nitrogen/generated/ios/swift/RNMarker.swift +24 -1
- package/nitrogen/generated/ios/swift/RNRegion.swift +33 -11
- package/nitrogen/generated/ios/swift/RNUrlTileOverlay.swift +133 -0
- package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.cpp +20 -0
- package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.hpp +43 -20
- package/nitrogen/generated/shared/c++/RNLatLngBounds.hpp +9 -9
- package/nitrogen/generated/shared/c++/RNMapUiSettings.hpp +10 -2
- package/nitrogen/generated/shared/c++/RNMarker.hpp +6 -2
- package/nitrogen/generated/shared/c++/RNRegion.hpp +24 -13
- package/nitrogen/generated/shared/c++/RNUrlTileOverlay.hpp +96 -0
- package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.cpp +122 -14
- package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.hpp +19 -9
- package/nitrogen/generated/shared/json/RNGoogleMapsPlusViewConfig.json +9 -0
- package/package.json +8 -5
- package/src/RNGoogleMapsPlusView.nitro.ts +21 -7
- package/src/types.ts +19 -5
- package/android/src/main/java/com/rngooglemapsplus/extensions/LatLngBounds.kt +0 -15
- package/nitrogen/generated/android/c++/JFunc_void_std__optional_std__string_.hpp +0 -76
- package/nitrogen/generated/android/c++/JFunc_void_std__optional_std__string__RNLatLng.hpp +0 -78
- package/nitrogen/generated/ios/swift/Func_void_std__optional_std__string__RNLatLng.swift +0 -54
- /package/android/src/main/java/com/rngooglemapsplus/extensions/{RNSize.kt → RNSizeExtension.kt} +0 -0
- /package/android/src/main/java/com/rngooglemapsplus/extensions/{RNSnapshotFormat.kt → RNSnapshotFormatExtension.kt} +0 -0
- /package/android/src/main/java/com/rngooglemapsplus/extensions/{RNSnapshotResultType.kt → RNSnapshotResultTypeExtension.kt} +0 -0
|
@@ -508,6 +508,36 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
510
|
|
|
511
|
+
public final var urlTileOverlays: bridge.std__optional_std__vector_RNUrlTileOverlay__ {
|
|
512
|
+
@inline(__always)
|
|
513
|
+
get {
|
|
514
|
+
return { () -> bridge.std__optional_std__vector_RNUrlTileOverlay__ in
|
|
515
|
+
if let __unwrappedValue = self.__implementation.urlTileOverlays {
|
|
516
|
+
return bridge.create_std__optional_std__vector_RNUrlTileOverlay__({ () -> bridge.std__vector_RNUrlTileOverlay_ in
|
|
517
|
+
var __vector = bridge.create_std__vector_RNUrlTileOverlay_(__unwrappedValue.count)
|
|
518
|
+
for __item in __unwrappedValue {
|
|
519
|
+
__vector.push_back(__item)
|
|
520
|
+
}
|
|
521
|
+
return __vector
|
|
522
|
+
}())
|
|
523
|
+
} else {
|
|
524
|
+
return .init()
|
|
525
|
+
}
|
|
526
|
+
}()
|
|
527
|
+
}
|
|
528
|
+
@inline(__always)
|
|
529
|
+
set {
|
|
530
|
+
self.__implementation.urlTileOverlays = { () -> [RNUrlTileOverlay]? in
|
|
531
|
+
if bridge.has_value_std__optional_std__vector_RNUrlTileOverlay__(newValue) {
|
|
532
|
+
let __unwrapped = bridge.get_std__optional_std__vector_RNUrlTileOverlay__(newValue)
|
|
533
|
+
return __unwrapped.map({ __item in __item })
|
|
534
|
+
} else {
|
|
535
|
+
return nil
|
|
536
|
+
}
|
|
537
|
+
}()
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
511
541
|
public final var locationConfig: bridge.std__optional_RNLocationConfig_ {
|
|
512
542
|
@inline(__always)
|
|
513
543
|
get {
|
|
@@ -589,6 +619,38 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
589
619
|
}
|
|
590
620
|
}
|
|
591
621
|
|
|
622
|
+
public final var onMapLoaded: bridge.std__optional_std__function_void_const_RNRegion_____region_____const_RNCamera_____camera______ {
|
|
623
|
+
@inline(__always)
|
|
624
|
+
get {
|
|
625
|
+
return { () -> bridge.std__optional_std__function_void_const_RNRegion_____region_____const_RNCamera_____camera______ in
|
|
626
|
+
if let __unwrappedValue = self.__implementation.onMapLoaded {
|
|
627
|
+
return bridge.create_std__optional_std__function_void_const_RNRegion_____region_____const_RNCamera_____camera______({ () -> bridge.Func_void_RNRegion_RNCamera in
|
|
628
|
+
let __closureWrapper = Func_void_RNRegion_RNCamera(__unwrappedValue)
|
|
629
|
+
return bridge.create_Func_void_RNRegion_RNCamera(__closureWrapper.toUnsafe())
|
|
630
|
+
}())
|
|
631
|
+
} else {
|
|
632
|
+
return .init()
|
|
633
|
+
}
|
|
634
|
+
}()
|
|
635
|
+
}
|
|
636
|
+
@inline(__always)
|
|
637
|
+
set {
|
|
638
|
+
self.__implementation.onMapLoaded = { () -> ((_ region: RNRegion, _ camera: RNCamera) -> Void)? in
|
|
639
|
+
if bridge.has_value_std__optional_std__function_void_const_RNRegion_____region_____const_RNCamera_____camera______(newValue) {
|
|
640
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_const_RNRegion_____region_____const_RNCamera_____camera______(newValue)
|
|
641
|
+
return { () -> (RNRegion, RNCamera) -> Void in
|
|
642
|
+
let __wrappedFunction = bridge.wrap_Func_void_RNRegion_RNCamera(__unwrapped)
|
|
643
|
+
return { (__region: RNRegion, __camera: RNCamera) -> Void in
|
|
644
|
+
__wrappedFunction.call(__region, __camera)
|
|
645
|
+
}
|
|
646
|
+
}()
|
|
647
|
+
} else {
|
|
648
|
+
return nil
|
|
649
|
+
}
|
|
650
|
+
}()
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
|
|
592
654
|
public final var onLocationUpdate: bridge.std__optional_std__function_void_const_RNLocation_____location______ {
|
|
593
655
|
@inline(__always)
|
|
594
656
|
get {
|
|
@@ -685,14 +747,78 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
685
747
|
}
|
|
686
748
|
}
|
|
687
749
|
|
|
688
|
-
public final var
|
|
750
|
+
public final var onMapLongPress: bridge.std__optional_std__function_void_const_RNLatLng_____coordinate______ {
|
|
751
|
+
@inline(__always)
|
|
752
|
+
get {
|
|
753
|
+
return { () -> bridge.std__optional_std__function_void_const_RNLatLng_____coordinate______ in
|
|
754
|
+
if let __unwrappedValue = self.__implementation.onMapLongPress {
|
|
755
|
+
return bridge.create_std__optional_std__function_void_const_RNLatLng_____coordinate______({ () -> bridge.Func_void_RNLatLng in
|
|
756
|
+
let __closureWrapper = Func_void_RNLatLng(__unwrappedValue)
|
|
757
|
+
return bridge.create_Func_void_RNLatLng(__closureWrapper.toUnsafe())
|
|
758
|
+
}())
|
|
759
|
+
} else {
|
|
760
|
+
return .init()
|
|
761
|
+
}
|
|
762
|
+
}()
|
|
763
|
+
}
|
|
764
|
+
@inline(__always)
|
|
765
|
+
set {
|
|
766
|
+
self.__implementation.onMapLongPress = { () -> ((_ coordinate: RNLatLng) -> Void)? in
|
|
767
|
+
if bridge.has_value_std__optional_std__function_void_const_RNLatLng_____coordinate______(newValue) {
|
|
768
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_const_RNLatLng_____coordinate______(newValue)
|
|
769
|
+
return { () -> (RNLatLng) -> Void in
|
|
770
|
+
let __wrappedFunction = bridge.wrap_Func_void_RNLatLng(__unwrapped)
|
|
771
|
+
return { (__coordinate: RNLatLng) -> Void in
|
|
772
|
+
__wrappedFunction.call(__coordinate)
|
|
773
|
+
}
|
|
774
|
+
}()
|
|
775
|
+
} else {
|
|
776
|
+
return nil
|
|
777
|
+
}
|
|
778
|
+
}()
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
public final var onPoiPress: bridge.std__optional_std__function_void_const_std__string_____placeId_____const_std__string_____name_____const_RNLatLng_____coordinate______ {
|
|
783
|
+
@inline(__always)
|
|
784
|
+
get {
|
|
785
|
+
return { () -> bridge.std__optional_std__function_void_const_std__string_____placeId_____const_std__string_____name_____const_RNLatLng_____coordinate______ in
|
|
786
|
+
if let __unwrappedValue = self.__implementation.onPoiPress {
|
|
787
|
+
return bridge.create_std__optional_std__function_void_const_std__string_____placeId_____const_std__string_____name_____const_RNLatLng_____coordinate______({ () -> bridge.Func_void_std__string_std__string_RNLatLng in
|
|
788
|
+
let __closureWrapper = Func_void_std__string_std__string_RNLatLng(__unwrappedValue)
|
|
789
|
+
return bridge.create_Func_void_std__string_std__string_RNLatLng(__closureWrapper.toUnsafe())
|
|
790
|
+
}())
|
|
791
|
+
} else {
|
|
792
|
+
return .init()
|
|
793
|
+
}
|
|
794
|
+
}()
|
|
795
|
+
}
|
|
796
|
+
@inline(__always)
|
|
797
|
+
set {
|
|
798
|
+
self.__implementation.onPoiPress = { () -> ((_ placeId: String, _ name: String, _ coordinate: RNLatLng) -> Void)? in
|
|
799
|
+
if bridge.has_value_std__optional_std__function_void_const_std__string_____placeId_____const_std__string_____name_____const_RNLatLng_____coordinate______(newValue) {
|
|
800
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____placeId_____const_std__string_____name_____const_RNLatLng_____coordinate______(newValue)
|
|
801
|
+
return { () -> (String, String, RNLatLng) -> Void in
|
|
802
|
+
let __wrappedFunction = bridge.wrap_Func_void_std__string_std__string_RNLatLng(__unwrapped)
|
|
803
|
+
return { (__placeId: String, __name: String, __coordinate: RNLatLng) -> Void in
|
|
804
|
+
__wrappedFunction.call(std.string(__placeId), std.string(__name), __coordinate)
|
|
805
|
+
}
|
|
806
|
+
}()
|
|
807
|
+
} else {
|
|
808
|
+
return nil
|
|
809
|
+
}
|
|
810
|
+
}()
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
public final var onMarkerPress: bridge.std__optional_std__function_void_const_std__string_____id______ {
|
|
689
815
|
@inline(__always)
|
|
690
816
|
get {
|
|
691
|
-
return { () -> bridge.
|
|
817
|
+
return { () -> bridge.std__optional_std__function_void_const_std__string_____id______ in
|
|
692
818
|
if let __unwrappedValue = self.__implementation.onMarkerPress {
|
|
693
|
-
return bridge.
|
|
694
|
-
let __closureWrapper =
|
|
695
|
-
return bridge.
|
|
819
|
+
return bridge.create_std__optional_std__function_void_const_std__string_____id______({ () -> bridge.Func_void_std__string in
|
|
820
|
+
let __closureWrapper = Func_void_std__string(__unwrappedValue)
|
|
821
|
+
return bridge.create_Func_void_std__string(__closureWrapper.toUnsafe())
|
|
696
822
|
}())
|
|
697
823
|
} else {
|
|
698
824
|
return .init()
|
|
@@ -701,19 +827,13 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
701
827
|
}
|
|
702
828
|
@inline(__always)
|
|
703
829
|
set {
|
|
704
|
-
self.__implementation.onMarkerPress = { () -> ((_ id: String
|
|
705
|
-
if bridge.
|
|
706
|
-
let __unwrapped = bridge.
|
|
707
|
-
return { () -> (String
|
|
708
|
-
let __wrappedFunction = bridge.
|
|
709
|
-
return { (__id: String
|
|
710
|
-
__wrappedFunction.call(
|
|
711
|
-
if let __unwrappedValue = __id {
|
|
712
|
-
return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
|
|
713
|
-
} else {
|
|
714
|
-
return .init()
|
|
715
|
-
}
|
|
716
|
-
}())
|
|
830
|
+
self.__implementation.onMarkerPress = { () -> ((_ id: String) -> Void)? in
|
|
831
|
+
if bridge.has_value_std__optional_std__function_void_const_std__string_____id______(newValue) {
|
|
832
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____id______(newValue)
|
|
833
|
+
return { () -> (String) -> Void in
|
|
834
|
+
let __wrappedFunction = bridge.wrap_Func_void_std__string(__unwrapped)
|
|
835
|
+
return { (__id: String) -> Void in
|
|
836
|
+
__wrappedFunction.call(std.string(__id))
|
|
717
837
|
}
|
|
718
838
|
}()
|
|
719
839
|
} else {
|
|
@@ -723,14 +843,14 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
723
843
|
}
|
|
724
844
|
}
|
|
725
845
|
|
|
726
|
-
public final var onPolylinePress: bridge.
|
|
846
|
+
public final var onPolylinePress: bridge.std__optional_std__function_void_const_std__string_____id______ {
|
|
727
847
|
@inline(__always)
|
|
728
848
|
get {
|
|
729
|
-
return { () -> bridge.
|
|
849
|
+
return { () -> bridge.std__optional_std__function_void_const_std__string_____id______ in
|
|
730
850
|
if let __unwrappedValue = self.__implementation.onPolylinePress {
|
|
731
|
-
return bridge.
|
|
732
|
-
let __closureWrapper =
|
|
733
|
-
return bridge.
|
|
851
|
+
return bridge.create_std__optional_std__function_void_const_std__string_____id______({ () -> bridge.Func_void_std__string in
|
|
852
|
+
let __closureWrapper = Func_void_std__string(__unwrappedValue)
|
|
853
|
+
return bridge.create_Func_void_std__string(__closureWrapper.toUnsafe())
|
|
734
854
|
}())
|
|
735
855
|
} else {
|
|
736
856
|
return .init()
|
|
@@ -739,19 +859,13 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
739
859
|
}
|
|
740
860
|
@inline(__always)
|
|
741
861
|
set {
|
|
742
|
-
self.__implementation.onPolylinePress = { () -> ((_ id: String
|
|
743
|
-
if bridge.
|
|
744
|
-
let __unwrapped = bridge.
|
|
745
|
-
return { () -> (String
|
|
746
|
-
let __wrappedFunction = bridge.
|
|
747
|
-
return { (__id: String
|
|
748
|
-
__wrappedFunction.call(
|
|
749
|
-
if let __unwrappedValue = __id {
|
|
750
|
-
return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
|
|
751
|
-
} else {
|
|
752
|
-
return .init()
|
|
753
|
-
}
|
|
754
|
-
}())
|
|
862
|
+
self.__implementation.onPolylinePress = { () -> ((_ id: String) -> Void)? in
|
|
863
|
+
if bridge.has_value_std__optional_std__function_void_const_std__string_____id______(newValue) {
|
|
864
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____id______(newValue)
|
|
865
|
+
return { () -> (String) -> Void in
|
|
866
|
+
let __wrappedFunction = bridge.wrap_Func_void_std__string(__unwrapped)
|
|
867
|
+
return { (__id: String) -> Void in
|
|
868
|
+
__wrappedFunction.call(std.string(__id))
|
|
755
869
|
}
|
|
756
870
|
}()
|
|
757
871
|
} else {
|
|
@@ -761,14 +875,14 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
761
875
|
}
|
|
762
876
|
}
|
|
763
877
|
|
|
764
|
-
public final var onPolygonPress: bridge.
|
|
878
|
+
public final var onPolygonPress: bridge.std__optional_std__function_void_const_std__string_____id______ {
|
|
765
879
|
@inline(__always)
|
|
766
880
|
get {
|
|
767
|
-
return { () -> bridge.
|
|
881
|
+
return { () -> bridge.std__optional_std__function_void_const_std__string_____id______ in
|
|
768
882
|
if let __unwrappedValue = self.__implementation.onPolygonPress {
|
|
769
|
-
return bridge.
|
|
770
|
-
let __closureWrapper =
|
|
771
|
-
return bridge.
|
|
883
|
+
return bridge.create_std__optional_std__function_void_const_std__string_____id______({ () -> bridge.Func_void_std__string in
|
|
884
|
+
let __closureWrapper = Func_void_std__string(__unwrappedValue)
|
|
885
|
+
return bridge.create_Func_void_std__string(__closureWrapper.toUnsafe())
|
|
772
886
|
}())
|
|
773
887
|
} else {
|
|
774
888
|
return .init()
|
|
@@ -777,19 +891,13 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
777
891
|
}
|
|
778
892
|
@inline(__always)
|
|
779
893
|
set {
|
|
780
|
-
self.__implementation.onPolygonPress = { () -> ((_ id: String
|
|
781
|
-
if bridge.
|
|
782
|
-
let __unwrapped = bridge.
|
|
783
|
-
return { () -> (String
|
|
784
|
-
let __wrappedFunction = bridge.
|
|
785
|
-
return { (__id: String
|
|
786
|
-
__wrappedFunction.call(
|
|
787
|
-
if let __unwrappedValue = __id {
|
|
788
|
-
return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
|
|
789
|
-
} else {
|
|
790
|
-
return .init()
|
|
791
|
-
}
|
|
792
|
-
}())
|
|
894
|
+
self.__implementation.onPolygonPress = { () -> ((_ id: String) -> Void)? in
|
|
895
|
+
if bridge.has_value_std__optional_std__function_void_const_std__string_____id______(newValue) {
|
|
896
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____id______(newValue)
|
|
897
|
+
return { () -> (String) -> Void in
|
|
898
|
+
let __wrappedFunction = bridge.wrap_Func_void_std__string(__unwrapped)
|
|
899
|
+
return { (__id: String) -> Void in
|
|
900
|
+
__wrappedFunction.call(std.string(__id))
|
|
793
901
|
}
|
|
794
902
|
}()
|
|
795
903
|
} else {
|
|
@@ -799,14 +907,14 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
799
907
|
}
|
|
800
908
|
}
|
|
801
909
|
|
|
802
|
-
public final var onCirclePress: bridge.
|
|
910
|
+
public final var onCirclePress: bridge.std__optional_std__function_void_const_std__string_____id______ {
|
|
803
911
|
@inline(__always)
|
|
804
912
|
get {
|
|
805
|
-
return { () -> bridge.
|
|
913
|
+
return { () -> bridge.std__optional_std__function_void_const_std__string_____id______ in
|
|
806
914
|
if let __unwrappedValue = self.__implementation.onCirclePress {
|
|
807
|
-
return bridge.
|
|
808
|
-
let __closureWrapper =
|
|
809
|
-
return bridge.
|
|
915
|
+
return bridge.create_std__optional_std__function_void_const_std__string_____id______({ () -> bridge.Func_void_std__string in
|
|
916
|
+
let __closureWrapper = Func_void_std__string(__unwrappedValue)
|
|
917
|
+
return bridge.create_Func_void_std__string(__closureWrapper.toUnsafe())
|
|
810
918
|
}())
|
|
811
919
|
} else {
|
|
812
920
|
return .init()
|
|
@@ -815,19 +923,13 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
815
923
|
}
|
|
816
924
|
@inline(__always)
|
|
817
925
|
set {
|
|
818
|
-
self.__implementation.onCirclePress = { () -> ((_ id: String
|
|
819
|
-
if bridge.
|
|
820
|
-
let __unwrapped = bridge.
|
|
821
|
-
return { () -> (String
|
|
822
|
-
let __wrappedFunction = bridge.
|
|
823
|
-
return { (__id: String
|
|
824
|
-
__wrappedFunction.call(
|
|
825
|
-
if let __unwrappedValue = __id {
|
|
826
|
-
return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
|
|
827
|
-
} else {
|
|
828
|
-
return .init()
|
|
829
|
-
}
|
|
830
|
-
}())
|
|
926
|
+
self.__implementation.onCirclePress = { () -> ((_ id: String) -> Void)? in
|
|
927
|
+
if bridge.has_value_std__optional_std__function_void_const_std__string_____id______(newValue) {
|
|
928
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____id______(newValue)
|
|
929
|
+
return { () -> (String) -> Void in
|
|
930
|
+
let __wrappedFunction = bridge.wrap_Func_void_std__string(__unwrapped)
|
|
931
|
+
return { (__id: String) -> Void in
|
|
932
|
+
__wrappedFunction.call(std.string(__id))
|
|
831
933
|
}
|
|
832
934
|
}()
|
|
833
935
|
} else {
|
|
@@ -837,14 +939,14 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
837
939
|
}
|
|
838
940
|
}
|
|
839
941
|
|
|
840
|
-
public final var onMarkerDragStart: bridge.
|
|
942
|
+
public final var onMarkerDragStart: bridge.std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______ {
|
|
841
943
|
@inline(__always)
|
|
842
944
|
get {
|
|
843
|
-
return { () -> bridge.
|
|
945
|
+
return { () -> bridge.std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______ in
|
|
844
946
|
if let __unwrappedValue = self.__implementation.onMarkerDragStart {
|
|
845
|
-
return bridge.
|
|
846
|
-
let __closureWrapper =
|
|
847
|
-
return bridge.
|
|
947
|
+
return bridge.create_std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______({ () -> bridge.Func_void_std__string_RNLatLng in
|
|
948
|
+
let __closureWrapper = Func_void_std__string_RNLatLng(__unwrappedValue)
|
|
949
|
+
return bridge.create_Func_void_std__string_RNLatLng(__closureWrapper.toUnsafe())
|
|
848
950
|
}())
|
|
849
951
|
} else {
|
|
850
952
|
return .init()
|
|
@@ -853,19 +955,13 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
853
955
|
}
|
|
854
956
|
@inline(__always)
|
|
855
957
|
set {
|
|
856
|
-
self.__implementation.onMarkerDragStart = { () -> ((_ id: String
|
|
857
|
-
if bridge.
|
|
858
|
-
let __unwrapped = bridge.
|
|
859
|
-
return { () -> (String
|
|
860
|
-
let __wrappedFunction = bridge.
|
|
861
|
-
return { (__id: String
|
|
862
|
-
__wrappedFunction.call(
|
|
863
|
-
if let __unwrappedValue = __id {
|
|
864
|
-
return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
|
|
865
|
-
} else {
|
|
866
|
-
return .init()
|
|
867
|
-
}
|
|
868
|
-
}(), __location)
|
|
958
|
+
self.__implementation.onMarkerDragStart = { () -> ((_ id: String, _ location: RNLatLng) -> Void)? in
|
|
959
|
+
if bridge.has_value_std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______(newValue) {
|
|
960
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______(newValue)
|
|
961
|
+
return { () -> (String, RNLatLng) -> Void in
|
|
962
|
+
let __wrappedFunction = bridge.wrap_Func_void_std__string_RNLatLng(__unwrapped)
|
|
963
|
+
return { (__id: String, __location: RNLatLng) -> Void in
|
|
964
|
+
__wrappedFunction.call(std.string(__id), __location)
|
|
869
965
|
}
|
|
870
966
|
}()
|
|
871
967
|
} else {
|
|
@@ -875,14 +971,14 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
875
971
|
}
|
|
876
972
|
}
|
|
877
973
|
|
|
878
|
-
public final var onMarkerDrag: bridge.
|
|
974
|
+
public final var onMarkerDrag: bridge.std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______ {
|
|
879
975
|
@inline(__always)
|
|
880
976
|
get {
|
|
881
|
-
return { () -> bridge.
|
|
977
|
+
return { () -> bridge.std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______ in
|
|
882
978
|
if let __unwrappedValue = self.__implementation.onMarkerDrag {
|
|
883
|
-
return bridge.
|
|
884
|
-
let __closureWrapper =
|
|
885
|
-
return bridge.
|
|
979
|
+
return bridge.create_std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______({ () -> bridge.Func_void_std__string_RNLatLng in
|
|
980
|
+
let __closureWrapper = Func_void_std__string_RNLatLng(__unwrappedValue)
|
|
981
|
+
return bridge.create_Func_void_std__string_RNLatLng(__closureWrapper.toUnsafe())
|
|
886
982
|
}())
|
|
887
983
|
} else {
|
|
888
984
|
return .init()
|
|
@@ -891,19 +987,13 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
891
987
|
}
|
|
892
988
|
@inline(__always)
|
|
893
989
|
set {
|
|
894
|
-
self.__implementation.onMarkerDrag = { () -> ((_ id: String
|
|
895
|
-
if bridge.
|
|
896
|
-
let __unwrapped = bridge.
|
|
897
|
-
return { () -> (String
|
|
898
|
-
let __wrappedFunction = bridge.
|
|
899
|
-
return { (__id: String
|
|
900
|
-
__wrappedFunction.call(
|
|
901
|
-
if let __unwrappedValue = __id {
|
|
902
|
-
return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
|
|
903
|
-
} else {
|
|
904
|
-
return .init()
|
|
905
|
-
}
|
|
906
|
-
}(), __location)
|
|
990
|
+
self.__implementation.onMarkerDrag = { () -> ((_ id: String, _ location: RNLatLng) -> Void)? in
|
|
991
|
+
if bridge.has_value_std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______(newValue) {
|
|
992
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______(newValue)
|
|
993
|
+
return { () -> (String, RNLatLng) -> Void in
|
|
994
|
+
let __wrappedFunction = bridge.wrap_Func_void_std__string_RNLatLng(__unwrapped)
|
|
995
|
+
return { (__id: String, __location: RNLatLng) -> Void in
|
|
996
|
+
__wrappedFunction.call(std.string(__id), __location)
|
|
907
997
|
}
|
|
908
998
|
}()
|
|
909
999
|
} else {
|
|
@@ -913,14 +1003,14 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
913
1003
|
}
|
|
914
1004
|
}
|
|
915
1005
|
|
|
916
|
-
public final var onMarkerDragEnd: bridge.
|
|
1006
|
+
public final var onMarkerDragEnd: bridge.std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______ {
|
|
917
1007
|
@inline(__always)
|
|
918
1008
|
get {
|
|
919
|
-
return { () -> bridge.
|
|
1009
|
+
return { () -> bridge.std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______ in
|
|
920
1010
|
if let __unwrappedValue = self.__implementation.onMarkerDragEnd {
|
|
921
|
-
return bridge.
|
|
922
|
-
let __closureWrapper =
|
|
923
|
-
return bridge.
|
|
1011
|
+
return bridge.create_std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______({ () -> bridge.Func_void_std__string_RNLatLng in
|
|
1012
|
+
let __closureWrapper = Func_void_std__string_RNLatLng(__unwrappedValue)
|
|
1013
|
+
return bridge.create_Func_void_std__string_RNLatLng(__closureWrapper.toUnsafe())
|
|
924
1014
|
}())
|
|
925
1015
|
} else {
|
|
926
1016
|
return .init()
|
|
@@ -929,19 +1019,13 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
929
1019
|
}
|
|
930
1020
|
@inline(__always)
|
|
931
1021
|
set {
|
|
932
|
-
self.__implementation.onMarkerDragEnd = { () -> ((_ id: String
|
|
933
|
-
if bridge.
|
|
934
|
-
let __unwrapped = bridge.
|
|
935
|
-
return { () -> (String
|
|
936
|
-
let __wrappedFunction = bridge.
|
|
937
|
-
return { (__id: String
|
|
938
|
-
__wrappedFunction.call(
|
|
939
|
-
if let __unwrappedValue = __id {
|
|
940
|
-
return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
|
|
941
|
-
} else {
|
|
942
|
-
return .init()
|
|
943
|
-
}
|
|
944
|
-
}(), __location)
|
|
1022
|
+
self.__implementation.onMarkerDragEnd = { () -> ((_ id: String, _ location: RNLatLng) -> Void)? in
|
|
1023
|
+
if bridge.has_value_std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______(newValue) {
|
|
1024
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____id_____const_RNLatLng_____location______(newValue)
|
|
1025
|
+
return { () -> (String, RNLatLng) -> Void in
|
|
1026
|
+
let __wrappedFunction = bridge.wrap_Func_void_std__string_RNLatLng(__unwrapped)
|
|
1027
|
+
return { (__id: String, __location: RNLatLng) -> Void in
|
|
1028
|
+
__wrappedFunction.call(std.string(__id), __location)
|
|
945
1029
|
}
|
|
946
1030
|
}()
|
|
947
1031
|
} else {
|
|
@@ -1015,6 +1099,166 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
1015
1099
|
}
|
|
1016
1100
|
}
|
|
1017
1101
|
|
|
1102
|
+
public final var onInfoWindowPress: bridge.std__optional_std__function_void_const_std__string_____id______ {
|
|
1103
|
+
@inline(__always)
|
|
1104
|
+
get {
|
|
1105
|
+
return { () -> bridge.std__optional_std__function_void_const_std__string_____id______ in
|
|
1106
|
+
if let __unwrappedValue = self.__implementation.onInfoWindowPress {
|
|
1107
|
+
return bridge.create_std__optional_std__function_void_const_std__string_____id______({ () -> bridge.Func_void_std__string in
|
|
1108
|
+
let __closureWrapper = Func_void_std__string(__unwrappedValue)
|
|
1109
|
+
return bridge.create_Func_void_std__string(__closureWrapper.toUnsafe())
|
|
1110
|
+
}())
|
|
1111
|
+
} else {
|
|
1112
|
+
return .init()
|
|
1113
|
+
}
|
|
1114
|
+
}()
|
|
1115
|
+
}
|
|
1116
|
+
@inline(__always)
|
|
1117
|
+
set {
|
|
1118
|
+
self.__implementation.onInfoWindowPress = { () -> ((_ id: String) -> Void)? in
|
|
1119
|
+
if bridge.has_value_std__optional_std__function_void_const_std__string_____id______(newValue) {
|
|
1120
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____id______(newValue)
|
|
1121
|
+
return { () -> (String) -> Void in
|
|
1122
|
+
let __wrappedFunction = bridge.wrap_Func_void_std__string(__unwrapped)
|
|
1123
|
+
return { (__id: String) -> Void in
|
|
1124
|
+
__wrappedFunction.call(std.string(__id))
|
|
1125
|
+
}
|
|
1126
|
+
}()
|
|
1127
|
+
} else {
|
|
1128
|
+
return nil
|
|
1129
|
+
}
|
|
1130
|
+
}()
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
public final var onInfoWindowClose: bridge.std__optional_std__function_void_const_std__string_____id______ {
|
|
1135
|
+
@inline(__always)
|
|
1136
|
+
get {
|
|
1137
|
+
return { () -> bridge.std__optional_std__function_void_const_std__string_____id______ in
|
|
1138
|
+
if let __unwrappedValue = self.__implementation.onInfoWindowClose {
|
|
1139
|
+
return bridge.create_std__optional_std__function_void_const_std__string_____id______({ () -> bridge.Func_void_std__string in
|
|
1140
|
+
let __closureWrapper = Func_void_std__string(__unwrappedValue)
|
|
1141
|
+
return bridge.create_Func_void_std__string(__closureWrapper.toUnsafe())
|
|
1142
|
+
}())
|
|
1143
|
+
} else {
|
|
1144
|
+
return .init()
|
|
1145
|
+
}
|
|
1146
|
+
}()
|
|
1147
|
+
}
|
|
1148
|
+
@inline(__always)
|
|
1149
|
+
set {
|
|
1150
|
+
self.__implementation.onInfoWindowClose = { () -> ((_ id: String) -> Void)? in
|
|
1151
|
+
if bridge.has_value_std__optional_std__function_void_const_std__string_____id______(newValue) {
|
|
1152
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____id______(newValue)
|
|
1153
|
+
return { () -> (String) -> Void in
|
|
1154
|
+
let __wrappedFunction = bridge.wrap_Func_void_std__string(__unwrapped)
|
|
1155
|
+
return { (__id: String) -> Void in
|
|
1156
|
+
__wrappedFunction.call(std.string(__id))
|
|
1157
|
+
}
|
|
1158
|
+
}()
|
|
1159
|
+
} else {
|
|
1160
|
+
return nil
|
|
1161
|
+
}
|
|
1162
|
+
}()
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
public final var onInfoWindowLongPress: bridge.std__optional_std__function_void_const_std__string_____id______ {
|
|
1167
|
+
@inline(__always)
|
|
1168
|
+
get {
|
|
1169
|
+
return { () -> bridge.std__optional_std__function_void_const_std__string_____id______ in
|
|
1170
|
+
if let __unwrappedValue = self.__implementation.onInfoWindowLongPress {
|
|
1171
|
+
return bridge.create_std__optional_std__function_void_const_std__string_____id______({ () -> bridge.Func_void_std__string in
|
|
1172
|
+
let __closureWrapper = Func_void_std__string(__unwrappedValue)
|
|
1173
|
+
return bridge.create_Func_void_std__string(__closureWrapper.toUnsafe())
|
|
1174
|
+
}())
|
|
1175
|
+
} else {
|
|
1176
|
+
return .init()
|
|
1177
|
+
}
|
|
1178
|
+
}()
|
|
1179
|
+
}
|
|
1180
|
+
@inline(__always)
|
|
1181
|
+
set {
|
|
1182
|
+
self.__implementation.onInfoWindowLongPress = { () -> ((_ id: String) -> Void)? in
|
|
1183
|
+
if bridge.has_value_std__optional_std__function_void_const_std__string_____id______(newValue) {
|
|
1184
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_const_std__string_____id______(newValue)
|
|
1185
|
+
return { () -> (String) -> Void in
|
|
1186
|
+
let __wrappedFunction = bridge.wrap_Func_void_std__string(__unwrapped)
|
|
1187
|
+
return { (__id: String) -> Void in
|
|
1188
|
+
__wrappedFunction.call(std.string(__id))
|
|
1189
|
+
}
|
|
1190
|
+
}()
|
|
1191
|
+
} else {
|
|
1192
|
+
return nil
|
|
1193
|
+
}
|
|
1194
|
+
}()
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
public final var onMyLocationPress: bridge.std__optional_std__function_void_const_RNLocation_____location______ {
|
|
1199
|
+
@inline(__always)
|
|
1200
|
+
get {
|
|
1201
|
+
return { () -> bridge.std__optional_std__function_void_const_RNLocation_____location______ in
|
|
1202
|
+
if let __unwrappedValue = self.__implementation.onMyLocationPress {
|
|
1203
|
+
return bridge.create_std__optional_std__function_void_const_RNLocation_____location______({ () -> bridge.Func_void_RNLocation in
|
|
1204
|
+
let __closureWrapper = Func_void_RNLocation(__unwrappedValue)
|
|
1205
|
+
return bridge.create_Func_void_RNLocation(__closureWrapper.toUnsafe())
|
|
1206
|
+
}())
|
|
1207
|
+
} else {
|
|
1208
|
+
return .init()
|
|
1209
|
+
}
|
|
1210
|
+
}()
|
|
1211
|
+
}
|
|
1212
|
+
@inline(__always)
|
|
1213
|
+
set {
|
|
1214
|
+
self.__implementation.onMyLocationPress = { () -> ((_ location: RNLocation) -> Void)? in
|
|
1215
|
+
if bridge.has_value_std__optional_std__function_void_const_RNLocation_____location______(newValue) {
|
|
1216
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_const_RNLocation_____location______(newValue)
|
|
1217
|
+
return { () -> (RNLocation) -> Void in
|
|
1218
|
+
let __wrappedFunction = bridge.wrap_Func_void_RNLocation(__unwrapped)
|
|
1219
|
+
return { (__location: RNLocation) -> Void in
|
|
1220
|
+
__wrappedFunction.call(__location)
|
|
1221
|
+
}
|
|
1222
|
+
}()
|
|
1223
|
+
} else {
|
|
1224
|
+
return nil
|
|
1225
|
+
}
|
|
1226
|
+
}()
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
public final var onMyLocationButtonPress: bridge.std__optional_std__function_void_bool____pressed______ {
|
|
1231
|
+
@inline(__always)
|
|
1232
|
+
get {
|
|
1233
|
+
return { () -> bridge.std__optional_std__function_void_bool____pressed______ in
|
|
1234
|
+
if let __unwrappedValue = self.__implementation.onMyLocationButtonPress {
|
|
1235
|
+
return bridge.create_std__optional_std__function_void_bool____pressed______({ () -> bridge.Func_void_bool in
|
|
1236
|
+
let __closureWrapper = Func_void_bool(__unwrappedValue)
|
|
1237
|
+
return bridge.create_Func_void_bool(__closureWrapper.toUnsafe())
|
|
1238
|
+
}())
|
|
1239
|
+
} else {
|
|
1240
|
+
return .init()
|
|
1241
|
+
}
|
|
1242
|
+
}()
|
|
1243
|
+
}
|
|
1244
|
+
@inline(__always)
|
|
1245
|
+
set {
|
|
1246
|
+
self.__implementation.onMyLocationButtonPress = { () -> ((_ pressed: Bool) -> Void)? in
|
|
1247
|
+
if bridge.has_value_std__optional_std__function_void_bool____pressed______(newValue) {
|
|
1248
|
+
let __unwrapped = bridge.get_std__optional_std__function_void_bool____pressed______(newValue)
|
|
1249
|
+
return { () -> (Bool) -> Void in
|
|
1250
|
+
let __wrappedFunction = bridge.wrap_Func_void_bool(__unwrapped)
|
|
1251
|
+
return { (__pressed: Bool) -> Void in
|
|
1252
|
+
__wrappedFunction.call(__pressed)
|
|
1253
|
+
}
|
|
1254
|
+
}()
|
|
1255
|
+
} else {
|
|
1256
|
+
return nil
|
|
1257
|
+
}
|
|
1258
|
+
}()
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1018
1262
|
public final var onCameraChangeStart: bridge.std__optional_std__function_void_const_RNRegion_____region_____const_RNCamera_____camera_____bool____isGesture______ {
|
|
1019
1263
|
@inline(__always)
|
|
1020
1264
|
get {
|
|
@@ -1112,6 +1356,28 @@ open class HybridRNGoogleMapsPlusViewSpec_cxx {
|
|
|
1112
1356
|
}
|
|
1113
1357
|
|
|
1114
1358
|
// Methods
|
|
1359
|
+
@inline(__always)
|
|
1360
|
+
public final func showMarkerInfoWindow(id: std.string) -> bridge.Result_void_ {
|
|
1361
|
+
do {
|
|
1362
|
+
try self.__implementation.showMarkerInfoWindow(id: String(id))
|
|
1363
|
+
return bridge.create_Result_void_()
|
|
1364
|
+
} catch (let __error) {
|
|
1365
|
+
let __exceptionPtr = __error.toCpp()
|
|
1366
|
+
return bridge.create_Result_void_(__exceptionPtr)
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
@inline(__always)
|
|
1371
|
+
public final func hideMarkerInfoWindow(id: std.string) -> bridge.Result_void_ {
|
|
1372
|
+
do {
|
|
1373
|
+
try self.__implementation.hideMarkerInfoWindow(id: String(id))
|
|
1374
|
+
return bridge.create_Result_void_()
|
|
1375
|
+
} catch (let __error) {
|
|
1376
|
+
let __exceptionPtr = __error.toCpp()
|
|
1377
|
+
return bridge.create_Result_void_(__exceptionPtr)
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1115
1381
|
@inline(__always)
|
|
1116
1382
|
public final func setCamera(camera: RNCamera, animated: bridge.std__optional_bool_, durationMs: bridge.std__optional_double_) -> bridge.Result_void_ {
|
|
1117
1383
|
do {
|