docstrings: CRS.getProjectedBounds and CRS.distance (#4918)

This commit is contained in:
Alejandro Sánchez 2016-09-15 13:29:48 -06:00 committed by Iván Sánchez Ortega
parent 30087eaa1d
commit 45775be981

View File

@ -60,7 +60,7 @@ L.CRS = {
return Math.log(scale / 256) / Math.LN2;
},
// @method getProjectedBounds(zoom): Bounds
// @method getProjectedBounds(zoom: Number): Bounds
// Returns the projection's bounds scaled and transformed for the provided `zoom`.
getProjectedBounds: function (zoom) {
if (this.infinite) { return null; }
@ -73,7 +73,7 @@ L.CRS = {
return L.bounds(min, max);
},
// @method distance(latlng1: LatLng, latlng1: LatLng): Number
// @method distance(latlng1: LatLng, latlng2: LatLng): Number
// Returns the distance between two geographical coordinates.
// @property code: String