Skip to content

Commit

Permalink
Docs(Polyline): closestLayerPoint add missing param doc (#6060)
Browse files Browse the repository at this point in the history
as commented on PR #5701 (#5701 (comment))
  • Loading branch information
mattdsteele authored and ghybs committed Feb 20, 2018
1 parent fa374e6 commit 018bac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layer/vector/Polyline.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 018bac0

Please sign in to comment.