code: function (points, sqTolerance) {
  
  		var len = points.length,
  		    ArrayConstructor = typeof Uint8Array !== undefined + '' ? Uint8Array : Array,
  		    markers = new ArrayConstructor(len);
  
  		markers[0] = markers[len - 1] = 1;
  
  		this._simplifyDPStep(points, markers, sqTolerance, 0, len - 1);
  
  		var i,
  		    newPoints = [];
  
  		for (i = 0; i < len; i++) {
  			if (markers[i]) {
  				newPoints.push(points[i]);
  			}
  		}
  
  		return newPoints;
  	}
docs: Douglas-Peucker simplification, see http://en.wikipedia.org/wiki/Douglas-Peucker_algorithm