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
|
/// RNPolyline.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; }
|
|
@@ -42,7 +47,7 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
42
47
|
/**
|
|
43
48
|
* A struct which can be represented as a JavaScript object (RNPolyline).
|
|
44
49
|
*/
|
|
45
|
-
struct RNPolyline {
|
|
50
|
+
struct RNPolyline final {
|
|
46
51
|
public:
|
|
47
52
|
std::string id SWIFT_PRIVATE;
|
|
48
53
|
std::optional<double> zIndex SWIFT_PRIVATE;
|
|
@@ -57,6 +62,9 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
57
62
|
public:
|
|
58
63
|
RNPolyline() = default;
|
|
59
64
|
explicit RNPolyline(std::string id, std::optional<double> zIndex, std::optional<bool> pressable, std::vector<RNLatLng> coordinates, std::optional<RNLineCapType> lineCap, std::optional<RNLineJoinType> lineJoin, std::optional<bool> geodesic, std::optional<std::string> color, std::optional<double> width): id(id), zIndex(zIndex), pressable(pressable), coordinates(coordinates), lineCap(lineCap), lineJoin(lineJoin), geodesic(geodesic), color(color), width(width) {}
|
|
65
|
+
|
|
66
|
+
public:
|
|
67
|
+
friend bool operator==(const RNPolyline& lhs, const RNPolyline& rhs) = default;
|
|
60
68
|
};
|
|
61
69
|
|
|
62
70
|
} // namespace margelo::nitro::rngooglemapsplus
|
|
@@ -69,28 +77,28 @@ namespace margelo::nitro {
|
|
|
69
77
|
static inline margelo::nitro::rngooglemapsplus::RNPolyline fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
70
78
|
jsi::Object obj = arg.asObject(runtime);
|
|
71
79
|
return margelo::nitro::rngooglemapsplus::RNPolyline(
|
|
72
|
-
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, "id")),
|
|
73
|
-
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, "zIndex")),
|
|
74
|
-
JSIConverter<std::optional<bool>>::fromJSI(runtime, obj.getProperty(runtime, "pressable")),
|
|
75
|
-
JSIConverter<std::vector<margelo::nitro::rngooglemapsplus::RNLatLng>>::fromJSI(runtime, obj.getProperty(runtime, "coordinates")),
|
|
76
|
-
JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNLineCapType>>::fromJSI(runtime, obj.getProperty(runtime, "lineCap")),
|
|
77
|
-
JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNLineJoinType>>::fromJSI(runtime, obj.getProperty(runtime, "lineJoin")),
|
|
78
|
-
JSIConverter<std::optional<bool>>::fromJSI(runtime, obj.getProperty(runtime, "geodesic")),
|
|
79
|
-
JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, "color")),
|
|
80
|
-
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, "width"))
|
|
80
|
+
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "id"))),
|
|
81
|
+
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "zIndex"))),
|
|
82
|
+
JSIConverter<std::optional<bool>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "pressable"))),
|
|
83
|
+
JSIConverter<std::vector<margelo::nitro::rngooglemapsplus::RNLatLng>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "coordinates"))),
|
|
84
|
+
JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNLineCapType>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "lineCap"))),
|
|
85
|
+
JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNLineJoinType>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "lineJoin"))),
|
|
86
|
+
JSIConverter<std::optional<bool>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "geodesic"))),
|
|
87
|
+
JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "color"))),
|
|
88
|
+
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "width")))
|
|
81
89
|
);
|
|
82
90
|
}
|
|
83
91
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::rngooglemapsplus::RNPolyline& arg) {
|
|
84
92
|
jsi::Object obj(runtime);
|
|
85
|
-
obj.setProperty(runtime, "id", JSIConverter<std::string>::toJSI(runtime, arg.id));
|
|
86
|
-
obj.setProperty(runtime, "zIndex", JSIConverter<std::optional<double>>::toJSI(runtime, arg.zIndex));
|
|
87
|
-
obj.setProperty(runtime, "pressable", JSIConverter<std::optional<bool>>::toJSI(runtime, arg.pressable));
|
|
88
|
-
obj.setProperty(runtime, "coordinates", JSIConverter<std::vector<margelo::nitro::rngooglemapsplus::RNLatLng>>::toJSI(runtime, arg.coordinates));
|
|
89
|
-
obj.setProperty(runtime, "lineCap", JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNLineCapType>>::toJSI(runtime, arg.lineCap));
|
|
90
|
-
obj.setProperty(runtime, "lineJoin", JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNLineJoinType>>::toJSI(runtime, arg.lineJoin));
|
|
91
|
-
obj.setProperty(runtime, "geodesic", JSIConverter<std::optional<bool>>::toJSI(runtime, arg.geodesic));
|
|
92
|
-
obj.setProperty(runtime, "color", JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.color));
|
|
93
|
-
obj.setProperty(runtime, "width", JSIConverter<std::optional<double>>::toJSI(runtime, arg.width));
|
|
93
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "id"), JSIConverter<std::string>::toJSI(runtime, arg.id));
|
|
94
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "zIndex"), JSIConverter<std::optional<double>>::toJSI(runtime, arg.zIndex));
|
|
95
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "pressable"), JSIConverter<std::optional<bool>>::toJSI(runtime, arg.pressable));
|
|
96
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "coordinates"), JSIConverter<std::vector<margelo::nitro::rngooglemapsplus::RNLatLng>>::toJSI(runtime, arg.coordinates));
|
|
97
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "lineCap"), JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNLineCapType>>::toJSI(runtime, arg.lineCap));
|
|
98
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "lineJoin"), JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNLineJoinType>>::toJSI(runtime, arg.lineJoin));
|
|
99
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "geodesic"), JSIConverter<std::optional<bool>>::toJSI(runtime, arg.geodesic));
|
|
100
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "color"), JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.color));
|
|
101
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "width"), JSIConverter<std::optional<double>>::toJSI(runtime, arg.width));
|
|
94
102
|
return obj;
|
|
95
103
|
}
|
|
96
104
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -101,15 +109,15 @@ namespace margelo::nitro {
|
|
|
101
109
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
102
110
|
return false;
|
|
103
111
|
}
|
|
104
|
-
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, "id"))) return false;
|
|
105
|
-
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, "zIndex"))) return false;
|
|
106
|
-
if (!JSIConverter<std::optional<bool>>::canConvert(runtime, obj.getProperty(runtime, "pressable"))) return false;
|
|
107
|
-
if (!JSIConverter<std::vector<margelo::nitro::rngooglemapsplus::RNLatLng>>::canConvert(runtime, obj.getProperty(runtime, "coordinates"))) return false;
|
|
108
|
-
if (!JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNLineCapType>>::canConvert(runtime, obj.getProperty(runtime, "lineCap"))) return false;
|
|
109
|
-
if (!JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNLineJoinType>>::canConvert(runtime, obj.getProperty(runtime, "lineJoin"))) return false;
|
|
110
|
-
if (!JSIConverter<std::optional<bool>>::canConvert(runtime, obj.getProperty(runtime, "geodesic"))) return false;
|
|
111
|
-
if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, "color"))) return false;
|
|
112
|
-
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, "width"))) return false;
|
|
112
|
+
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "id")))) return false;
|
|
113
|
+
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "zIndex")))) return false;
|
|
114
|
+
if (!JSIConverter<std::optional<bool>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "pressable")))) return false;
|
|
115
|
+
if (!JSIConverter<std::vector<margelo::nitro::rngooglemapsplus::RNLatLng>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "coordinates")))) return false;
|
|
116
|
+
if (!JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNLineCapType>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "lineCap")))) return false;
|
|
117
|
+
if (!JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNLineJoinType>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "lineJoin")))) return false;
|
|
118
|
+
if (!JSIConverter<std::optional<bool>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "geodesic")))) return false;
|
|
119
|
+
if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "color")))) return false;
|
|
120
|
+
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "width")))) return false;
|
|
113
121
|
return true;
|
|
114
122
|
}
|
|
115
123
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// RNPosition.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 (RNPosition).
|
|
34
39
|
*/
|
|
35
|
-
struct RNPosition {
|
|
40
|
+
struct RNPosition final {
|
|
36
41
|
public:
|
|
37
42
|
double x SWIFT_PRIVATE;
|
|
38
43
|
double y SWIFT_PRIVATE;
|
|
@@ -40,6 +45,9 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
40
45
|
public:
|
|
41
46
|
RNPosition() = default;
|
|
42
47
|
explicit RNPosition(double x, double y): x(x), y(y) {}
|
|
48
|
+
|
|
49
|
+
public:
|
|
50
|
+
friend bool operator==(const RNPosition& lhs, const RNPosition& 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::RNPosition fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
53
61
|
jsi::Object obj = arg.asObject(runtime);
|
|
54
62
|
return margelo::nitro::rngooglemapsplus::RNPosition(
|
|
55
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "x")),
|
|
56
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "y"))
|
|
63
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "x"))),
|
|
64
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "y")))
|
|
57
65
|
);
|
|
58
66
|
}
|
|
59
67
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::rngooglemapsplus::RNPosition& arg) {
|
|
60
68
|
jsi::Object obj(runtime);
|
|
61
|
-
obj.setProperty(runtime, "x", JSIConverter<double>::toJSI(runtime, arg.x));
|
|
62
|
-
obj.setProperty(runtime, "y", JSIConverter<double>::toJSI(runtime, arg.y));
|
|
69
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "x"), JSIConverter<double>::toJSI(runtime, arg.x));
|
|
70
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "y"), JSIConverter<double>::toJSI(runtime, arg.y));
|
|
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, "x"))) return false;
|
|
74
|
-
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "y"))) return false;
|
|
81
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "x")))) return false;
|
|
82
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "y")))) return false;
|
|
75
83
|
return true;
|
|
76
84
|
}
|
|
77
85
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// RNRegion.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; }
|
|
@@ -36,7 +41,7 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
36
41
|
/**
|
|
37
42
|
* A struct which can be represented as a JavaScript object (RNRegion).
|
|
38
43
|
*/
|
|
39
|
-
struct RNRegion {
|
|
44
|
+
struct RNRegion final {
|
|
40
45
|
public:
|
|
41
46
|
RNLatLng nearLeft SWIFT_PRIVATE;
|
|
42
47
|
RNLatLng nearRight SWIFT_PRIVATE;
|
|
@@ -47,6 +52,9 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
47
52
|
public:
|
|
48
53
|
RNRegion() = default;
|
|
49
54
|
explicit RNRegion(RNLatLng nearLeft, RNLatLng nearRight, RNLatLng farLeft, RNLatLng farRight, RNLatLngBounds latLngBounds): nearLeft(nearLeft), nearRight(nearRight), farLeft(farLeft), farRight(farRight), latLngBounds(latLngBounds) {}
|
|
55
|
+
|
|
56
|
+
public:
|
|
57
|
+
friend bool operator==(const RNRegion& lhs, const RNRegion& rhs) = default;
|
|
50
58
|
};
|
|
51
59
|
|
|
52
60
|
} // namespace margelo::nitro::rngooglemapsplus
|
|
@@ -59,20 +67,20 @@ namespace margelo::nitro {
|
|
|
59
67
|
static inline margelo::nitro::rngooglemapsplus::RNRegion fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
60
68
|
jsi::Object obj = arg.asObject(runtime);
|
|
61
69
|
return margelo::nitro::rngooglemapsplus::RNRegion(
|
|
62
|
-
JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::fromJSI(runtime, obj.getProperty(runtime, "nearLeft")),
|
|
63
|
-
JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::fromJSI(runtime, obj.getProperty(runtime, "nearRight")),
|
|
64
|
-
JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::fromJSI(runtime, obj.getProperty(runtime, "farLeft")),
|
|
65
|
-
JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::fromJSI(runtime, obj.getProperty(runtime, "farRight")),
|
|
66
|
-
JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLngBounds>::fromJSI(runtime, obj.getProperty(runtime, "latLngBounds"))
|
|
70
|
+
JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "nearLeft"))),
|
|
71
|
+
JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "nearRight"))),
|
|
72
|
+
JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "farLeft"))),
|
|
73
|
+
JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "farRight"))),
|
|
74
|
+
JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLngBounds>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "latLngBounds")))
|
|
67
75
|
);
|
|
68
76
|
}
|
|
69
77
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::rngooglemapsplus::RNRegion& arg) {
|
|
70
78
|
jsi::Object obj(runtime);
|
|
71
|
-
obj.setProperty(runtime, "nearLeft", JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::toJSI(runtime, arg.nearLeft));
|
|
72
|
-
obj.setProperty(runtime, "nearRight", JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::toJSI(runtime, arg.nearRight));
|
|
73
|
-
obj.setProperty(runtime, "farLeft", JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::toJSI(runtime, arg.farLeft));
|
|
74
|
-
obj.setProperty(runtime, "farRight", JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::toJSI(runtime, arg.farRight));
|
|
75
|
-
obj.setProperty(runtime, "latLngBounds", JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLngBounds>::toJSI(runtime, arg.latLngBounds));
|
|
79
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "nearLeft"), JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::toJSI(runtime, arg.nearLeft));
|
|
80
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "nearRight"), JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::toJSI(runtime, arg.nearRight));
|
|
81
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "farLeft"), JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::toJSI(runtime, arg.farLeft));
|
|
82
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "farRight"), JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::toJSI(runtime, arg.farRight));
|
|
83
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "latLngBounds"), JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLngBounds>::toJSI(runtime, arg.latLngBounds));
|
|
76
84
|
return obj;
|
|
77
85
|
}
|
|
78
86
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -83,11 +91,11 @@ namespace margelo::nitro {
|
|
|
83
91
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
84
92
|
return false;
|
|
85
93
|
}
|
|
86
|
-
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::canConvert(runtime, obj.getProperty(runtime, "nearLeft"))) return false;
|
|
87
|
-
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::canConvert(runtime, obj.getProperty(runtime, "nearRight"))) return false;
|
|
88
|
-
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::canConvert(runtime, obj.getProperty(runtime, "farLeft"))) return false;
|
|
89
|
-
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::canConvert(runtime, obj.getProperty(runtime, "farRight"))) return false;
|
|
90
|
-
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLngBounds>::canConvert(runtime, obj.getProperty(runtime, "latLngBounds"))) return false;
|
|
94
|
+
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "nearLeft")))) return false;
|
|
95
|
+
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "nearRight")))) return false;
|
|
96
|
+
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "farLeft")))) return false;
|
|
97
|
+
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLng>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "farRight")))) return false;
|
|
98
|
+
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNLatLngBounds>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "latLngBounds")))) return false;
|
|
91
99
|
return true;
|
|
92
100
|
}
|
|
93
101
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// RNSize.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 (RNSize).
|
|
34
39
|
*/
|
|
35
|
-
struct RNSize {
|
|
40
|
+
struct RNSize final {
|
|
36
41
|
public:
|
|
37
42
|
double width SWIFT_PRIVATE;
|
|
38
43
|
double height SWIFT_PRIVATE;
|
|
@@ -40,6 +45,9 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
40
45
|
public:
|
|
41
46
|
RNSize() = default;
|
|
42
47
|
explicit RNSize(double width, double height): width(width), height(height) {}
|
|
48
|
+
|
|
49
|
+
public:
|
|
50
|
+
friend bool operator==(const RNSize& lhs, const RNSize& 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::RNSize fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
53
61
|
jsi::Object obj = arg.asObject(runtime);
|
|
54
62
|
return margelo::nitro::rngooglemapsplus::RNSize(
|
|
55
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "width")),
|
|
56
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "height"))
|
|
63
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "width"))),
|
|
64
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "height")))
|
|
57
65
|
);
|
|
58
66
|
}
|
|
59
67
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::rngooglemapsplus::RNSize& arg) {
|
|
60
68
|
jsi::Object obj(runtime);
|
|
61
|
-
obj.setProperty(runtime, "width", JSIConverter<double>::toJSI(runtime, arg.width));
|
|
62
|
-
obj.setProperty(runtime, "height", JSIConverter<double>::toJSI(runtime, arg.height));
|
|
69
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "width"), JSIConverter<double>::toJSI(runtime, arg.width));
|
|
70
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "height"), JSIConverter<double>::toJSI(runtime, arg.height));
|
|
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, "width"))) return false;
|
|
74
|
-
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "height"))) return false;
|
|
81
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "width")))) return false;
|
|
82
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "height")))) return false;
|
|
75
83
|
return true;
|
|
76
84
|
}
|
|
77
85
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// RNSnapshotOptions.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 `RNSize` to properly resolve imports.
|
|
27
32
|
namespace margelo::nitro::rngooglemapsplus { struct RNSize; }
|
|
@@ -40,7 +45,7 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
40
45
|
/**
|
|
41
46
|
* A struct which can be represented as a JavaScript object (RNSnapshotOptions).
|
|
42
47
|
*/
|
|
43
|
-
struct RNSnapshotOptions {
|
|
48
|
+
struct RNSnapshotOptions final {
|
|
44
49
|
public:
|
|
45
50
|
std::optional<RNSize> size SWIFT_PRIVATE;
|
|
46
51
|
RNSnapshotFormat format SWIFT_PRIVATE;
|
|
@@ -50,6 +55,9 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
50
55
|
public:
|
|
51
56
|
RNSnapshotOptions() = default;
|
|
52
57
|
explicit RNSnapshotOptions(std::optional<RNSize> size, RNSnapshotFormat format, double quality, RNSnapshotResultType resultType): size(size), format(format), quality(quality), resultType(resultType) {}
|
|
58
|
+
|
|
59
|
+
public:
|
|
60
|
+
friend bool operator==(const RNSnapshotOptions& lhs, const RNSnapshotOptions& rhs) = default;
|
|
53
61
|
};
|
|
54
62
|
|
|
55
63
|
} // namespace margelo::nitro::rngooglemapsplus
|
|
@@ -62,18 +70,18 @@ namespace margelo::nitro {
|
|
|
62
70
|
static inline margelo::nitro::rngooglemapsplus::RNSnapshotOptions fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
63
71
|
jsi::Object obj = arg.asObject(runtime);
|
|
64
72
|
return margelo::nitro::rngooglemapsplus::RNSnapshotOptions(
|
|
65
|
-
JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNSize>>::fromJSI(runtime, obj.getProperty(runtime, "size")),
|
|
66
|
-
JSIConverter<margelo::nitro::rngooglemapsplus::RNSnapshotFormat>::fromJSI(runtime, obj.getProperty(runtime, "format")),
|
|
67
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "quality")),
|
|
68
|
-
JSIConverter<margelo::nitro::rngooglemapsplus::RNSnapshotResultType>::fromJSI(runtime, obj.getProperty(runtime, "resultType"))
|
|
73
|
+
JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNSize>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "size"))),
|
|
74
|
+
JSIConverter<margelo::nitro::rngooglemapsplus::RNSnapshotFormat>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "format"))),
|
|
75
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "quality"))),
|
|
76
|
+
JSIConverter<margelo::nitro::rngooglemapsplus::RNSnapshotResultType>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "resultType")))
|
|
69
77
|
);
|
|
70
78
|
}
|
|
71
79
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::rngooglemapsplus::RNSnapshotOptions& arg) {
|
|
72
80
|
jsi::Object obj(runtime);
|
|
73
|
-
obj.setProperty(runtime, "size", JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNSize>>::toJSI(runtime, arg.size));
|
|
74
|
-
obj.setProperty(runtime, "format", JSIConverter<margelo::nitro::rngooglemapsplus::RNSnapshotFormat>::toJSI(runtime, arg.format));
|
|
75
|
-
obj.setProperty(runtime, "quality", JSIConverter<double>::toJSI(runtime, arg.quality));
|
|
76
|
-
obj.setProperty(runtime, "resultType", JSIConverter<margelo::nitro::rngooglemapsplus::RNSnapshotResultType>::toJSI(runtime, arg.resultType));
|
|
81
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "size"), JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNSize>>::toJSI(runtime, arg.size));
|
|
82
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "format"), JSIConverter<margelo::nitro::rngooglemapsplus::RNSnapshotFormat>::toJSI(runtime, arg.format));
|
|
83
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "quality"), JSIConverter<double>::toJSI(runtime, arg.quality));
|
|
84
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "resultType"), JSIConverter<margelo::nitro::rngooglemapsplus::RNSnapshotResultType>::toJSI(runtime, arg.resultType));
|
|
77
85
|
return obj;
|
|
78
86
|
}
|
|
79
87
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -84,10 +92,10 @@ namespace margelo::nitro {
|
|
|
84
92
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
85
93
|
return false;
|
|
86
94
|
}
|
|
87
|
-
if (!JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNSize>>::canConvert(runtime, obj.getProperty(runtime, "size"))) return false;
|
|
88
|
-
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNSnapshotFormat>::canConvert(runtime, obj.getProperty(runtime, "format"))) return false;
|
|
89
|
-
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "quality"))) return false;
|
|
90
|
-
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNSnapshotResultType>::canConvert(runtime, obj.getProperty(runtime, "resultType"))) return false;
|
|
95
|
+
if (!JSIConverter<std::optional<margelo::nitro::rngooglemapsplus::RNSize>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "size")))) return false;
|
|
96
|
+
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNSnapshotFormat>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "format")))) return false;
|
|
97
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "quality")))) return false;
|
|
98
|
+
if (!JSIConverter<margelo::nitro::rngooglemapsplus::RNSnapshotResultType>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "resultType")))) return false;
|
|
91
99
|
return true;
|
|
92
100
|
}
|
|
93
101
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// RNUrlTileOverlay.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 (RNUrlTileOverlay).
|
|
35
40
|
*/
|
|
36
|
-
struct RNUrlTileOverlay {
|
|
41
|
+
struct RNUrlTileOverlay final {
|
|
37
42
|
public:
|
|
38
43
|
std::string id SWIFT_PRIVATE;
|
|
39
44
|
std::optional<double> zIndex SWIFT_PRIVATE;
|
|
@@ -45,6 +50,9 @@ namespace margelo::nitro::rngooglemapsplus {
|
|
|
45
50
|
public:
|
|
46
51
|
RNUrlTileOverlay() = default;
|
|
47
52
|
explicit RNUrlTileOverlay(std::string id, std::optional<double> zIndex, std::string url, double tileSize, std::optional<double> opacity, std::optional<bool> fadeIn): id(id), zIndex(zIndex), url(url), tileSize(tileSize), opacity(opacity), fadeIn(fadeIn) {}
|
|
53
|
+
|
|
54
|
+
public:
|
|
55
|
+
friend bool operator==(const RNUrlTileOverlay& lhs, const RNUrlTileOverlay& rhs) = default;
|
|
48
56
|
};
|
|
49
57
|
|
|
50
58
|
} // namespace margelo::nitro::rngooglemapsplus
|
|
@@ -57,22 +65,22 @@ namespace margelo::nitro {
|
|
|
57
65
|
static inline margelo::nitro::rngooglemapsplus::RNUrlTileOverlay fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
58
66
|
jsi::Object obj = arg.asObject(runtime);
|
|
59
67
|
return margelo::nitro::rngooglemapsplus::RNUrlTileOverlay(
|
|
60
|
-
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, "id")),
|
|
61
|
-
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, "zIndex")),
|
|
62
|
-
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, "url")),
|
|
63
|
-
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, "tileSize")),
|
|
64
|
-
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, "opacity")),
|
|
65
|
-
JSIConverter<std::optional<bool>>::fromJSI(runtime, obj.getProperty(runtime, "fadeIn"))
|
|
68
|
+
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "id"))),
|
|
69
|
+
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "zIndex"))),
|
|
70
|
+
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "url"))),
|
|
71
|
+
JSIConverter<double>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "tileSize"))),
|
|
72
|
+
JSIConverter<std::optional<double>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "opacity"))),
|
|
73
|
+
JSIConverter<std::optional<bool>>::fromJSI(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "fadeIn")))
|
|
66
74
|
);
|
|
67
75
|
}
|
|
68
76
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::rngooglemapsplus::RNUrlTileOverlay& arg) {
|
|
69
77
|
jsi::Object obj(runtime);
|
|
70
|
-
obj.setProperty(runtime, "id", JSIConverter<std::string>::toJSI(runtime, arg.id));
|
|
71
|
-
obj.setProperty(runtime, "zIndex", JSIConverter<std::optional<double>>::toJSI(runtime, arg.zIndex));
|
|
72
|
-
obj.setProperty(runtime, "url", JSIConverter<std::string>::toJSI(runtime, arg.url));
|
|
73
|
-
obj.setProperty(runtime, "tileSize", JSIConverter<double>::toJSI(runtime, arg.tileSize));
|
|
74
|
-
obj.setProperty(runtime, "opacity", JSIConverter<std::optional<double>>::toJSI(runtime, arg.opacity));
|
|
75
|
-
obj.setProperty(runtime, "fadeIn", JSIConverter<std::optional<bool>>::toJSI(runtime, arg.fadeIn));
|
|
78
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "id"), JSIConverter<std::string>::toJSI(runtime, arg.id));
|
|
79
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "zIndex"), JSIConverter<std::optional<double>>::toJSI(runtime, arg.zIndex));
|
|
80
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "url"), JSIConverter<std::string>::toJSI(runtime, arg.url));
|
|
81
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "tileSize"), JSIConverter<double>::toJSI(runtime, arg.tileSize));
|
|
82
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "opacity"), JSIConverter<std::optional<double>>::toJSI(runtime, arg.opacity));
|
|
83
|
+
obj.setProperty(runtime, PropNameIDCache::get(runtime, "fadeIn"), JSIConverter<std::optional<bool>>::toJSI(runtime, arg.fadeIn));
|
|
76
84
|
return obj;
|
|
77
85
|
}
|
|
78
86
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -83,12 +91,12 @@ namespace margelo::nitro {
|
|
|
83
91
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
84
92
|
return false;
|
|
85
93
|
}
|
|
86
|
-
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, "id"))) return false;
|
|
87
|
-
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, "zIndex"))) return false;
|
|
88
|
-
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, "url"))) return false;
|
|
89
|
-
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, "tileSize"))) return false;
|
|
90
|
-
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, "opacity"))) return false;
|
|
91
|
-
if (!JSIConverter<std::optional<bool>>::canConvert(runtime, obj.getProperty(runtime, "fadeIn"))) return false;
|
|
94
|
+
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "id")))) return false;
|
|
95
|
+
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "zIndex")))) return false;
|
|
96
|
+
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "url")))) return false;
|
|
97
|
+
if (!JSIConverter<double>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "tileSize")))) return false;
|
|
98
|
+
if (!JSIConverter<std::optional<double>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "opacity")))) return false;
|
|
99
|
+
if (!JSIConverter<std::optional<bool>>::canConvert(runtime, obj.getProperty(runtime, PropNameIDCache::get(runtime, "fadeIn")))) return false;
|
|
92
100
|
return true;
|
|
93
101
|
}
|
|
94
102
|
};
|