Update simplification docs

This commit is contained in:
Tim Schaub
2015-09-22 09:49:42 -06:00
parent e81b68ce8b
commit 250e86e5f2

View File

@@ -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