function featureCollectionToH3Set()

in src/geojson2h3.js [81:87]


function featureCollectionToH3Set(featureCollection, resolution) {
    const {features} = featureCollection;
    if (!features) {
        throw new Error('No features found');
    }
    return flatten(features.map(feature => featureToH3Set(feature, resolution)));
}