More work on widths

This commit is contained in:
Pieter Vander Vennet 2020-07-17 18:57:07 +02:00
parent 636bad97b3
commit c9e90935d8
3 changed files with 95 additions and 30 deletions

View file

@ -41,7 +41,7 @@ if (location.hostname === "localhost" || location.hostname === "127.0.0.1") {
dryRun = true;
// If you have a testfile somewhere, enable this to spoof overpass
// This should be hosted independantly, e.g. with `cd assets; webfsd -p 8080` + a CORS plugin to disable cors rules
Overpass.testUrl = "http://127.0.0.1:8080/streetwidths.geojson";
//Overpass.testUrl = "http://127.0.0.1:8080/streetwidths.geojson";
}
@ -80,7 +80,7 @@ if (paramDict.layout) {
}
if (paramDict.test) {
dryRun = true;
dryRun = paramDict.test === "true";
}
const layoutToUse = AllKnownLayouts.allSets[defaultLayout];