Annotations for exports
This commit is contained in:
@@ -17,6 +17,7 @@ goog.require('ol.geom.flat.simplify');
|
||||
* @param {ol.geom.RawLinearRing} coordinates Coordinates.
|
||||
* @param {ol.geom.GeometryLayout|string=} opt_layout Layout.
|
||||
* @todo stability experimental
|
||||
* @todo api
|
||||
*/
|
||||
ol.geom.LinearRing = function(coordinates, opt_layout) {
|
||||
|
||||
@@ -43,6 +44,7 @@ goog.inherits(ol.geom.LinearRing, ol.geom.SimpleGeometry);
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @todo api
|
||||
*/
|
||||
ol.geom.LinearRing.prototype.clone = function() {
|
||||
var linearRing = new ol.geom.LinearRing(null);
|
||||
@@ -74,6 +76,7 @@ ol.geom.LinearRing.prototype.closestPointXY =
|
||||
/**
|
||||
* @return {number} Area.
|
||||
* @todo stability experimental
|
||||
* @todo api
|
||||
*/
|
||||
ol.geom.LinearRing.prototype.getArea = function() {
|
||||
return ol.geom.flat.area.linearRing(
|
||||
@@ -84,6 +87,7 @@ ol.geom.LinearRing.prototype.getArea = function() {
|
||||
/**
|
||||
* @return {ol.geom.RawLinearRing} Coordinates.
|
||||
* @todo stability experimental
|
||||
* @todo api
|
||||
*/
|
||||
ol.geom.LinearRing.prototype.getCoordinates = function() {
|
||||
return ol.geom.flat.inflate.coordinates(
|
||||
@@ -109,6 +113,7 @@ ol.geom.LinearRing.prototype.getSimplifiedGeometryInternal =
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @todo api
|
||||
*/
|
||||
ol.geom.LinearRing.prototype.getType = function() {
|
||||
return ol.geom.GeometryType.LINEAR_RING;
|
||||
@@ -119,6 +124,7 @@ ol.geom.LinearRing.prototype.getType = function() {
|
||||
* @param {ol.geom.RawLinearRing} coordinates Coordinates.
|
||||
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
|
||||
* @todo stability experimental
|
||||
* @todo api
|
||||
*/
|
||||
ol.geom.LinearRing.prototype.setCoordinates =
|
||||
function(coordinates, opt_layout) {
|
||||
|
||||
Reference in New Issue
Block a user