code: function makePolygonsArray(poly) {
  				if (!poly || !poly.length || !Array.isArray(poly)) {
  					return [];
  				}
  
  				if (!Array.isArray(poly[0])) {
  					return [poly];
  				}
  
  				if (Array.isArray(poly[0]) && !isNaN(poly[0][0])) {
  					return [poly];
  				}
  
  				return poly;
  			}
docs: detect whether it's multiple polygons or what