mirror of
https://github.com/google-map-react/google-map-react.git
synced 2025-12-08 18:26:32 +00:00
onBoundsChange parameters
This commit is contained in:
parent
7c489bd9df
commit
bdf112a587
@ -130,7 +130,7 @@ createMapOptions: function (maps) {
|
||||
See "Custom map options example" in Examples below for a further example.
|
||||
|
||||
####onClick (func)
|
||||
`{x, y, lat, lng, event}`
|
||||
`(x, y, lat, lng, event)`
|
||||
|
||||
The `event` prop in args is the outer div onClick event, not the gmap-api 'click' event.
|
||||
|
||||
@ -146,7 +146,11 @@ Example:
|
||||
|
||||
####onBoundsChange (func)
|
||||
```
|
||||
[centerLatLng.lat, centerLatLng.lng], zoom, bounds, marginBounds
|
||||
(center, zoom, bounds, marginBounds)
|
||||
```
|
||||
```
|
||||
[lat, lng] = center;
|
||||
[topLat, leftLng, bottomLat, rightLng] = bounds;
|
||||
```
|
||||
####onChildClick (func)
|
||||
####onChildMouseEnter (func)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user