Add missing override and inheritDoc jsdoc tags

This commit is contained in:
Frederic Junod
2016-12-16 15:49:53 +01:00
committed by Guillaume Beraudo
parent 546fc97cd4
commit d59224f5eb
34 changed files with 77 additions and 37 deletions
+3 -3
View File
@@ -29,6 +29,7 @@ ol.inherits(ol.geom.Point, ol.geom.SimpleGeometry);
/**
* Make a complete copy of the geometry.
* @return {!ol.geom.Point} Clone.
* @override
* @api stable
*/
ol.geom.Point.prototype.clone = function() {
@@ -62,6 +63,7 @@ ol.geom.Point.prototype.closestPointXY = function(x, y, closestPoint, minSquared
/**
* Return the coordinate of the point.
* @return {ol.Coordinate} Coordinates.
* @override
* @api stable
*/
ol.geom.Point.prototype.getCoordinates = function() {
@@ -97,9 +99,7 @@ ol.geom.Point.prototype.intersectsExtent = function(extent) {
/**
* Set the coordinate of the point.
* @param {ol.Coordinate} coordinates Coordinates.
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
* @inheritDoc
* @api stable
*/
ol.geom.Point.prototype.setCoordinates = function(coordinates, opt_layout) {