zonekit

Polygon geometry for zones: validation, spatial relations and simplification, with no dependencies.

Source on GitHub

Click to add a point, drag to move one, shift-click to remove it. The dashed rectangle is the outer boundary.

Editing

Draw two zones to compare them.

Zone A
empty
Zone B
empty