text: import React, { Component } from "react";
  import { View, StyleSheet } from "react-native";
  import MapView from "react-native-maps";
  
  class MapScreen extends Component {
    render() {
      return (
        <MapView
          showsUserLocation
          followsUserLocation
          style={styles.map}
          region={{
            latitude: this.props.userLatitude,
            longitude: this.props.userLongitude,
            latitudeDelta: 0.015,
            longitudeDelta: 0.0121
          }}
        >
          {this.props.children}
        </MapView>
      );
    }
  }
  
  export default React.forwardRef((props, ref) => (
    <MapScreen innerRef={ref} {...props} />
  ));
  
  const styles = StyleSheet.create({
    map: {
      ...StyleSheet.absoluteFillObject
    }
  });