code: function (baseLine, latLngs) {
  			var convexHullBaseLines = [],
  				t = this.findMostDistantPointFromBaseLine(baseLine, latLngs);
  
  			if (t.maxPoint) { // if there is still a point "outside" the base line
  				convexHullBaseLines =
  					convexHullBaseLines.concat(
  						this.buildConvexHull([baseLine[0], t.maxPoint], t.newPoints)
  					);
  				convexHullBaseLines =
  					convexHullBaseLines.concat(
  						this.buildConvexHull([t.maxPoint, baseLine[1]], t.newPoints)
  					);
  				return convexHullBaseLines;
  			} else {  // if there is no more point "outside" the base line, the current base line is part of the convex hull
  				return [baseLine[0]];
  			}
  		}
docs: /*
  Given a baseline, compute the convex hull of latLngs as an array
  of latLngs.
  
  @param {Array} latLngs
  @returns {Array}