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 e717f31 + 69b4b91 commit fcd880cCopy full SHA for fcd880c
README.md
@@ -90,7 +90,21 @@ initalCenter: Takes an object containing latitude and longitude coordinates. Set
90
onClick={this.onMapClicked}
91
>
92
```
93
-It also takes event handlers described below:
+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
110
0 commit comments