Merge pull request #3818 from probins/transform
Make geometry.transform api stable again.
This commit is contained in:
@@ -229,6 +229,7 @@ ol.geom.Geometry.prototype.translate = goog.abstractMethod;
|
|||||||
* string identifier or a {@link ol.proj.Projection} object.
|
* string identifier or a {@link ol.proj.Projection} object.
|
||||||
* @return {ol.geom.Geometry} This geometry. Note that original geometry is
|
* @return {ol.geom.Geometry} This geometry. Note that original geometry is
|
||||||
* modified in place.
|
* modified in place.
|
||||||
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.geom.Geometry.prototype.transform = function(source, destination) {
|
ol.geom.Geometry.prototype.transform = function(source, destination) {
|
||||||
this.applyTransform(ol.proj.getTransform(source, destination));
|
this.applyTransform(ol.proj.getTransform(source, destination));
|
||||||
|
|||||||
Reference in New Issue
Block a user