Document changes to setMaxBounds method as per #1834
This commit is contained in:
parent
e372aefbec
commit
ae7dd990a7
@ -694,10 +694,11 @@ var map = L.map('map', {
|
|||||||
</tr>
|
</tr>
|
||||||
<tr id="map-setmaxbounds">
|
<tr id="map-setmaxbounds">
|
||||||
<td><code><b>setMaxBounds</b>(
|
<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>
|
</code></td>
|
||||||
<td><code><span class="keyword">this</span></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>
|
||||||
<tr id="map-locate">
|
<tr id="map-locate">
|
||||||
<td><code><b>locate</b>(
|
<td><code><b>locate</b>(
|
||||||
|
Loading…
Reference in New Issue
Block a user