Somewhat related - how would you setup geospatial indexing using a traditional index? For example IndexedDB?
I’ve been wanting to implement something similar to this (albeit much lighter) for the use with indexeddb - it’s challenging since many of the capabilities here just aren’t available to JavaScript on the browser.