Docstrings: second parameter for map.fitBounds is optional

This commit is contained in:
Iván Sánchez Ortega 2016-12-01 13:40:00 +01:00
parent d760505483
commit 1f4c1b9c0f

View File

@ -255,7 +255,7 @@ L.Map = L.Evented.extend({
};
},
// @method fitBounds(bounds: LatLngBounds, options: fitBounds options): this
// @method fitBounds(bounds: LatLngBounds, options?: fitBounds options): this
// Sets a map view that contains the given geographical bounds with the
// maximum zoom level possible.
fitBounds: function (bounds, options) {