From bdf112a587000e2765690828d27e5abda25a143a Mon Sep 17 00:00:00 2001 From: Matt Brookes Date: Fri, 9 Oct 2015 20:24:23 +0100 Subject: [PATCH] onBoundsChange parameters --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fcb3f45..02bec95 100644 --- a/README.md +++ b/README.md @@ -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)