We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b849b77 + e0ccc48 commit bff4fd3Copy full SHA for bff4fd3
README.md
@@ -90,6 +90,20 @@ initalCenter: Takes an object containing latitude and longitude coordinates. Set
90
onClick={this.onMapClicked}
91
>
92
```
93
+center: Takes an object containing latitude and longitude coordinates. Use this if you want to re-render the map after the initial render.
94
+
95
+```javascript
96
+ <Map
97
+ google={this.props.google}
98
+ style={style}
99
+ center={{
100
+ lat: 40.854885,
101
+ lng: -88.081807
102
+ }}
103
+ zoom={15}
104
+ onClick={this.onMapClicked}
105
+ >
106
+```
107
It also takes event handlers described below:
108
109
### Events
0 commit comments