Merge pull request #1835 from davidjb/gh-pages
Document changes to setMaxBounds method as per #1834
This commit is contained in:
commit
d3c34851fd
@ -694,10 +694,11 @@ var map = L.map('map', {
|
||||
</tr>
|
||||
<tr id="map-setmaxbounds">
|
||||
<td><code><b>setMaxBounds</b>(
|
||||
<nobr><<a href="#latlngbounds">LatLngBounds</a>> <i>bounds</i> )</nobr>
|
||||
<nobr><<a href="#latlngbounds">LatLngBounds</a>> <i>bounds</i></nobr>,
|
||||
<nobr><<a href="#map-zoompanoptions">zoom/pan options</a>> <i>options?</i> )</nobr>
|
||||
</code></td>
|
||||
<td><code><span class="keyword">this</span></code></td>
|
||||
<td>Restricts the map view to the given bounds (see <a href="#map-maxbounds">map maxBounds</a> option).</td>
|
||||
<td>Restricts the map view to the given bounds (see <a href="#map-maxbounds">map maxBounds</a> option), passing the given animation options through to `setView`, if required.</td>
|
||||
</tr>
|
||||
<tr id="map-locate">
|
||||
<td><code><b>locate</b>(
|
||||
|
Loading…
Reference in New Issue
Block a user