diff --git a/src/ol/geom/geometry.js b/src/ol/geom/geometry.js index bf252fbb44..c505551935 100644 --- a/src/ol/geom/geometry.js +++ b/src/ol/geom/geometry.js @@ -170,9 +170,11 @@ ol.geom.Geometry.prototype.getExtent = function(opt_extent) { /** - * Create a simplified version of this geometry using the {@link + * Create a simplified version of this geometry. For linestrings, this uses + * the the {@link * http://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm - * Douglas Peucker} algorithm. + * Douglas Peucker} algorithm. For polygons, a quantization-based + * simplification is used to preserve topology. * @function * @param {number} tolerance The tolerance distance for simplification. * @return {ol.geom.Geometry} A new, simplified version of the original