From 45775be9819ec9a926525df3a061e4c8258b41ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20S=C3=A1nchez?= Date: Thu, 15 Sep 2016 13:29:48 -0600 Subject: [PATCH] docstrings: CRS.getProjectedBounds and CRS.distance (#4918) --- src/geo/crs/CRS.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/geo/crs/CRS.js b/src/geo/crs/CRS.js index a6a43dba..7f4cf059 100644 --- a/src/geo/crs/CRS.js +++ b/src/geo/crs/CRS.js @@ -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