src/canvas/CanvasContext.js
function(coords) {
        var tolerance = this.options.tolerance || 0.8;
        var enableHighQuality = !!this.options.highQuality;
        var points = GeometryUtils.simplify(coords, tolerance,
                enableHighQuality);
        return points;
    }
function(coords) {
        var tolerance = this.options.tolerance || 0.8;
        var enableHighQuality = !!this.options.highQuality;
        var points = GeometryUtils.simplify(coords, tolerance,
                enableHighQuality);
        return points;
    }
function ( coords ) { var tolerance = this . options . tolerance || 0.8 ; var enableHighQuality = ! ! this . options . highQuality ; var points = GeometryUtils . simplify ( coords , tolerance , enableHighQuality ) ; return points ; }
Simplifies the given line.
Simplifies the given line .