render() { return ( <View style={styles.container}> {this.state.region.latitude ? <MapView provider={this.props.provider} style={styles.map} initialRegion={this.state.region}> {this.getMarkers()} </MapView> : null} </View> ); }
render() { return ( <View style={styles.container}> {this.state.region.latitude ? <MapView provider={this.props.provider} style={styles.map} initialRegion={this.state.region}> {this.getMarkers()} </MapView> : null} </View> ); }