Add ol.geom.Geometry#clone
This commit is contained in:
@@ -82,6 +82,12 @@ ol.geom.Geometry = function() {
|
|||||||
goog.inherits(ol.geom.Geometry, ol.Observable);
|
goog.inherits(ol.geom.Geometry, ol.Observable);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return {ol.geom.Geometry} Clone.
|
||||||
|
*/
|
||||||
|
ol.geom.Geometry.prototype.clone = goog.abstractMethod;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {number} x X.
|
* @param {number} x X.
|
||||||
* @param {number} y Y.
|
* @param {number} y Y.
|
||||||
|
|||||||
Reference in New Issue
Block a user