Closed maxlath closed 7 months ago
placeholder coordinates where removed will the following data transform function, applied to both users and groups:
// drop_placeholder_position.mjs
export default function (doc) {
const { position } = doc
// Take into account the different number of decimal used since this placeholder was introduced
if (position[0].toString().startsWith('46.2324') && position[1].toString().startsWith('6.045')) {
delete doc.position
}
return doc
}
Addressing #54 with @antalAkos's help. This has been so long in the waiting, so excited to finally get there! :joy: :tada: It should help #295 and more generally having an easy to navigate public map.
TODO post-deploy: