1render() {
2 return (
3 <MapView>
4 {this.state.pois && this.state.pois.map(marker => (
5 <CustomMarker
6 key={marker.id}
7 isZoomed={this.isMapZoomed(this.state.displayedRegion)}
8 />
9 ))}
10 </MapView>
11 );}