()
| 1148 | }; |
| 1149 | |
| 1150 | render() { |
| 1151 | // Define props specifically for MapFabricNativeProps |
| 1152 | /* eslint-disable @typescript-eslint/no-unused-vars */ |
| 1153 | const { |
| 1154 | onCalloutPress, |
| 1155 | onIndoorBuildingFocused, |
| 1156 | onKmlReady, |
| 1157 | onLongPress, |
| 1158 | onMarkerDeselect, |
| 1159 | onMarkerPress, |
| 1160 | onMarkerSelect, |
| 1161 | onRegionChangeStart, |
| 1162 | onRegionChange, |
| 1163 | onRegionChangeComplete, |
| 1164 | onPress, |
| 1165 | onMapReady, |
| 1166 | minZoomLevel, |
| 1167 | maxZoomLevel, |
| 1168 | region, |
| 1169 | provider, |
| 1170 | children, |
| 1171 | customMapStyle, |
| 1172 | ...restProps |
| 1173 | } = this.props; |
| 1174 | |
| 1175 | /* eslint-enable @typescript-eslint/no-unused-vars */ |
| 1176 | const userInterfaceStyle = this.props.userInterfaceStyle || 'system'; |
| 1177 | const customMapStyleString = customMapStyle |
| 1178 | ? JSON.stringify(this.props.customMapStyle) |
| 1179 | : undefined; |
| 1180 | |
| 1181 | const props: MapFabricNativeProps = { |
| 1182 | onMapReady: this._onMapReady, |
| 1183 | liteMode: this.props.liteMode, |
| 1184 | googleMapId: this.props.googleMapId, |
| 1185 | googleRenderer: this.props.googleRenderer, |
| 1186 | onPress: this.handleMapPress, |
| 1187 | onMarkerPress: this.handleMarkerPress, |
| 1188 | onMarkerSelect: this.handleMarkerSelect, |
| 1189 | onMarkerDeselect: this.handleMarkerDeselect, |
| 1190 | onKmlReady: this.handleKmlReady, |
| 1191 | userInterfaceStyle: userInterfaceStyle, |
| 1192 | customMapStyleString, |
| 1193 | minZoom: minZoomLevel, |
| 1194 | maxZoom: maxZoomLevel, |
| 1195 | onRegionChange: this.handleRegionChange, |
| 1196 | onRegionChangeStart: this.handleRegionChangeStarted, |
| 1197 | onRegionChangeComplete: this.handleRegionChangeComplete, |
| 1198 | onIndoorBuildingFocused: this.handleIndoorBuildingFocused, |
| 1199 | // @ts-ignore |
| 1200 | onIndoorLevelActivated: this.handleIndoorLevelActivated, |
| 1201 | onLongPress: this.handleLongPress, |
| 1202 | showsPointsOfInterests: this.props.showsPointsOfInterests, |
| 1203 | pointsOfInterestFilter: this.props.pointsOfInterestFilter, |
| 1204 | ...restProps, |
| 1205 | }; |
| 1206 | if (this.props.region) { |
| 1207 | props.region = { |
nothing calls this directly
no outgoing calls
no test coverage detected