From 8bfe7b52f2ae0b15c56b8dbaef61e36ba546b652 Mon Sep 17 00:00:00 2001 From: Max Vasin Date: Tue, 31 Oct 2017 12:54:42 +0300 Subject: [PATCH] Revert "fixed region/initialRegion null overrides of this.props - PR - #1715" This reverts commit 8dc13f230fb0c23e6a9b259dd24abc8a132c88a5. --- lib/components/MapView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/MapView.js b/lib/components/MapView.js index ed48a045b..10e52986f 100644 --- a/lib/components/MapView.js +++ b/lib/components/MapView.js @@ -636,9 +636,9 @@ class MapView extends React.Component { if (this.state.isReady) { props = { + ...this.props, region: null, initialRegion: null, - ...this.props, onChange: this._onChange, onMapReady: this._onMapReady, onLayout: this._onLayout,