Remove the ol.geom.RawLinearRing type
This commit is contained in:
@@ -203,17 +203,9 @@ ol.geom.Geometry.prototype.transform = function(source, destination) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Array representation of a linear ring.
|
|
||||||
* @typedef {Array.<ol.Coordinate>}
|
|
||||||
* @api stable
|
|
||||||
*/
|
|
||||||
ol.geom.RawLinearRing;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Array representation of a polygon.
|
* Array representation of a polygon.
|
||||||
* @typedef {Array.<ol.geom.RawLinearRing>}
|
* @typedef {Array.<Array.<ol.Coordinate>>}
|
||||||
* @api stable
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.geom.RawPolygon;
|
ol.geom.RawPolygon;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ goog.require('ol.geom.flat.simplify');
|
|||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
* @extends {ol.geom.SimpleGeometry}
|
* @extends {ol.geom.SimpleGeometry}
|
||||||
* @param {ol.geom.RawLinearRing} coordinates Coordinates.
|
* @param {Array.<ol.Coordinate>} coordinates Coordinates.
|
||||||
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
|
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
|
||||||
* @api stable
|
* @api stable
|
||||||
*/
|
*/
|
||||||
@@ -87,7 +87,7 @@ ol.geom.LinearRing.prototype.getArea = function() {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {ol.geom.RawLinearRing} Coordinates.
|
* @return {Array.<ol.Coordinate>} Coordinates.
|
||||||
* @api stable
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.geom.LinearRing.prototype.getCoordinates = function() {
|
ol.geom.LinearRing.prototype.getCoordinates = function() {
|
||||||
@@ -122,7 +122,7 @@ ol.geom.LinearRing.prototype.getType = function() {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {ol.geom.RawLinearRing} coordinates Coordinates.
|
* @param {Array.<ol.Coordinate>} coordinates Coordinates.
|
||||||
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
|
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
|
||||||
* @api stable
|
* @api stable
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user