code: function (latLngs) {
  			// find first baseline
  			var maxLat = false, minLat = false,
  				maxLng = false, minLng = false,
  				maxLatPt = null, minLatPt = null,
  				maxLngPt = null, minLngPt = null,
  				maxPt = null, minPt = null,
  				i;
  
  			for (i = latLngs.length - 1; i >= 0; i--) {
  				var pt = latLngs[i];
  				if (maxLat === false || pt.lat > maxLat) {
  					maxLatPt = pt;
  					maxLat = pt.lat;
  				}
  				if (minLat === false || pt.lat < minLat) {
  					minLatPt = pt;
  					minLat = pt.lat;
  				}
  				if (maxLng === false || pt.lng > maxLng) {
  					maxLngPt = pt;
  					maxLng = pt.lng;
  				}
  				if (minLng === false || pt.lng < minLng) {
  					minLngPt = pt;
  					minLng = pt.lng;
  				}
  			}
  			
  			if (minLat !== maxLat) {
  				minPt = minLatPt;
  				maxPt = maxLatPt;
  			} else {
  				minPt = minLngPt;
  				maxPt = maxLngPt;
  			}
  
  			var ch = [].concat(this.buildConvexHull([minPt, maxPt], latLngs),
  								this.buildConvexHull([maxPt, minPt], latLngs));
  			return ch;
  		}
docs: /*
  Given an array of latlngs, compute a convex hull as an array
  of latlngs
  
  @param {Array} latLngs
  @returns {Array}