Leaflet.snogylop is a Leaflet plugin that inverts polygons.