Add @api stable annotations for ol.geom.LinearRing
This commit is contained in:
@@ -20,7 +20,7 @@ goog.require('ol.geom.flat.simplify');
|
|||||||
* @extends {ol.geom.SimpleGeometry}
|
* @extends {ol.geom.SimpleGeometry}
|
||||||
* @param {ol.geom.RawLinearRing} coordinates Coordinates.
|
* @param {ol.geom.RawLinearRing} coordinates Coordinates.
|
||||||
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
|
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.geom.LinearRing = function(coordinates, opt_layout) {
|
ol.geom.LinearRing = function(coordinates, opt_layout) {
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ goog.inherits(ol.geom.LinearRing, ol.geom.SimpleGeometry);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.geom.LinearRing.prototype.clone = function() {
|
ol.geom.LinearRing.prototype.clone = function() {
|
||||||
var linearRing = new ol.geom.LinearRing(null);
|
var linearRing = new ol.geom.LinearRing(null);
|
||||||
@@ -78,7 +78,7 @@ ol.geom.LinearRing.prototype.closestPointXY =
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {number} Area (on projected plane).
|
* @return {number} Area (on projected plane).
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.geom.LinearRing.prototype.getArea = function() {
|
ol.geom.LinearRing.prototype.getArea = function() {
|
||||||
return ol.geom.flat.area.linearRing(
|
return ol.geom.flat.area.linearRing(
|
||||||
@@ -88,7 +88,7 @@ ol.geom.LinearRing.prototype.getArea = function() {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {ol.geom.RawLinearRing} Coordinates.
|
* @return {ol.geom.RawLinearRing} Coordinates.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.geom.LinearRing.prototype.getCoordinates = function() {
|
ol.geom.LinearRing.prototype.getCoordinates = function() {
|
||||||
return ol.geom.flat.inflate.coordinates(
|
return ol.geom.flat.inflate.coordinates(
|
||||||
@@ -114,7 +114,7 @@ ol.geom.LinearRing.prototype.getSimplifiedGeometryInternal =
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.geom.LinearRing.prototype.getType = function() {
|
ol.geom.LinearRing.prototype.getType = function() {
|
||||||
return ol.geom.GeometryType.LINEAR_RING;
|
return ol.geom.GeometryType.LINEAR_RING;
|
||||||
@@ -124,7 +124,7 @@ ol.geom.LinearRing.prototype.getType = function() {
|
|||||||
/**
|
/**
|
||||||
* @param {ol.geom.RawLinearRing} coordinates Coordinates.
|
* @param {ol.geom.RawLinearRing} coordinates Coordinates.
|
||||||
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
|
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.geom.LinearRing.prototype.setCoordinates =
|
ol.geom.LinearRing.prototype.setCoordinates =
|
||||||
function(coordinates, opt_layout) {
|
function(coordinates, opt_layout) {
|
||||||
|
|||||||
Reference in New Issue
Block a user