Huge refactoring: split readonly and writable stores

This commit is contained in:
Pieter Vander Vennet 2022-06-05 02:24:14 +02:00
parent 0946d8ac9c
commit 4283b76f36
95 changed files with 819 additions and 625 deletions

View file

@ -127,7 +127,7 @@ async function main(args: string[]) {
delete f.bbox
}
TiledFeatureSource.createHierarchy(
new StaticFeatureSource(allFeatures, false),
StaticFeatureSource.fromGeojson(allFeatures),
{
minZoomLevel: zoomlevel,
maxZoomLevel: zoomlevel,