I am trying to convert overlapping polygons to non-overlapping polygons using google maps, turf.js and JSTS. But I am getting an error from both turf and JSTS.
I trie