From ae7dd990a7112c8c7224124d0cb1b786c3f40da0 Mon Sep 17 00:00:00 2001 From: David Beitey Date: Fri, 5 Jul 2013 14:13:49 +1000 Subject: [PATCH] Document changes to setMaxBounds method as per #1834 --- reference.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reference.html b/reference.html index f871b252..6753d8c5 100644 --- a/reference.html +++ b/reference.html @@ -694,10 +694,11 @@ var map = L.map('map', { setMaxBounds( - <LatLngBounds> bounds ) + <LatLngBounds> bounds, + <zoom/pan options> options? ) this - Restricts the map view to the given bounds (see map maxBounds option). + Restricts the map view to the given bounds (see map maxBounds option), passing the given animation options through to `setView`, if required. locate(