function spiderPolyfill(feature, resolution) {
const outerLoop = feature.geometry.coordinates[0][0];
const set = new Set();
for (const [lng, lat] of outerLoop) {
const hex = h3.geoToH3(lat, lng, resolution);
h3.kRing(hex, 1).forEach(neighbor => iterativeSpider(feature, set, neighbor));
}
return [...set];
}