convexhull
convex hull 2D algorithm using monotone chain algorithm
usage
const convexhull = /*options*/x: 'lng' y: 'lat'; const points = lng: 121409058 lat: 31191149 ...; let hull = ; // for unsorted pointshull = ;
Options
option | desc | default |
---|---|---|
x | property key x | 'longitude' |
y | property key y | 'latitude' |