diff --git a/src/ol/geom/circle.js b/src/ol/geom/circle.js index aa92f46080..e324b9b558 100644 --- a/src/ol/geom/circle.js +++ b/src/ol/geom/circle.js @@ -14,7 +14,7 @@ goog.require('ol.geom.flat.deflate'); * * @constructor * @extends {ol.geom.SimpleGeometry} - * @param {ol.geom.RawPoint} center Center. + * @param {ol.Coordinate} center Center. * @param {number=} opt_radius Radius. * @param {ol.geom.GeometryLayout=} opt_layout Layout. * @api @@ -82,7 +82,7 @@ ol.geom.Circle.prototype.containsXY = function(x, y) { /** - * @return {ol.geom.RawPoint} Center. + * @return {ol.Coordinate} Center. * @api */ ol.geom.Circle.prototype.getCenter = function() { @@ -139,7 +139,7 @@ ol.geom.Circle.prototype.getType = function() { /** - * @param {ol.geom.RawPoint} center Center. + * @param {ol.Coordinate} center Center. * @api */ ol.geom.Circle.prototype.setCenter = function(center) { @@ -157,7 +157,7 @@ ol.geom.Circle.prototype.setCenter = function(center) { /** - * @param {ol.geom.RawPoint} center Center. + * @param {ol.Coordinate} center Center. * @param {number} radius Radius. * @param {ol.geom.GeometryLayout=} opt_layout Layout. * @api diff --git a/src/ol/geom/geometry.js b/src/ol/geom/geometry.js index 70e8a1882a..d65860418a 100644 --- a/src/ol/geom/geometry.js +++ b/src/ol/geom/geometry.js @@ -203,14 +203,6 @@ ol.geom.Geometry.prototype.transform = function(source, destination) { }; -/** - * Array representation of a point. Example: `[16, 48]`. - * @typedef {ol.Coordinate} - * @api stable - */ -ol.geom.RawPoint; - - /** * Array representation of a linestring. * @typedef {Array.} @@ -237,7 +229,7 @@ ol.geom.RawPolygon; /** * Array representation of a multipoint. - * @typedef {Array.} + * @typedef {Array.} * @api stable */ ol.geom.RawMultiPoint; diff --git a/src/ol/geom/point.js b/src/ol/geom/point.js index 9f1fcd75e8..53cdadd8cb 100644 --- a/src/ol/geom/point.js +++ b/src/ol/geom/point.js @@ -15,7 +15,7 @@ goog.require('ol.math'); * * @constructor * @extends {ol.geom.SimpleGeometry} - * @param {ol.geom.RawPoint} coordinates Coordinates. + * @param {ol.Coordinate} coordinates Coordinates. * @param {ol.geom.GeometryLayout=} opt_layout Layout. * @api stable */ @@ -61,7 +61,7 @@ ol.geom.Point.prototype.closestPointXY = /** - * @return {ol.geom.RawPoint} Coordinates. + * @return {ol.Coordinate} Coordinates. * @api stable */ ol.geom.Point.prototype.getCoordinates = function() { @@ -93,7 +93,7 @@ ol.geom.Point.prototype.getType = function() { /** - * @param {ol.geom.RawPoint} coordinates Coordinates. + * @param {ol.Coordinate} coordinates Coordinates. * @param {ol.geom.GeometryLayout=} opt_layout Layout. * @api stable */