Make geom.simplify() exportable

This commit is contained in:
Tim Schaub
2015-09-22 10:34:43 -06:00
parent 250e86e5f2
commit 436561d9dd
2 changed files with 1 additions and 1 deletions

View File

@@ -179,6 +179,7 @@ ol.geom.Geometry.prototype.getExtent = function(opt_extent) {
* @param {number} tolerance The tolerance distance for simplification.
* @return {ol.geom.Geometry} A new, simplified version of the original
* geometry.
* @api
*/
ol.geom.Geometry.prototype.simplify = function(tolerance) {
return this.getSimplifiedGeometry(tolerance * tolerance);

View File

@@ -144,7 +144,6 @@ ol.geom.SimpleGeometry.prototype.getLayout = function() {
/**
* @inheritDoc
* @api
*/
ol.geom.SimpleGeometry.prototype.getSimplifiedGeometry =
function(squaredTolerance) {