Javascript Leaflet Invert When There Are Multiple Polygons Stack

Javascript Leaflet Invert When There Are Multiple Polygons Stack