Awesome
spatialitebrowser
May not work in IE.
query default DB
load a DB via db={url} (requires cors enabled)
load a (small & zipped) DB via db={dataURI}
A way to create a dataURI
fetch('assets/db/empty.sqlite')
.then(data => {
data.arrayBuffer().then(buffer => {
const blob = new Blob([buffer], { type: 'application/octet-stream' });
const reader = new FileReader();
reader.readAsDataURL(blob);
reader.onloadend = function () {
console.log(reader.result);
};
});
});