All @api annotations imply stability
This commit is contained in:
@@ -17,7 +17,7 @@ goog.require('ol.math');
|
||||
* @extends {ol.geom.SimpleGeometry}
|
||||
* @param {ol.Coordinate} coordinates Coordinates.
|
||||
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
|
||||
* @api stable
|
||||
* @api
|
||||
*/
|
||||
ol.geom.Point = function(coordinates, opt_layout) {
|
||||
ol.geom.SimpleGeometry.call(this);
|
||||
@@ -30,7 +30,7 @@ ol.inherits(ol.geom.Point, ol.geom.SimpleGeometry);
|
||||
* Make a complete copy of the geometry.
|
||||
* @return {!ol.geom.Point} Clone.
|
||||
* @override
|
||||
* @api stable
|
||||
* @api
|
||||
*/
|
||||
ol.geom.Point.prototype.clone = function() {
|
||||
var point = new ol.geom.Point(null);
|
||||
@@ -64,7 +64,7 @@ ol.geom.Point.prototype.closestPointXY = function(x, y, closestPoint, minSquared
|
||||
* Return the coordinate of the point.
|
||||
* @return {ol.Coordinate} Coordinates.
|
||||
* @override
|
||||
* @api stable
|
||||
* @api
|
||||
*/
|
||||
ol.geom.Point.prototype.getCoordinates = function() {
|
||||
return !this.flatCoordinates ? [] : this.flatCoordinates.slice();
|
||||
@@ -81,7 +81,7 @@ ol.geom.Point.prototype.computeExtent = function(extent) {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @api stable
|
||||
* @api
|
||||
*/
|
||||
ol.geom.Point.prototype.getType = function() {
|
||||
return ol.geom.GeometryType.POINT;
|
||||
@@ -90,7 +90,7 @@ ol.geom.Point.prototype.getType = function() {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @api stable
|
||||
* @api
|
||||
*/
|
||||
ol.geom.Point.prototype.intersectsExtent = function(extent) {
|
||||
return ol.extent.containsXY(extent,
|
||||
@@ -100,7 +100,7 @@ ol.geom.Point.prototype.intersectsExtent = function(extent) {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @api stable
|
||||
* @api
|
||||
*/
|
||||
ol.geom.Point.prototype.setCoordinates = function(coordinates, opt_layout) {
|
||||
if (!coordinates) {
|
||||
|
||||
Reference in New Issue
Block a user