UNPKG

urbi-exhibitions

Version:
10 lines (9 loc) 291 B
const l = (c) => { const { points: e } = c, o = {}; return e.forEach((t, _) => { o[`point_${_}_type`] = t.type, o[`point_${_}_lon`] = t.lon, o[`point_${_}_lat`] = t.lat, o[`point_${_}_floor_id`] = t.floor_id, o[`point_${_}_object_id`] = t.object_id; }), o; }; export { l as g };