title: How to reload react native maps on click
body: <p>I have developed one react native project where i have one functionality,In my map screen i have one button to show and hide user current location , for first time when i clicked on button it's showing userlocation and second time i clicked on that button it's  hide the user location , but after third time  it's not showing userlocation ,so can any one help me to here how to reload map so i will so again user location.</p>
  
  <p>Library using : <a href="https://github.com/react-community/react-native-maps" rel="nofollow noreferrer">https://github.com/react-community/react-native-maps</a></p>
  
  <pre><code> constructor(props) {
                    super(props);
                    this.state = {
                        region: {
                            latitude: LATITUDE,
                            longitude: LONGITUDE,
                            latitudeDelta: LATITUDE_DELTA,
                            longitudeDelta: LONGITUDE_DELTA,
                          },
                          isShowLocation:false
                    };
              }
  </code></pre>
  
  <p>// Below method for show hide userlocation and set isShowLocation value to map "showsUserLocation={this.state.isShowLocation}" 
  //  value is set properly but not able to reload the map</p>
  
  <pre><code>onbntshowUserLocationTapped(){
  
          if (this.state.isShowLocation == true)
          {
              this.setState({
                  isShowLocation:false
              })
          }
          else{
              this.setState({
                  isShowLocation:true
              })
          }
      }
  
  
     &lt;MapView
      provider={ PROVIDER_GOOGLE }
      style={ styles.map }
      initialRegion={this.state.region}
      showsUserLocation={this.state.isShowLocation}
      followsUserLocation={true}
      &gt;
      {this.state.markers.map(marker =&gt; (
          &lt;Marker
            image={marker.pin}
            key={marker.key}
            coordinate={marker.coordinate}
            /&gt;
       ))}
  </code></pre>