Mark applyTransform as part of the API for all geometries
This commit is contained in:
@@ -163,6 +163,7 @@ ol.geom.Geometry.prototype.getType = goog.abstractMethod;
|
||||
* Apply a transform function to the geometry. Modifies the geometry in place.
|
||||
* @function
|
||||
* @param {ol.TransformFunction} transformFn Transform.
|
||||
* @todo api
|
||||
*/
|
||||
ol.geom.Geometry.prototype.applyTransform = goog.abstractMethod;
|
||||
|
||||
|
||||
@@ -242,7 +242,6 @@ ol.geom.SimpleGeometry.prototype.setLayout =
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @todo api
|
||||
*/
|
||||
ol.geom.SimpleGeometry.prototype.applyTransform = function(transformFn) {
|
||||
if (!goog.isNull(this.flatCoordinates)) {
|
||||
|
||||
Reference in New Issue
Block a user