react-native-maps 1.21.0-alpha.49 → 1.21.0-alpha.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/generated/java/com/facebook/fbreact/specs/NativeAirMapsModuleSpec.java +63 -0
- package/android/generated/jni/CMakeLists.txt +36 -0
- package/android/generated/jni/RNMapsSpecs-generated.cpp +68 -0
- package/android/generated/jni/RNMapsSpecs.h +31 -0
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/ComponentDescriptors.cpp +25 -0
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/ComponentDescriptors.h +27 -0
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/EventEmitters.cpp +896 -0
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/EventEmitters.h +765 -0
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/Props.cpp +146 -0
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/Props.h +1047 -0
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/RNMapsSpecsJSI-generated.cpp +74 -0
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/RNMapsSpecsJSI.h +264 -0
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/ShadowNodes.cpp +20 -0
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/ShadowNodes.h +65 -0
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/States.cpp +16 -0
- package/android/generated/jni/react/renderer/components/RNMapsSpecs/States.h +65 -0
- package/ios/generated/RNMapsSpecs/ComponentDescriptors.cpp +25 -0
- package/ios/generated/RNMapsSpecs/ComponentDescriptors.h +27 -0
- package/ios/generated/RNMapsSpecs/EventEmitters.cpp +896 -0
- package/ios/generated/RNMapsSpecs/EventEmitters.h +765 -0
- package/ios/generated/RNMapsSpecs/Props.cpp +146 -0
- package/ios/generated/RNMapsSpecs/Props.h +1047 -0
- package/ios/generated/RNMapsSpecs/RCTComponentViewHelpers.h +549 -0
- package/ios/generated/RNMapsSpecs/RNMapsSpecs-generated.mm +92 -0
- package/ios/generated/RNMapsSpecs/RNMapsSpecs.h +134 -0
- package/ios/generated/RNMapsSpecs/ShadowNodes.cpp +20 -0
- package/ios/generated/RNMapsSpecs/ShadowNodes.h +65 -0
- package/ios/generated/RNMapsSpecs/States.cpp +16 -0
- package/ios/generated/RNMapsSpecs/States.h +65 -0
- package/ios/generated/RNMapsSpecsJSI-generated.cpp +74 -0
- package/ios/generated/RNMapsSpecsJSI.h +264 -0
- package/package.json +1 -1
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
4
|
+
*
|
|
5
|
+
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
6
|
+
* once the code is regenerated.
|
|
7
|
+
*
|
|
8
|
+
* @generated by codegen project: GeneratePropsCpp.js
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
#include "Props.h"
|
|
12
|
+
#include <react/renderer/components/image/conversions.h>
|
|
13
|
+
#include <react/renderer/core/PropsParserContext.h>
|
|
14
|
+
#include <react/renderer/core/propsConversions.h>
|
|
15
|
+
|
|
16
|
+
namespace facebook::react {
|
|
17
|
+
|
|
18
|
+
RNMapsGoogleMapViewProps::RNMapsGoogleMapViewProps(
|
|
19
|
+
const PropsParserContext &context,
|
|
20
|
+
const RNMapsGoogleMapViewProps &sourceProps,
|
|
21
|
+
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
22
|
+
|
|
23
|
+
camera(convertRawProp(context, rawProps, "camera", sourceProps.camera, {})),
|
|
24
|
+
initialCamera(convertRawProp(context, rawProps, "initialCamera", sourceProps.initialCamera, {})),
|
|
25
|
+
initialRegion(convertRawProp(context, rawProps, "initialRegion", sourceProps.initialRegion, {})),
|
|
26
|
+
kmlSrc(convertRawProp(context, rawProps, "kmlSrc", sourceProps.kmlSrc, {})),
|
|
27
|
+
googleMapId(convertRawProp(context, rawProps, "googleMapId", sourceProps.googleMapId, {})),
|
|
28
|
+
loadingBackgroundColor(convertRawProp(context, rawProps, "loadingBackgroundColor", sourceProps.loadingBackgroundColor, {})),
|
|
29
|
+
mapPadding(convertRawProp(context, rawProps, "mapPadding", sourceProps.mapPadding, {})),
|
|
30
|
+
mapType(convertRawProp(context, rawProps, "mapType", sourceProps.mapType, {RNMapsGoogleMapViewMapType::Standard})),
|
|
31
|
+
maxZoom(convertRawProp(context, rawProps, "maxZoom", sourceProps.maxZoom, {0.0})),
|
|
32
|
+
minZoom(convertRawProp(context, rawProps, "minZoom", sourceProps.minZoom, {0.0})),
|
|
33
|
+
paddingAdjustmentBehavior(convertRawProp(context, rawProps, "paddingAdjustmentBehavior", sourceProps.paddingAdjustmentBehavior, {RNMapsGoogleMapViewPaddingAdjustmentBehavior::Never})),
|
|
34
|
+
pitchEnabled(convertRawProp(context, rawProps, "pitchEnabled", sourceProps.pitchEnabled, {true})),
|
|
35
|
+
region(convertRawProp(context, rawProps, "region", sourceProps.region, {})),
|
|
36
|
+
rotateEnabled(convertRawProp(context, rawProps, "rotateEnabled", sourceProps.rotateEnabled, {true})),
|
|
37
|
+
scrollDuringRotateOrZoomEnabled(convertRawProp(context, rawProps, "scrollDuringRotateOrZoomEnabled", sourceProps.scrollDuringRotateOrZoomEnabled, {true})),
|
|
38
|
+
scrollEnabled(convertRawProp(context, rawProps, "scrollEnabled", sourceProps.scrollEnabled, {true})),
|
|
39
|
+
showsBuildings(convertRawProp(context, rawProps, "showsBuildings", sourceProps.showsBuildings, {true})),
|
|
40
|
+
showsCompass(convertRawProp(context, rawProps, "showsCompass", sourceProps.showsCompass, {true})),
|
|
41
|
+
showsIndoorLevelPicker(convertRawProp(context, rawProps, "showsIndoorLevelPicker", sourceProps.showsIndoorLevelPicker, {false})),
|
|
42
|
+
showsIndoors(convertRawProp(context, rawProps, "showsIndoors", sourceProps.showsIndoors, {true})),
|
|
43
|
+
showsMyLocationButton(convertRawProp(context, rawProps, "showsMyLocationButton", sourceProps.showsMyLocationButton, {true})),
|
|
44
|
+
showsPointsOfInterest(convertRawProp(context, rawProps, "showsPointsOfInterest", sourceProps.showsPointsOfInterest, {false})),
|
|
45
|
+
showsScale(convertRawProp(context, rawProps, "showsScale", sourceProps.showsScale, {false})),
|
|
46
|
+
showsTraffic(convertRawProp(context, rawProps, "showsTraffic", sourceProps.showsTraffic, {false})),
|
|
47
|
+
showsUserLocation(convertRawProp(context, rawProps, "showsUserLocation", sourceProps.showsUserLocation, {false})),
|
|
48
|
+
userInterfaceStyle(convertRawProp(context, rawProps, "userInterfaceStyle", sourceProps.userInterfaceStyle, {RNMapsGoogleMapViewUserInterfaceStyle::System})),
|
|
49
|
+
userLocationCalloutEnabled(convertRawProp(context, rawProps, "userLocationCalloutEnabled", sourceProps.userLocationCalloutEnabled, {false})),
|
|
50
|
+
userLocationFastestInterval(convertRawProp(context, rawProps, "userLocationFastestInterval", sourceProps.userLocationFastestInterval, {0})),
|
|
51
|
+
userLocationPriority(convertRawProp(context, rawProps, "userLocationPriority", sourceProps.userLocationPriority, {RNMapsGoogleMapViewUserLocationPriority::High})),
|
|
52
|
+
userLocationUpdateInterval(convertRawProp(context, rawProps, "userLocationUpdateInterval", sourceProps.userLocationUpdateInterval, {0})),
|
|
53
|
+
zoomControlEnabled(convertRawProp(context, rawProps, "zoomControlEnabled", sourceProps.zoomControlEnabled, {false})),
|
|
54
|
+
zoomEnabled(convertRawProp(context, rawProps, "zoomEnabled", sourceProps.zoomEnabled, {true})),
|
|
55
|
+
zoomTapEnabled(convertRawProp(context, rawProps, "zoomTapEnabled", sourceProps.zoomTapEnabled, {true}))
|
|
56
|
+
{}
|
|
57
|
+
RNMapsGooglePolygonProps::RNMapsGooglePolygonProps(
|
|
58
|
+
const PropsParserContext &context,
|
|
59
|
+
const RNMapsGooglePolygonProps &sourceProps,
|
|
60
|
+
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
61
|
+
|
|
62
|
+
coordinates(convertRawProp(context, rawProps, "coordinates", sourceProps.coordinates, {})),
|
|
63
|
+
fillColor(convertRawProp(context, rawProps, "fillColor", sourceProps.fillColor, {})),
|
|
64
|
+
strokeColor(convertRawProp(context, rawProps, "strokeColor", sourceProps.strokeColor, {})),
|
|
65
|
+
geodesic(convertRawProp(context, rawProps, "geodesic", sourceProps.geodesic, {false})),
|
|
66
|
+
holes(convertRawProp(context, rawProps, "holes", sourceProps.holes, {})),
|
|
67
|
+
tappable(convertRawProp(context, rawProps, "tappable", sourceProps.tappable, {false}))
|
|
68
|
+
{}
|
|
69
|
+
RNMapsMapViewProps::RNMapsMapViewProps(
|
|
70
|
+
const PropsParserContext &context,
|
|
71
|
+
const RNMapsMapViewProps &sourceProps,
|
|
72
|
+
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
73
|
+
|
|
74
|
+
cacheEnabled(convertRawProp(context, rawProps, "cacheEnabled", sourceProps.cacheEnabled, {false})),
|
|
75
|
+
camera(convertRawProp(context, rawProps, "camera", sourceProps.camera, {})),
|
|
76
|
+
compassOffset(convertRawProp(context, rawProps, "compassOffset", sourceProps.compassOffset, {})),
|
|
77
|
+
followsUserLocation(convertRawProp(context, rawProps, "followsUserLocation", sourceProps.followsUserLocation, {false})),
|
|
78
|
+
poiClickEnabled(convertRawProp(context, rawProps, "poiClickEnabled", sourceProps.poiClickEnabled, {false})),
|
|
79
|
+
initialCamera(convertRawProp(context, rawProps, "initialCamera", sourceProps.initialCamera, {})),
|
|
80
|
+
initialRegion(convertRawProp(context, rawProps, "initialRegion", sourceProps.initialRegion, {})),
|
|
81
|
+
kmlSrc(convertRawProp(context, rawProps, "kmlSrc", sourceProps.kmlSrc, {})),
|
|
82
|
+
legalLabelInsets(convertRawProp(context, rawProps, "legalLabelInsets", sourceProps.legalLabelInsets, {})),
|
|
83
|
+
liteMode(convertRawProp(context, rawProps, "liteMode", sourceProps.liteMode, {false})),
|
|
84
|
+
googleMapId(convertRawProp(context, rawProps, "googleMapId", sourceProps.googleMapId, {})),
|
|
85
|
+
googleRenderer(convertRawProp(context, rawProps, "googleRenderer", sourceProps.googleRenderer, {RNMapsMapViewGoogleRenderer::LATEST})),
|
|
86
|
+
loadingBackgroundColor(convertRawProp(context, rawProps, "loadingBackgroundColor", sourceProps.loadingBackgroundColor, {})),
|
|
87
|
+
loadingEnabled(convertRawProp(context, rawProps, "loadingEnabled", sourceProps.loadingEnabled, {false})),
|
|
88
|
+
loadingIndicatorColor(convertRawProp(context, rawProps, "loadingIndicatorColor", sourceProps.loadingIndicatorColor, {})),
|
|
89
|
+
mapPadding(convertRawProp(context, rawProps, "mapPadding", sourceProps.mapPadding, {})),
|
|
90
|
+
mapType(convertRawProp(context, rawProps, "mapType", sourceProps.mapType, {RNMapsMapViewMapType::Standard})),
|
|
91
|
+
maxDelta(convertRawProp(context, rawProps, "maxDelta", sourceProps.maxDelta, {0.0})),
|
|
92
|
+
maxZoom(convertRawProp(context, rawProps, "maxZoom", sourceProps.maxZoom, {0.0})),
|
|
93
|
+
minDelta(convertRawProp(context, rawProps, "minDelta", sourceProps.minDelta, {0.0})),
|
|
94
|
+
minZoom(convertRawProp(context, rawProps, "minZoom", sourceProps.minZoom, {0.0})),
|
|
95
|
+
moveOnMarkerPress(convertRawProp(context, rawProps, "moveOnMarkerPress", sourceProps.moveOnMarkerPress, {true})),
|
|
96
|
+
handlePanDrag(convertRawProp(context, rawProps, "handlePanDrag", sourceProps.handlePanDrag, {false})),
|
|
97
|
+
paddingAdjustmentBehavior(convertRawProp(context, rawProps, "paddingAdjustmentBehavior", sourceProps.paddingAdjustmentBehavior, {RNMapsMapViewPaddingAdjustmentBehavior::Never})),
|
|
98
|
+
pitchEnabled(convertRawProp(context, rawProps, "pitchEnabled", sourceProps.pitchEnabled, {true})),
|
|
99
|
+
region(convertRawProp(context, rawProps, "region", sourceProps.region, {})),
|
|
100
|
+
rotateEnabled(convertRawProp(context, rawProps, "rotateEnabled", sourceProps.rotateEnabled, {true})),
|
|
101
|
+
scrollDuringRotateOrZoomEnabled(convertRawProp(context, rawProps, "scrollDuringRotateOrZoomEnabled", sourceProps.scrollDuringRotateOrZoomEnabled, {true})),
|
|
102
|
+
scrollEnabled(convertRawProp(context, rawProps, "scrollEnabled", sourceProps.scrollEnabled, {true})),
|
|
103
|
+
showsBuildings(convertRawProp(context, rawProps, "showsBuildings", sourceProps.showsBuildings, {true})),
|
|
104
|
+
showsCompass(convertRawProp(context, rawProps, "showsCompass", sourceProps.showsCompass, {true})),
|
|
105
|
+
showsIndoorLevelPicker(convertRawProp(context, rawProps, "showsIndoorLevelPicker", sourceProps.showsIndoorLevelPicker, {false})),
|
|
106
|
+
showsIndoors(convertRawProp(context, rawProps, "showsIndoors", sourceProps.showsIndoors, {true})),
|
|
107
|
+
showsMyLocationButton(convertRawProp(context, rawProps, "showsMyLocationButton", sourceProps.showsMyLocationButton, {true})),
|
|
108
|
+
showsScale(convertRawProp(context, rawProps, "showsScale", sourceProps.showsScale, {false})),
|
|
109
|
+
showsUserLocation(convertRawProp(context, rawProps, "showsUserLocation", sourceProps.showsUserLocation, {false})),
|
|
110
|
+
tintColor(convertRawProp(context, rawProps, "tintColor", sourceProps.tintColor, {})),
|
|
111
|
+
toolbarEnabled(convertRawProp(context, rawProps, "toolbarEnabled", sourceProps.toolbarEnabled, {true})),
|
|
112
|
+
userInterfaceStyle(convertRawProp(context, rawProps, "userInterfaceStyle", sourceProps.userInterfaceStyle, {RNMapsMapViewUserInterfaceStyle::System})),
|
|
113
|
+
userLocationAnnotationTitle(convertRawProp(context, rawProps, "userLocationAnnotationTitle", sourceProps.userLocationAnnotationTitle, {})),
|
|
114
|
+
userLocationCalloutEnabled(convertRawProp(context, rawProps, "userLocationCalloutEnabled", sourceProps.userLocationCalloutEnabled, {false})),
|
|
115
|
+
userLocationFastestInterval(convertRawProp(context, rawProps, "userLocationFastestInterval", sourceProps.userLocationFastestInterval, {5000})),
|
|
116
|
+
userLocationPriority(convertRawProp(context, rawProps, "userLocationPriority", sourceProps.userLocationPriority, {RNMapsMapViewUserLocationPriority::High})),
|
|
117
|
+
userLocationUpdateInterval(convertRawProp(context, rawProps, "userLocationUpdateInterval", sourceProps.userLocationUpdateInterval, {5000})),
|
|
118
|
+
zoomControlEnabled(convertRawProp(context, rawProps, "zoomControlEnabled", sourceProps.zoomControlEnabled, {true})),
|
|
119
|
+
zoomEnabled(convertRawProp(context, rawProps, "zoomEnabled", sourceProps.zoomEnabled, {true})),
|
|
120
|
+
zoomTapEnabled(convertRawProp(context, rawProps, "zoomTapEnabled", sourceProps.zoomTapEnabled, {true})),
|
|
121
|
+
cameraZoomRange(convertRawProp(context, rawProps, "cameraZoomRange", sourceProps.cameraZoomRange, {}))
|
|
122
|
+
{}
|
|
123
|
+
RNMapsMarkerProps::RNMapsMarkerProps(
|
|
124
|
+
const PropsParserContext &context,
|
|
125
|
+
const RNMapsMarkerProps &sourceProps,
|
|
126
|
+
const RawProps &rawProps): ViewProps(context, sourceProps, rawProps),
|
|
127
|
+
|
|
128
|
+
anchor(convertRawProp(context, rawProps, "anchor", sourceProps.anchor, {})),
|
|
129
|
+
calloutAnchor(convertRawProp(context, rawProps, "calloutAnchor", sourceProps.calloutAnchor, {})),
|
|
130
|
+
image(convertRawProp(context, rawProps, "image", sourceProps.image, {})),
|
|
131
|
+
calloutOffset(convertRawProp(context, rawProps, "calloutOffset", sourceProps.calloutOffset, {})),
|
|
132
|
+
displayPriority(convertRawProp(context, rawProps, "displayPriority", sourceProps.displayPriority, {RNMapsMarkerDisplayPriority::Required})),
|
|
133
|
+
coordinate(convertRawProp(context, rawProps, "coordinate", sourceProps.coordinate, {})),
|
|
134
|
+
description(convertRawProp(context, rawProps, "description", sourceProps.description, {})),
|
|
135
|
+
draggable(convertRawProp(context, rawProps, "draggable", sourceProps.draggable, {false})),
|
|
136
|
+
title(convertRawProp(context, rawProps, "title", sourceProps.title, {})),
|
|
137
|
+
identifier(convertRawProp(context, rawProps, "identifier", sourceProps.identifier, {})),
|
|
138
|
+
isPreselected(convertRawProp(context, rawProps, "isPreselected", sourceProps.isPreselected, {false})),
|
|
139
|
+
opacity(convertRawProp(context, rawProps, "opacity", sourceProps.opacity, {1.0})),
|
|
140
|
+
pinColor(convertRawProp(context, rawProps, "pinColor", sourceProps.pinColor, {})),
|
|
141
|
+
titleVisibility(convertRawProp(context, rawProps, "titleVisibility", sourceProps.titleVisibility, {RNMapsMarkerTitleVisibility::Visible})),
|
|
142
|
+
subtitleVisibility(convertRawProp(context, rawProps, "subtitleVisibility", sourceProps.subtitleVisibility, {RNMapsMarkerSubtitleVisibility::Adaptive})),
|
|
143
|
+
useLegacyPinView(convertRawProp(context, rawProps, "useLegacyPinView", sourceProps.useLegacyPinView, {false}))
|
|
144
|
+
{}
|
|
145
|
+
|
|
146
|
+
} // namespace facebook::react
|