diff --git a/src/ol/geom/geometry.js b/src/ol/geom/geometry.js index 5a09b7db31..54a2a310cb 100644 --- a/src/ol/geom/geometry.js +++ b/src/ol/geom/geometry.js @@ -112,6 +112,8 @@ ol.geom.Geometry.prototype.closestPointXY = goog.abstractMethod; /** + * Return the closest point of the geometry to the passed point as + * {@link ol.Coordinate coordinate}. * @param {ol.Coordinate} point Point. * @param {ol.Coordinate=} opt_closestPoint Closest point. * @return {ol.Coordinate} Closest point.