First draft of loading 'notes'

This commit is contained in:
Pieter Vander Vennet 2022-01-07 04:14:53 +01:00
parent bafaba7011
commit ebb510da04
20 changed files with 580 additions and 199 deletions

View file

@ -16,7 +16,7 @@ export class Tiles {
const result: T[] = []
const total = tileRange.total
if (total > 100000) {
throw "Tilerange too big"
throw "Tilerange too big (z is "+tileRange.zoomlevel+")"
}
for (let x = tileRange.xstart; x <= tileRange.xend; x++) {
for (let y = tileRange.ystart; y <= tileRange.yend; y++) {