Docs(Polyline): closestLayerPoint add missing param doc (#6060)
as commented on PR #5701 (https://github.com/Leaflet/Leaflet/pull/5701#issuecomment-357726857)
This commit is contained in:
parent
fa374e67a2
commit
018bac0e9e
@ -84,7 +84,7 @@ export var Polyline = Path.extend({
|
||||
return !this._latlngs.length;
|
||||
},
|
||||
|
||||
// @method closestLayerPoint: Point
|
||||
// @method closestLayerPoint(p: Point): Point
|
||||
// Returns the point closest to `p` on the Polyline.
|
||||
closestLayerPoint: function (p) {
|
||||
var minDistance = Infinity,
|
||||
|
Loading…
Reference in New Issue
Block a user