Add default stability level to docs of exported things.

This commit is contained in:
Paul Spencer
2013-10-24 17:07:02 -04:00
parent a13c5d30a2
commit bada596b45
108 changed files with 382 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ goog.require('ol.TransformFunction');
/**
* @constructor
* @extends {goog.events.EventTarget}
* @todo stability experimental
*/
ol.geom.Geometry = function() {
goog.base(this);
@@ -76,6 +77,7 @@ goog.inherits(ol.geom.GeometryEvent, goog.events.Event);
* Geometry types.
*
* @enum {string}
* @todo stability experimental
*/
ol.geom.GeometryType = {
POINT: 'point',

View File

@@ -16,6 +16,7 @@ goog.require('ol.geom.GeometryType');
* @constructor
* @extends {ol.geom.AbstractCollection}
* @param {Array.<ol.geom.Geometry>} geometries Array of geometries.
* @todo stability experimental
*/
ol.geom.GeometryCollection = function(geometries) {
goog.base(this);

View File

@@ -11,6 +11,7 @@ goog.require('ol.geom.LineString');
* @extends {ol.geom.LineString}
* @param {ol.CoordinateArray} coordinates Vertex array (e.g.
* [[x0, y0], [x1, y1]]).
* @todo stability experimental
*/
ol.geom.LinearRing = function(coordinates) {
goog.base(this, coordinates);

View File

@@ -16,6 +16,7 @@ goog.require('ol.geom.GeometryType');
* @extends {ol.geom.Geometry}
* @param {ol.CoordinateArray} coordinates Array of coordinates (e.g.
* [[x0, y0], [x1, y1]]).
* @todo stability experimental
*/
ol.geom.LineString = function(coordinates) {
goog.base(this);

View File

@@ -14,6 +14,7 @@ goog.require('ol.geom.LineString');
* @constructor
* @extends {ol.geom.AbstractCollection}
* @param {Array.<ol.CoordinateArray>} coordinates Coordinates array.
* @todo stability experimental
*/
ol.geom.MultiLineString = function(coordinates) {
goog.base(this);

View File

@@ -14,6 +14,7 @@ goog.require('ol.geom.Point');
* @constructor
* @extends {ol.geom.AbstractCollection}
* @param {ol.CoordinateArray} coordinates Coordinates array.
* @todo stability experimental
*/
ol.geom.MultiPoint = function(coordinates) {
goog.base(this);

View File

@@ -15,6 +15,7 @@ goog.require('ol.geom.Polygon');
* @extends {ol.geom.AbstractCollection}
* @param {Array.<Array.<ol.CoordinateArray>>} coordinates Coordinates
* array.
* @todo stability experimental
*/
ol.geom.MultiPolygon = function(coordinates) {
goog.base(this);

View File

@@ -13,6 +13,7 @@ goog.require('ol.geom.GeometryType');
* @constructor
* @extends {ol.geom.Geometry}
* @param {ol.Coordinate} coordinates Coordinate values (e.g. [x, y]).
* @todo stability experimental
*/
ol.geom.Point = function(coordinates) {
goog.base(this);

View File

@@ -23,6 +23,7 @@ goog.require('ol.geom.LinearRing');
* @extends {ol.geom.Geometry}
* @param {Array.<ol.CoordinateArray>} coordinates Array of rings. First
* is outer, any remaining are inner.
* @todo stability experimental
*/
ol.geom.Polygon = function(coordinates) {
goog.base(this);
@@ -75,6 +76,7 @@ ol.geom.Polygon.prototype.getBounds = function() {
/**
* @return {Array.<ol.CoordinateArray>} Coordinates array.
* @todo stability experimental
*/
ol.geom.Polygon.prototype.getCoordinates = function() {
var count = this.rings_.length;