title: How to give border radius to map in react native?
body: <blockquote>
    <p>MapView inside a container view</p>
  </blockquote>
  
  <pre><code>&lt;View style={styles.container}&gt;
    &lt;MapView style={[styles.map]}
      initialRegion={{
        latitude: 18.978189,
        longitude: 73.024911,
        latitudeDelta: 0.0922,
        longitudeDelta: 0.0421,
      }}
    /&gt;
  &lt;/View&gt;
  </code></pre>
  
  <blockquote>
    <p>To give curved border to my map i gave borderRadius to the container view </p>
  </blockquote>
  
  <pre><code>const styles = {
   container:{
     marginTop:20,
     borderWidth:1,
     borderRadius:20
   },
   map:{
     height:200,
   },
  }
  </code></pre>
  
  <blockquote>
    <p>This gave border to my view and my view is actually getting the borderRadius, i cross checked it by giving borderWidth:1. But my map is not getting this border of container. Maps corner get out of the container views border. What should i do to give borderRadius to my map. </p>
  </blockquote>