Update simplification docs
This commit is contained in:
1 parent
e81b68ce8b
commit
250e86e5f2
1 file changed
+4
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user