react-native-google-maps-plus 1.10.2-dev.2 → 1.10.3-dev.1
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/README.md +1 -16
- package/RNGoogleMapsPlus.podspec +2 -4
- package/android/gradle.properties +1 -1
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts +2 -0
- package/lib/typescript/src/RNGoogleMapsPlusView.nitro.d.ts.map +1 -1
- package/lib/typescript/src/types.d.ts +132 -31
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/nitrogen/generated/android/RNGoogleMapsPlus+autolinking.cmake +1 -1
- package/nitrogen/generated/android/RNGoogleMapsPlus+autolinking.gradle +1 -1
- package/nitrogen/generated/android/RNGoogleMapsPlusOnLoad.cpp +1 -1
- package/nitrogen/generated/android/RNGoogleMapsPlusOnLoad.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNIndoorBuilding.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNIndoorLevel.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNLatLng.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNLocation.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNLocationErrorCode.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNMapErrorCode.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNRegion_RNCamera.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_RNRegion_RNCamera_bool.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_bool.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__string.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__string_RNLatLng.hpp +1 -1
- package/nitrogen/generated/android/c++/JFunc_void_std__string_std__string_RNLatLng.hpp +1 -1
- package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusModuleSpec.cpp +1 -1
- package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusModuleSpec.hpp +1 -1
- package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.cpp +1 -1
- package/nitrogen/generated/android/c++/JHybridRNGoogleMapsPlusViewSpec.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNAndroidLocationConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNAndroidLocationPermissionResult.hpp +4 -5
- package/nitrogen/generated/android/c++/JRNAndroidLocationPriority.hpp +5 -6
- package/nitrogen/generated/android/c++/JRNCamera.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNCameraUpdate.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNCircle.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNHeatmap.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNHeatmapGradient.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNHeatmapPoint.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNIOSLocationAccuracy.hpp +5 -6
- package/nitrogen/generated/android/c++/JRNIOSLocationActivityType.hpp +6 -7
- package/nitrogen/generated/android/c++/JRNIOSLocationConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNIOSPermissionResult.hpp +3 -4
- package/nitrogen/generated/android/c++/JRNIndoorBuilding.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNIndoorLevel.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNInitialProps.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNKMLayer.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLatLng.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLatLngBounds.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLineCapType.hpp +4 -5
- package/nitrogen/generated/android/c++/JRNLineJoinType.hpp +4 -5
- package/nitrogen/generated/android/c++/JRNLocation.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLocationAndroid.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLocationConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLocationErrorCode.hpp +7 -8
- package/nitrogen/generated/android/c++/JRNLocationIOS.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNLocationPermissionResult.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNMapErrorCode.hpp +8 -9
- package/nitrogen/generated/android/c++/JRNMapPadding.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNMapType.hpp +6 -7
- package/nitrogen/generated/android/c++/JRNMapUiSettings.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNMapZoomConfig.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNMarker.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNMarkerSvg.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNPolygon.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNPolygonHole.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNPolyline.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNPosition.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNRegion.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNSize.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNSnapshotFormat.hpp +4 -5
- package/nitrogen/generated/android/c++/JRNSnapshotOptions.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNSnapshotResultType.hpp +3 -4
- package/nitrogen/generated/android/c++/JRNUrlTileOverlay.hpp +1 -1
- package/nitrogen/generated/android/c++/JRNUserInterfaceStyle.hpp +4 -5
- package/nitrogen/generated/android/c++/views/JHybridRNGoogleMapsPlusViewStateUpdater.cpp +1 -1
- package/nitrogen/generated/android/c++/views/JHybridRNGoogleMapsPlusViewStateUpdater.hpp +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorBuilding.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNIndoorLevel.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNLatLng.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNLocation.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNLocationErrorCode.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNMapErrorCode.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNRegion_RNCamera.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_RNRegion_RNCamera_bool.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_bool.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__string.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__string_RNLatLng.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/Func_void_std__string_std__string_RNLatLng.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/HybridRNGoogleMapsPlusModuleSpec.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/HybridRNGoogleMapsPlusViewSpec.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNAndroidLocationConfig.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNAndroidLocationPermissionResult.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNAndroidLocationPriority.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNCamera.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNCameraUpdate.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNCircle.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNGoogleMapsPlusOnLoad.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNHeatmap.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNHeatmapGradient.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNHeatmapPoint.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIOSLocationAccuracy.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIOSLocationActivityType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIOSLocationConfig.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIOSPermissionResult.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIndoorBuilding.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNIndoorLevel.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNInitialProps.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNKMLayer.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLatLng.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLatLngBounds.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLineCapType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLineJoinType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocation.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationAndroid.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationConfig.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationErrorCode.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationIOS.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNLocationPermissionResult.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapErrorCode.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapPadding.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapUiSettings.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMapZoomConfig.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMarker.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNMarkerSvg.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolygon.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolygonHole.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPolyline.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNPosition.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNRegion.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNSize.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNSnapshotFormat.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNSnapshotOptions.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNSnapshotResultType.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNUrlTileOverlay.kt +2 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/RNUserInterfaceStyle.kt +3 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/views/HybridRNGoogleMapsPlusViewManager.kt +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/rngooglemapsplus/views/HybridRNGoogleMapsPlusViewStateUpdater.kt +1 -1
- package/nitrogen/generated/ios/RNGoogleMapsPlus+autolinking.rb +2 -2
- package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.cpp +1 -1
- package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Bridge.hpp +1 -1
- package/nitrogen/generated/ios/RNGoogleMapsPlus-Swift-Cxx-Umbrella.hpp +1 -1
- package/nitrogen/generated/ios/RNGoogleMapsPlusAutolinking.mm +1 -1
- package/nitrogen/generated/ios/RNGoogleMapsPlusAutolinking.swift +1 -1
- package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusModuleSpecSwift.hpp +1 -1
- package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusViewSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridRNGoogleMapsPlusViewSpecSwift.hpp +1 -1
- package/nitrogen/generated/ios/c++/views/HybridRNGoogleMapsPlusViewComponent.mm +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNIndoorBuilding.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNIndoorLevel.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNLatLng.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNLocation.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNLocationErrorCode.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNLocationPermissionResult.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNMapErrorCode.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNRegion_RNCamera.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_RNRegion_RNCamera_bool.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_bool.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_std__string_.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__string.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__string_RNLatLng.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void_std__string_std__string_RNLatLng.swift +1 -1
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusModuleSpec.swift +1 -1
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusModuleSpec_cxx.swift +1 -1
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec.swift +1 -1
- package/nitrogen/generated/ios/swift/HybridRNGoogleMapsPlusViewSpec_cxx.swift +1 -1
- package/nitrogen/generated/ios/swift/RNAndroidLocationConfig.swift +7 -43
- package/nitrogen/generated/ios/swift/RNAndroidLocationPermissionResult.swift +1 -1
- package/nitrogen/generated/ios/swift/RNAndroidLocationPriority.swift +1 -1
- package/nitrogen/generated/ios/swift/RNCamera.swift +9 -33
- package/nitrogen/generated/ios/swift/RNCameraUpdate.swift +9 -57
- package/nitrogen/generated/ios/swift/RNCircle.swift +38 -116
- package/nitrogen/generated/ios/swift/RNHeatmap.swift +22 -100
- package/nitrogen/generated/ios/swift/RNHeatmapGradient.swift +7 -37
- package/nitrogen/generated/ios/swift/RNHeatmapPoint.swift +7 -25
- package/nitrogen/generated/ios/swift/RNIOSLocationAccuracy.swift +1 -1
- package/nitrogen/generated/ios/swift/RNIOSLocationActivityType.swift +1 -1
- package/nitrogen/generated/ios/swift/RNIOSLocationConfig.swift +7 -43
- package/nitrogen/generated/ios/swift/RNIOSPermissionResult.swift +1 -1
- package/nitrogen/generated/ios/swift/RNIndoorBuilding.swift +16 -64
- package/nitrogen/generated/ios/swift/RNIndoorLevel.swift +30 -72
- package/nitrogen/generated/ios/swift/RNInitialProps.swift +30 -78
- package/nitrogen/generated/ios/swift/RNKMLayer.swift +5 -17
- package/nitrogen/generated/ios/swift/RNLatLng.swift +5 -17
- package/nitrogen/generated/ios/swift/RNLatLngBounds.swift +5 -17
- package/nitrogen/generated/ios/swift/RNLineCapType.swift +1 -1
- package/nitrogen/generated/ios/swift/RNLineJoinType.swift +1 -1
- package/nitrogen/generated/ios/swift/RNLocation.swift +17 -77
- package/nitrogen/generated/ios/swift/RNLocationAndroid.swift +31 -127
- package/nitrogen/generated/ios/swift/RNLocationConfig.swift +5 -29
- package/nitrogen/generated/ios/swift/RNLocationErrorCode.swift +1 -1
- package/nitrogen/generated/ios/swift/RNLocationIOS.swift +22 -106
- package/nitrogen/generated/ios/swift/RNLocationPermissionResult.swift +5 -29
- package/nitrogen/generated/ios/swift/RNMapErrorCode.swift +1 -1
- package/nitrogen/generated/ios/swift/RNMapPadding.swift +9 -33
- package/nitrogen/generated/ios/swift/RNMapType.swift +1 -1
- package/nitrogen/generated/ios/swift/RNMapUiSettings.swift +118 -274
- package/nitrogen/generated/ios/swift/RNMapZoomConfig.swift +5 -29
- package/nitrogen/generated/ios/swift/RNMarker.swift +55 -199
- package/nitrogen/generated/ios/swift/RNMarkerSvg.swift +7 -25
- package/nitrogen/generated/ios/swift/RNPolygon.swift +54 -162
- package/nitrogen/generated/ios/swift/RNPolygonHole.swift +3 -15
- package/nitrogen/generated/ios/swift/RNPolyline.swift +40 -142
- package/nitrogen/generated/ios/swift/RNPosition.swift +5 -17
- package/nitrogen/generated/ios/swift/RNRegion.swift +11 -41
- package/nitrogen/generated/ios/swift/RNSize.swift +5 -17
- package/nitrogen/generated/ios/swift/RNSnapshotFormat.swift +1 -1
- package/nitrogen/generated/ios/swift/RNSnapshotOptions.swift +9 -39
- package/nitrogen/generated/ios/swift/RNSnapshotResultType.swift +1 -1
- package/nitrogen/generated/ios/swift/RNUrlTileOverlay.swift +20 -74
- package/nitrogen/generated/ios/swift/RNUserInterfaceStyle.swift +1 -1
- package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusModuleSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusModuleSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridRNGoogleMapsPlusViewSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNAndroidLocationConfig.hpp +19 -11
- package/nitrogen/generated/shared/c++/RNAndroidLocationPermissionResult.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNAndroidLocationPriority.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNCamera.hpp +22 -14
- package/nitrogen/generated/shared/c++/RNCameraUpdate.hpp +22 -14
- package/nitrogen/generated/shared/c++/RNCircle.hpp +34 -26
- package/nitrogen/generated/shared/c++/RNHeatmap.hpp +31 -23
- package/nitrogen/generated/shared/c++/RNHeatmapGradient.hpp +19 -11
- package/nitrogen/generated/shared/c++/RNHeatmapPoint.hpp +19 -11
- package/nitrogen/generated/shared/c++/RNIOSLocationAccuracy.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNIOSLocationActivityType.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNIOSLocationConfig.hpp +19 -11
- package/nitrogen/generated/shared/c++/RNIOSPermissionResult.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNIndoorBuilding.hpp +22 -14
- package/nitrogen/generated/shared/c++/RNIndoorLevel.hpp +22 -14
- package/nitrogen/generated/shared/c++/RNInitialProps.hpp +22 -14
- package/nitrogen/generated/shared/c++/RNKMLayer.hpp +16 -8
- package/nitrogen/generated/shared/c++/RNLatLng.hpp +16 -8
- package/nitrogen/generated/shared/c++/RNLatLngBounds.hpp +16 -8
- package/nitrogen/generated/shared/c++/RNLineCapType.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNLineJoinType.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNLocation.hpp +34 -26
- package/nitrogen/generated/shared/c++/RNLocationAndroid.hpp +34 -26
- package/nitrogen/generated/shared/c++/RNLocationConfig.hpp +16 -8
- package/nitrogen/generated/shared/c++/RNLocationErrorCode.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNLocationIOS.hpp +31 -23
- package/nitrogen/generated/shared/c++/RNLocationPermissionResult.hpp +16 -8
- package/nitrogen/generated/shared/c++/RNMapErrorCode.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNMapPadding.hpp +22 -14
- package/nitrogen/generated/shared/c++/RNMapType.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNMapUiSettings.hpp +49 -41
- package/nitrogen/generated/shared/c++/RNMapZoomConfig.hpp +16 -8
- package/nitrogen/generated/shared/c++/RNMarker.hpp +49 -41
- package/nitrogen/generated/shared/c++/RNMarkerSvg.hpp +19 -11
- package/nitrogen/generated/shared/c++/RNPolygon.hpp +37 -29
- package/nitrogen/generated/shared/c++/RNPolygonHole.hpp +13 -5
- package/nitrogen/generated/shared/c++/RNPolyline.hpp +37 -29
- package/nitrogen/generated/shared/c++/RNPosition.hpp +16 -8
- package/nitrogen/generated/shared/c++/RNRegion.hpp +25 -17
- package/nitrogen/generated/shared/c++/RNSize.hpp +16 -8
- package/nitrogen/generated/shared/c++/RNSnapshotFormat.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNSnapshotOptions.hpp +22 -14
- package/nitrogen/generated/shared/c++/RNSnapshotResultType.hpp +1 -1
- package/nitrogen/generated/shared/c++/RNUrlTileOverlay.hpp +28 -20
- package/nitrogen/generated/shared/c++/RNUserInterfaceStyle.hpp +1 -1
- package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.cpp +28 -27
- package/nitrogen/generated/shared/c++/views/HybridRNGoogleMapsPlusViewComponent.hpp +1 -1
- package/package.json +20 -20
- package/src/RNGoogleMapsPlusView.nitro.ts +3 -0
- package/src/types.ts +132 -31
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// RNIOSLocationConfig.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © 2026 Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
+
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
+
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
+
#else
|
|
28
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
+
#endif
|
|
25
30
|
|
|
26
31
|
// Forward declaration of `RNIOSLocationAccuracy` to properly resolve imports.
|
|
27
32
|
namespace margelo::nitro::rngooglemapsplus { enum class RNIOSLocationAccuracy; }
|
|
@@ -37,7 +42,7 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
37
42
|
/**
|
|
38
43
|
* A struct which can be represented as a JavaScript object (RNIOSLocationConfig).
|
|
39
44
|
*/
|
|
40
|
-
struct RNIOSLocationConfig {
|
|
45
|
+
struct RNIOSLocationConfig final {
|
|
41
46
|
public:
|
|
42
47
|
std::optional<RNIOSLocationAccuracy> desiredAccuracy SWIFT_PRIVATE;
|
|
43
48
|
std::optional<double> distanceFilterMeters SWIFT_PRIVATE;
|
|
@@ -46,6 +51,9 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
46
51
|
public:
|
|
47
52
|
RNIOSLocationConfig() = default;
|
|
48
53
|
explicit RNIOSLocationConfig(std::optional<RNIOSLocationAccuracy> desiredAccuracy, std::optional<double> distanceFilterMeters, std::optional<RNIOSLocationActivityType> activityType): desiredAccuracy(desiredAccuracy), distanceFilterMeters(distanceFilterMeters), activityType(activityType) {}
|
|
54
|
+
|
|
55
|
+
public:
|
|
56
|
+
friend bool operator==(const RNIOSLocationConfig& lhs, const RNIOSLocationConfig& rhs) = default;
|
|
49
57
|
};
|
|
50
58
|
|
|
51
59
|
} // namespace margelo::nitro::rngooglemapsplus
|
|
@@ -58,16 +66,16 @@ namespace margelo::nitro {
|
|
|
58
66
|
static inline margelo::nitro::rngooglemapsplus::RNIOSLocationConfig fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
59
67
|
jsi::Object obj = arg.asObject(runtime);
|
|
60
68
|
return margelo::nitro::rngooglemapsplus::RNIOSLocationConfig(
|
|
61
|
-
JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNIOSLocationAccuracy>>::fromJSI(runtime, obj.getProperty(runtime, "desiredAccuracy")),
|
|
62
|
-
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, "distanceFilterMeters")),
|
|
63
|
-
JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNIOSLocationActivityType>>::fromJSI(runtime, obj.getProperty(runtime, "activityType"))
|
|
69
|
+
JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNIOSLocationAccuracy>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "desiredAccuracy"))),
|
|
70
|
+
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "distanceFilterMeters"))),
|
|
71
|
+
JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNIOSLocationActivityType>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "activityType")))
|
|
64
72
|
);
|
|
65
73
|
}
|
|
66
74
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::rngooglemapsplus::RNIOSLocationConfig& arg) {
|
|
67
75
|
jsi::Object obj(runtime);
|
|
68
|
-
obj.setProperty(runtime, "desiredAccuracy", JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNIOSLocationAccuracy>>::toJSI(runtime, arg.desiredAccuracy));
|
|
69
|
-
obj.setProperty(runtime, "distanceFilterMeters", JSIConverter<std::optional<double>>::toJSI(runtime, arg.distanceFilterMeters));
|
|
70
|
-
obj.setProperty(runtime, "activityType", JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNIOSLocationActivityType>>::toJSI(runtime, arg.activityType));
|
|
76
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "desiredAccuracy"), JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNIOSLocationAccuracy>>::toJSI(runtime, arg.desiredAccuracy));
|
|
77
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "distanceFilterMeters"), JSIConverter<std::optional<double>>::toJSI(runtime, arg.distanceFilterMeters));
|
|
78
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "activityType"), JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNIOSLocationActivityType>>::toJSI(runtime, arg.activityType));
|
|
71
79
|
return obj;
|
|
72
80
|
}
|
|
73
81
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -78,9 +86,9 @@ namespace margelo::nitro {
|
|
|
78
86
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
79
87
|
return false;
|
|
80
88
|
}
|
|
81
|
-
if (!JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNIOSLocationAccuracy>>::canConvert(runtime, obj.getProperty(runtime, "desiredAccuracy"))) return false;
|
|
82
|
-
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, "distanceFilterMeters"))) return false;
|
|
83
|
-
if (!JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNIOSLocationActivityType>>::canConvert(runtime, obj.getProperty(runtime, "activityType"))) return false;
|
|
89
|
+
if (!JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNIOSLocationAccuracy>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "desiredAccuracy")))) return false;
|
|
90
|
+
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "distanceFilterMeters")))) return false;
|
|
91
|
+
if (!JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNIOSLocationActivityType>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "activityType")))) return false;
|
|
84
92
|
return true;
|
|
85
93
|
}
|
|
86
94
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// RNIndoorBuilding.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © 2026 Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
+
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
+
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
+
#else
|
|
28
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
+
#endif
|
|
25
30
|
|
|
26
31
|
// Forward declaration of `RNIndoorLevel` to properly resolve imports.
|
|
27
32
|
namespace margelo::nitro::rngooglemapsplus { struct RNIndoorLevel; }
|
|
@@ -35,7 +40,7 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
35
40
|
/**
|
|
36
41
|
* A struct which can be represented as a JavaScript object (RNIndoorBuilding).
|
|
37
42
|
*/
|
|
38
|
-
struct RNIndoorBuilding {
|
|
43
|
+
struct RNIndoorBuilding final {
|
|
39
44
|
public:
|
|
40
45
|
std::optional<double> activeLevelIndex SWIFT_PRIVATE;
|
|
41
46
|
std::optional<double> defaultLevelIndex SWIFT_PRIVATE;
|
|
@@ -45,6 +50,9 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
45
50
|
public:
|
|
46
51
|
RNIndoorBuilding() = default;
|
|
47
52
|
explicit RNIndoorBuilding(std::optional<double> activeLevelIndex, std::optional<double> defaultLevelIndex, std::vector<RNIndoorLevel> levels, std::optional<bool> underground): activeLevelIndex(activeLevelIndex), defaultLevelIndex(defaultLevelIndex), levels(levels), underground(underground) {}
|
|
53
|
+
|
|
54
|
+
public:
|
|
55
|
+
friend bool operator==(const RNIndoorBuilding& lhs, const RNIndoorBuilding& rhs) = default;
|
|
48
56
|
};
|
|
49
57
|
|
|
50
58
|
} // namespace margelo::nitro::rngooglemapsplus
|
|
@@ -57,18 +65,18 @@ namespace margelo::nitro {
|
|
|
57
65
|
static inline margelo::nitro::rngooglemapsplus::RNIndoorBuilding fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
58
66
|
jsi::Object obj = arg.asObject(runtime);
|
|
59
67
|
return margelo::nitro::rngooglemapsplus::RNIndoorBuilding(
|
|
60
|
-
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, "activeLevelIndex")),
|
|
61
|
-
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, "defaultLevelIndex")),
|
|
62
|
-
JSIConverter<std::vector<margelo::nitro::rngooglemapsplus::RNIndoorLevel>>::fromJSI(runtime, obj.getProperty(runtime, "levels")),
|
|
63
|
-
JSIConverter<std::optional<bool>>::fromJSI(runtime, obj.getProperty(runtime, "underground"))
|
|
68
|
+
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "activeLevelIndex"))),
|
|
69
|
+
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "defaultLevelIndex"))),
|
|
70
|
+
JSIConverter<std::vector<margelo::nitro::rngooglemapsplus::RNIndoorLevel>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "levels"))),
|
|
71
|
+
JSIConverter<std::optional<bool>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "underground")))
|
|
64
72
|
);
|
|
65
73
|
}
|
|
66
74
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::rngooglemapsplus::RNIndoorBuilding& arg) {
|
|
67
75
|
jsi::Object obj(runtime);
|
|
68
|
-
obj.setProperty(runtime, "activeLevelIndex", JSIConverter<std::optional<double>>::toJSI(runtime, arg.activeLevelIndex));
|
|
69
|
-
obj.setProperty(runtime, "defaultLevelIndex", JSIConverter<std::optional<double>>::toJSI(runtime, arg.defaultLevelIndex));
|
|
70
|
-
obj.setProperty(runtime, "levels", JSIConverter<std::vector<margelo::nitro::rngooglemapsplus::RNIndoorLevel>>::toJSI(runtime, arg.levels));
|
|
71
|
-
obj.setProperty(runtime, "underground", JSIConverter<std::optional<bool>>::toJSI(runtime, arg.underground));
|
|
76
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "activeLevelIndex"), JSIConverter<std::optional<double>>::toJSI(runtime, arg.activeLevelIndex));
|
|
77
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "defaultLevelIndex"), JSIConverter<std::optional<double>>::toJSI(runtime, arg.defaultLevelIndex));
|
|
78
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "levels"), JSIConverter<std::vector<margelo::nitro::rngooglemapsplus::RNIndoorLevel>>::toJSI(runtime, arg.levels));
|
|
79
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "underground"), JSIConverter<std::optional<bool>>::toJSI(runtime, arg.underground));
|
|
72
80
|
return obj;
|
|
73
81
|
}
|
|
74
82
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -79,10 +87,10 @@ namespace margelo::nitro {
|
|
|
79
87
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
80
88
|
return false;
|
|
81
89
|
}
|
|
82
|
-
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, "activeLevelIndex"))) return false;
|
|
83
|
-
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, "defaultLevelIndex"))) return false;
|
|
84
|
-
if (!JSIConverter<std::vector<margelo::nitro::rngooglemapsplus::RNIndoorLevel>>::canConvert(runtime, obj.getProperty(runtime, "levels"))) return false;
|
|
85
|
-
if (!JSIConverter<std::optional<bool>>::canConvert(runtime, obj.getProperty(runtime, "underground"))) return false;
|
|
90
|
+
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "activeLevelIndex")))) return false;
|
|
91
|
+
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "defaultLevelIndex")))) return false;
|
|
92
|
+
if (!JSIConverter<std::vector<margelo::nitro::rngooglemapsplus::RNIndoorLevel>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "levels")))) return false;
|
|
93
|
+
if (!JSIConverter<std::optional<bool>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "underground")))) return false;
|
|
86
94
|
return true;
|
|
87
95
|
}
|
|
88
96
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// RNIndoorLevel.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © 2026 Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
+
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
+
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
+
#else
|
|
28
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
+
#endif
|
|
25
30
|
|
|
26
31
|
|
|
27
32
|
|
|
@@ -33,7 +38,7 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
33
38
|
/**
|
|
34
39
|
* A struct which can be represented as a JavaScript object (RNIndoorLevel).
|
|
35
40
|
*/
|
|
36
|
-
struct RNIndoorLevel {
|
|
41
|
+
struct RNIndoorLevel final {
|
|
37
42
|
public:
|
|
38
43
|
double index SWIFT_PRIVATE;
|
|
39
44
|
std::optional<std::string> name SWIFT_PRIVATE;
|
|
@@ -43,6 +48,9 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
43
48
|
public:
|
|
44
49
|
RNIndoorLevel() = default;
|
|
45
50
|
explicit RNIndoorLevel(double index, std::optional<std::string> name, std::optional<std::string> shortName, std::optional<bool> active): index(index), name(name), shortName(shortName), active(active) {}
|
|
51
|
+
|
|
52
|
+
public:
|
|
53
|
+
friend bool operator==(const RNIndoorLevel& lhs, const RNIndoorLevel& rhs) = default;
|
|
46
54
|
};
|
|
47
55
|
|
|
48
56
|
} // namespace margelo::nitro::rngooglemapsplus
|
|
@@ -55,18 +63,18 @@ namespace margelo::nitro {
|
|
|
55
63
|
static inline margelo::nitro::rngooglemapsplus::RNIndoorLevel fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
56
64
|
jsi::Object obj = arg.asObject(runtime);
|
|
57
65
|
return margelo::nitro::rngooglemapsplus::RNIndoorLevel(
|
|
58
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "index")),
|
|
59
|
-
JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, "name")),
|
|
60
|
-
JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, "shortName")),
|
|
61
|
-
JSIConverter<std::optional<bool>>::fromJSI(runtime, obj.getProperty(runtime, "active"))
|
|
66
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "index"))),
|
|
67
|
+
JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "name"))),
|
|
68
|
+
JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "shortName"))),
|
|
69
|
+
JSIConverter<std::optional<bool>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "active")))
|
|
62
70
|
);
|
|
63
71
|
}
|
|
64
72
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::rngooglemapsplus::RNIndoorLevel& arg) {
|
|
65
73
|
jsi::Object obj(runtime);
|
|
66
|
-
obj.setProperty(runtime, "index", JSIConverter<double>::toJSI(runtime, arg.index));
|
|
67
|
-
obj.setProperty(runtime, "name", JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.name));
|
|
68
|
-
obj.setProperty(runtime, "shortName", JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.shortName));
|
|
69
|
-
obj.setProperty(runtime, "active", JSIConverter<std::optional<bool>>::toJSI(runtime, arg.active));
|
|
74
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "index"), JSIConverter<double>::toJSI(runtime, arg.index));
|
|
75
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "name"), JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.name));
|
|
76
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "shortName"), JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.shortName));
|
|
77
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "active"), JSIConverter<std::optional<bool>>::toJSI(runtime, arg.active));
|
|
70
78
|
return obj;
|
|
71
79
|
}
|
|
72
80
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -77,10 +85,10 @@ namespace margelo::nitro {
|
|
|
77
85
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
78
86
|
return false;
|
|
79
87
|
}
|
|
80
|
-
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "index"))) return false;
|
|
81
|
-
if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, "name"))) return false;
|
|
82
|
-
if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, "shortName"))) return false;
|
|
83
|
-
if (!JSIConverter<std::optional<bool>>::canConvert(runtime, obj.getProperty(runtime, "active"))) return false;
|
|
88
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "index")))) return false;
|
|
89
|
+
if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "name")))) return false;
|
|
90
|
+
if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "shortName")))) return false;
|
|
91
|
+
if (!JSIConverter<std::optional<bool>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "active")))) return false;
|
|
84
92
|
return true;
|
|
85
93
|
}
|
|
86
94
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// RNInitialProps.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © 2026 Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
+
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
+
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
+
#else
|
|
28
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
+
#endif
|
|
25
30
|
|
|
26
31
|
// Forward declaration of `RNCameraUpdate` to properly resolve imports.
|
|
27
32
|
namespace margelo::nitro::rngooglemapsplus { struct RNCameraUpdate; }
|
|
@@ -35,7 +40,7 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
35
40
|
/**
|
|
36
41
|
* A struct which can be represented as a JavaScript object (RNInitialProps).
|
|
37
42
|
*/
|
|
38
|
-
struct RNInitialProps {
|
|
43
|
+
struct RNInitialProps final {
|
|
39
44
|
public:
|
|
40
45
|
std::optional<std::string> mapId SWIFT_PRIVATE;
|
|
41
46
|
std::optional<bool> liteMode SWIFT_PRIVATE;
|
|
@@ -45,6 +50,9 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
45
50
|
public:
|
|
46
51
|
RNInitialProps() = default;
|
|
47
52
|
explicit RNInitialProps(std::optional<std::string> mapId, std::optional<bool> liteMode, std::optional<RNCameraUpdate> camera, std::optional<std::string> backgroundColor): mapId(mapId), liteMode(liteMode), camera(camera), backgroundColor(backgroundColor) {}
|
|
53
|
+
|
|
54
|
+
public:
|
|
55
|
+
friend bool operator==(const RNInitialProps& lhs, const RNInitialProps& rhs) = default;
|
|
48
56
|
};
|
|
49
57
|
|
|
50
58
|
} // namespace margelo::nitro::rngooglemapsplus
|
|
@@ -57,18 +65,18 @@ namespace margelo::nitro {
|
|
|
57
65
|
static inline margelo::nitro::rngooglemapsplus::RNInitialProps fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
58
66
|
jsi::Object obj = arg.asObject(runtime);
|
|
59
67
|
return margelo::nitro::rngooglemapsplus::RNInitialProps(
|
|
60
|
-
JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, "mapId")),
|
|
61
|
-
JSIConverter<std::optional<bool>>::fromJSI(runtime, obj.getProperty(runtime, "liteMode")),
|
|
62
|
-
JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNCameraUpdate>>::fromJSI(runtime, obj.getProperty(runtime, "camera")),
|
|
63
|
-
JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, "backgroundColor"))
|
|
68
|
+
JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "mapId"))),
|
|
69
|
+
JSIConverter<std::optional<bool>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "liteMode"))),
|
|
70
|
+
JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNCameraUpdate>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "camera"))),
|
|
71
|
+
JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "backgroundColor")))
|
|
64
72
|
);
|
|
65
73
|
}
|
|
66
74
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::rngooglemapsplus::RNInitialProps& arg) {
|
|
67
75
|
jsi::Object obj(runtime);
|
|
68
|
-
obj.setProperty(runtime, "mapId", JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.mapId));
|
|
69
|
-
obj.setProperty(runtime, "liteMode", JSIConverter<std::optional<bool>>::toJSI(runtime, arg.liteMode));
|
|
70
|
-
obj.setProperty(runtime, "camera", JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNCameraUpdate>>::toJSI(runtime, arg.camera));
|
|
71
|
-
obj.setProperty(runtime, "backgroundColor", JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.backgroundColor));
|
|
76
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "mapId"), JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.mapId));
|
|
77
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "liteMode"), JSIConverter<std::optional<bool>>::toJSI(runtime, arg.liteMode));
|
|
78
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "camera"), JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNCameraUpdate>>::toJSI(runtime, arg.camera));
|
|
79
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "backgroundColor"), JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.backgroundColor));
|
|
72
80
|
return obj;
|
|
73
81
|
}
|
|
74
82
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -79,10 +87,10 @@ namespace margelo::nitro {
|
|
|
79
87
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
80
88
|
return false;
|
|
81
89
|
}
|
|
82
|
-
if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, "mapId"))) return false;
|
|
83
|
-
if (!JSIConverter<std::optional<bool>>::canConvert(runtime, obj.getProperty(runtime, "liteMode"))) return false;
|
|
84
|
-
if (!JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNCameraUpdate>>::canConvert(runtime, obj.getProperty(runtime, "camera"))) return false;
|
|
85
|
-
if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, "backgroundColor"))) return false;
|
|
90
|
+
if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "mapId")))) return false;
|
|
91
|
+
if (!JSIConverter<std::optional<bool>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "liteMode")))) return false;
|
|
92
|
+
if (!JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNCameraUpdate>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "camera")))) return false;
|
|
93
|
+
if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "backgroundColor")))) return false;
|
|
86
94
|
return true;
|
|
87
95
|
}
|
|
88
96
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// RNKMLayer.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © 2026 Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
+
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
+
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
+
#else
|
|
28
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
+
#endif
|
|
25
30
|
|
|
26
31
|
|
|
27
32
|
|
|
@@ -32,7 +37,7 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
32
37
|
/**
|
|
33
38
|
* A struct which can be represented as a JavaScript object (RNKMLayer).
|
|
34
39
|
*/
|
|
35
|
-
struct RNKMLayer {
|
|
40
|
+
struct RNKMLayer final {
|
|
36
41
|
public:
|
|
37
42
|
std::string id SWIFT_PRIVATE;
|
|
38
43
|
std::string kmlString SWIFT_PRIVATE;
|
|
@@ -40,6 +45,9 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
40
45
|
public:
|
|
41
46
|
RNKMLayer() = default;
|
|
42
47
|
explicit RNKMLayer(std::string id, std::string kmlString): id(id), kmlString(kmlString) {}
|
|
48
|
+
|
|
49
|
+
public:
|
|
50
|
+
friend bool operator==(const RNKMLayer& lhs, const RNKMLayer& rhs) = default;
|
|
43
51
|
};
|
|
44
52
|
|
|
45
53
|
} // namespace margelo::nitro::rngooglemapsplus
|
|
@@ -52,14 +60,14 @@ namespace margelo::nitro {
|
|
|
52
60
|
static inline margelo::nitro::rngooglemapsplus::RNKMLayer fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
53
61
|
jsi::Object obj = arg.asObject(runtime);
|
|
54
62
|
return margelo::nitro::rngooglemapsplus::RNKMLayer(
|
|
55
|
-
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, "id")),
|
|
56
|
-
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, "kmlString"))
|
|
63
|
+
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "id"))),
|
|
64
|
+
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "kmlString")))
|
|
57
65
|
);
|
|
58
66
|
}
|
|
59
67
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::rngooglemapsplus::RNKMLayer& arg) {
|
|
60
68
|
jsi::Object obj(runtime);
|
|
61
|
-
obj.setProperty(runtime, "id", JSIConverter<std::string>::toJSI(runtime, arg.id));
|
|
62
|
-
obj.setProperty(runtime, "kmlString", JSIConverter<std::string>::toJSI(runtime, arg.kmlString));
|
|
69
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "id"), JSIConverter<std::string>::toJSI(runtime, arg.id));
|
|
70
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "kmlString"), JSIConverter<std::string>::toJSI(runtime, arg.kmlString));
|
|
63
71
|
return obj;
|
|
64
72
|
}
|
|
65
73
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -70,8 +78,8 @@ namespace margelo::nitro {
|
|
|
70
78
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
71
79
|
return false;
|
|
72
80
|
}
|
|
73
|
-
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, "id"))) return false;
|
|
74
|
-
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, "kmlString"))) return false;
|
|
81
|
+
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "id")))) return false;
|
|
82
|
+
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "kmlString")))) return false;
|
|
75
83
|
return true;
|
|
76
84
|
}
|
|
77
85
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// RNLatLng.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © 2026 Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
+
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
+
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
+
#else
|
|
28
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
+
#endif
|
|
25
30
|
|
|
26
31
|
|
|
27
32
|
|
|
@@ -32,7 +37,7 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
32
37
|
/**
|
|
33
38
|
* A struct which can be represented as a JavaScript object (RNLatLng).
|
|
34
39
|
*/
|
|
35
|
-
struct RNLatLng {
|
|
40
|
+
struct RNLatLng final {
|
|
36
41
|
public:
|
|
37
42
|
double latitude SWIFT_PRIVATE;
|
|
38
43
|
double longitude SWIFT_PRIVATE;
|
|
@@ -40,6 +45,9 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
40
45
|
public:
|
|
41
46
|
RNLatLng() = default;
|
|
42
47
|
explicit RNLatLng(double latitude, double longitude): latitude(latitude), longitude(longitude) {}
|
|
48
|
+
|
|
49
|
+
public:
|
|
50
|
+
friend bool operator==(const RNLatLng& lhs, const RNLatLng& rhs) = default;
|
|
43
51
|
};
|
|
44
52
|
|
|
45
53
|
} // namespace margelo::nitro::rngooglemapsplus
|
|
@@ -52,14 +60,14 @@ namespace margelo::nitro {
|
|
|
52
60
|
static inline margelo::nitro::rngooglemapsplus::RNLatLng fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
53
61
|
jsi::Object obj = arg.asObject(runtime);
|
|
54
62
|
return margelo::nitro::rngooglemapsplus::RNLatLng(
|
|
55
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "latitude")),
|
|
56
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "longitude"))
|
|
63
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "latitude"))),
|
|
64
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "longitude")))
|
|
57
65
|
);
|
|
58
66
|
}
|
|
59
67
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::rngooglemapsplus::RNLatLng& arg) {
|
|
60
68
|
jsi::Object obj(runtime);
|
|
61
|
-
obj.setProperty(runtime, "latitude", JSIConverter<double>::toJSI(runtime, arg.latitude));
|
|
62
|
-
obj.setProperty(runtime, "longitude", JSIConverter<double>::toJSI(runtime, arg.longitude));
|
|
69
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "latitude"), JSIConverter<double>::toJSI(runtime, arg.latitude));
|
|
70
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "longitude"), JSIConverter<double>::toJSI(runtime, arg.longitude));
|
|
63
71
|
return obj;
|
|
64
72
|
}
|
|
65
73
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -70,8 +78,8 @@ namespace margelo::nitro {
|
|
|
70
78
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
71
79
|
return false;
|
|
72
80
|
}
|
|
73
|
-
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "latitude"))) return false;
|
|
74
|
-
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "longitude"))) return false;
|
|
81
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "latitude")))) return false;
|
|
82
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "longitude")))) return false;
|
|
75
83
|
return true;
|
|
76
84
|
}
|
|
77
85
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// RNLatLngBounds.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © 2026 Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
+
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
+
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
+
#else
|
|
28
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
+
#endif
|
|
25
30
|
|
|
26
31
|
// Forward declaration of `RNLatLng` to properly resolve imports.
|
|
27
32
|
namespace margelo::nitro::rngooglemapsplus { struct RNLatLng; }
|
|
@@ -33,7 +38,7 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
33
38
|
/**
|
|
34
39
|
* A struct which can be represented as a JavaScript object (RNLatLngBounds).
|
|
35
40
|
*/
|
|
36
|
-
struct RNLatLngBounds {
|
|
41
|
+
struct RNLatLngBounds final {
|
|
37
42
|
public:
|
|
38
43
|
RNLatLng southwest SWIFT_PRIVATE;
|
|
39
44
|
RNLatLng northeast SWIFT_PRIVATE;
|
|
@@ -41,6 +46,9 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
41
46
|
public:
|
|
42
47
|
RNLatLngBounds() = default;
|
|
43
48
|
explicit RNLatLngBounds(RNLatLng southwest, RNLatLng northeast): southwest(southwest), northeast(northeast) {}
|
|
49
|
+
|
|
50
|
+
public:
|
|
51
|
+
friend bool operator==(const RNLatLngBounds& lhs, const RNLatLngBounds& rhs) = default;
|
|
44
52
|
};
|
|
45
53
|
|
|
46
54
|
} // namespace margelo::nitro::rngooglemapsplus
|
|
@@ -53,14 +61,14 @@ namespace margelo::nitro {
|
|
|
53
61
|
static inline margelo::nitro::rngooglemapsplus::RNLatLngBounds fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
54
62
|
jsi::Object obj = arg.asObject(runtime);
|
|
55
63
|
return margelo::nitro::rngooglemapsplus::RNLatLngBounds(
|
|
56
|
-
JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::fromJSI(runtime, obj.getProperty(runtime, "southwest")),
|
|
57
|
-
JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::fromJSI(runtime, obj.getProperty(runtime, "northeast"))
|
|
64
|
+
JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "southwest"))),
|
|
65
|
+
JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "northeast")))
|
|
58
66
|
);
|
|
59
67
|
}
|
|
60
68
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::rngooglemapsplus::RNLatLngBounds& arg) {
|
|
61
69
|
jsi::Object obj(runtime);
|
|
62
|
-
obj.setProperty(runtime, "southwest", JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::toJSI(runtime, arg.southwest));
|
|
63
|
-
obj.setProperty(runtime, "northeast", JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::toJSI(runtime, arg.northeast));
|
|
70
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "southwest"), JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::toJSI(runtime, arg.southwest));
|
|
71
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "northeast"), JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::toJSI(runtime, arg.northeast));
|
|
64
72
|
return obj;
|
|
65
73
|
}
|
|
66
74
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -71,8 +79,8 @@ namespace margelo::nitro {
|
|
|
71
79
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
72
80
|
return false;
|
|
73
81
|
}
|
|
74
|
-
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::canConvert(runtime, obj.getProperty(runtime, "southwest"))) return false;
|
|
75
|
-
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::canConvert(runtime, obj.getProperty(runtime, "northeast"))) return false;
|
|
82
|
+
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "southwest")))) return false;
|
|
83
|
+
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "northeast")))) return false;
|
|
76
84
|
return true;
|
|
77
85
|
}
|
|
78
86
|
};
|