code: function(coords) {
          var tolerance = this.options.tolerance || 0.8;
          var enableHighQuality = !!this.options.highQuality;
          var points = GeometryUtils.simplify(coords, tolerance,
                  enableHighQuality);
          return points;
      }
docs: Simplifies the given line.