Skip to content

Commit b81a93b

Browse files
committed
Additions
1 parent 6303c17 commit b81a93b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

DOC.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ And a `MyMarker.js` is a simple React component.
1616
Open `Log` tab at the top of `webpackbin` and see the `mapProps` log.
1717
(_see the `withProps` at `Map.js`_)
1818

19-
First value is the { `center` and `zoom` } which is set by you,
20-
and second value is the value provided by `GoogleMapReact` component at initialization,
19+
First value is the { `center` and `zoom` } which is set by you (_see withState at Map.js_),
20+
and second value is the value provided by `GoogleMapReact` component at initialization in `onChange` callback.
2121

2222
```javascript
2323
{
@@ -28,8 +28,8 @@ and second value is the value provided by `GoogleMapReact` component at initiali
2828
}
2929
```
3030

31-
Component calls the `onChange` callback on initialization,
32-
it's because `map bounds` can't be calculated without knowledge of map size.
31+
It's needed because `map bounds` can't be calculated without knowledge of map size,
32+
and bounds are really usefull in a lot of situations. (_see Note below_)
3333

3434
Please move and zoom the map to see log changes.
3535

0 commit comments

Comments
 (0)