UNPKG

geotoolbox

Version:

geotoolbox is GIS javascript library. It is based on d3geo, topojson and geos-wasm.

9 lines (8 loc) 256 B
/** * @function <s>properties/remove</s> * @deprecated * @summary From now on, use directly `geojson.features.map(d => d.properties)` */ export function table(geojson) { return JSON.parse(JSON.stringify(geojson.features.map((d) => d.properties))); }