Skip to content

Commit 69b4b91

Browse files
authored
Merge branch 'master' into master
2 parents 1421f40 + bff4fd3 commit 69b4b91

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,21 @@ initalCenter: Takes an object containing latitude and longitude coordinates. Set
9090
onClick={this.onMapClicked}
9191
>
9292
```
93-
It also takes event handlers described below:
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:
94108

95109
### Events
96110

0 commit comments

Comments
 (0)