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.
|
* Apply a transform function to the geometry. Modifies the geometry in place.
|
||||||
* @function
|
* @function
|
||||||
* @param {ol.TransformFunction} transformFn Transform.
|
* @param {ol.TransformFunction} transformFn Transform.
|
||||||
|
* @todo api
|
||||||
*/
|
*/
|
||||||
ol.geom.Geometry.prototype.applyTransform = goog.abstractMethod;
|
ol.geom.Geometry.prototype.applyTransform = goog.abstractMethod;
|
||||||
|
|
||||||
|
|||||||
@@ -242,7 +242,6 @@ ol.geom.SimpleGeometry.prototype.setLayout =
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
* @todo api
|
|
||||||
*/
|
*/
|
||||||
ol.geom.SimpleGeometry.prototype.applyTransform = function(transformFn) {
|
ol.geom.SimpleGeometry.prototype.applyTransform = function(transformFn) {
|
||||||
if (!goog.isNull(this.flatCoordinates)) {
|
if (!goog.isNull(this.flatCoordinates)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user