geosConcaveHull = {
const start = performance.now();
const geosGeom = geojsonToGeosGeom(randomMultipoint);
const geosConcaveHull = geos.GEOSConcaveHull(
geosGeom,
ratio,
allowHoles ? 1 : 0
);
const concaveHullGeoJson = geosGeomToGeojson(geosConcaveHull);
const styledFeature = {
type: "Feature",
geometry: concaveHullGeoJson,
properties: {
style: {
color: "red",
fillOpacity: 0.2
}
}
};
const end = performance.now();
mutable geosConcaveHullTime = ~~(end - start);
return styledFeature;
}