How to Set Min & Max Zoom level in React Native Maps
<MapView
ref={(ref) => this.mapView = ref}
clustering={true}
clusterTextColor='#fff'
style={styles.map}
region={this.props.coordinate}
>
//My map markers
</MapView>
<MapView
minZoomLevel={2} // default => 0
maxZoomLevel={15} // default => 20
>
//My map markers
</MapView>
All Component API in This Link.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With