Skip to content

Commit

Permalink
fixed region/initialRegion null overrides of this.props
Browse files Browse the repository at this point in the history
  • Loading branch information
atkit committed Dec 12, 2017
1 parent becf7ba commit 2b8b243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/MapView.js
Original file line number Diff line number Diff line change
Expand Up @@ -656,10 +656,10 @@ class MapView extends React.Component {

if (this.state.isReady) {
props = {
...this.props,
region: null,
initialRegion: null,
onMarkerPress: this._onMarkerPress,
...this.props,
onChange: this._onChange,
onMapReady: this._onMapReady,
onLayout: this._onLayout,
Expand Down

0 comments on commit 2b8b243

Please sign in to comment.