JSFiddle - React, Tailwind, and code Playground

by fxi

JavaScript

var overlap = new GeoCompo(map);

overlap.program([
   { clear : true},
   { getFeatures : 
       { 
           prefix : 'MX',
           groupSeparator : '@'
       }
   },
   { render : "source-in" },
   { addToMap : false }
])

overlap.clear();
overlap.
overlap.update();
overlap.getArea().then(console.log);
overlap.destroy();