making all makers to show in react native map code example
Example: making all makers to show in react native map
render() {
return (
<MapView>
{this.state.pois && this.state.pois.map(marker => (
<CustomMarker
key={marker.id}
isZoomed={this.isMapZoomed(this.state.displayedRegion)}
/>
))}
</MapView>
);}