Fix inconsistency in geom docs

This commit is contained in:
Peter Robins
2016-03-17 10:13:30 +00:00
parent 5ba64024ab
commit 8f9a8e9bb1

View File

@@ -219,7 +219,7 @@ ol.geom.Geometry.prototype.getType = goog.abstractMethod;
/**
* Apply a transform function to each coordinate of the geometry.
* The geometry is modified in place.
* If you do not want the geometry modified in place, first clone() it and
* If you do not want the geometry modified in place, first `clone()` it and
* then use this function on the clone.
* @function
* @param {ol.TransformFunction} transformFn Transform.
@@ -250,7 +250,7 @@ ol.geom.Geometry.prototype.translate = goog.abstractMethod;
* Transform each coordinate of the geometry from one coordinate reference
* system to another. The geometry is modified in place.
* For example, a line will be transformed to a line and a circle to a circle.
* If you do not want the geometry modified in place, first clone() it and
* If you do not want the geometry modified in place, first `clone()` it and
* then use this function on the clone.
*
* @param {ol.proj.ProjectionLike} source The current projection. Can be a