greiner-hormann (bower): Greiner-Hormann polygon clipping algorithm. Does AND, OR, XOR. Plays nicely with Leaflet. Handles non-convex polygons and multiple clipping areas. ~3kb footprint, no dependencies
Keywords: algorithm|computational-geometry|leaflet|polygon-clipping|polygon-intersection|polygon-union