Convex hull and HTML markers This sample shows how to calculate a convex hull for a set of HTML markers. Drag the markers on the map to see the convex hull update. A convex hull is a shape that represents that minimum convex geometry that encloses all shapes in the specified data set. Additionally, the perimeter and area of the convex hull are also calculated.