Update simplification docs
This commit is contained in:
@@ -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