Scripts(offline): add offline generation script

This commit is contained in:
Pieter Vander Vennet 2025-07-31 01:03:54 +02:00
parent 2cd0b11448
commit 0a3db2d1dc
4 changed files with 122 additions and 45 deletions

View file

@ -82,7 +82,7 @@ export class Tiles {
}
static asGeojson(index: number): Feature<Polygon>
static asGeojson(x: number, y: number, z: number): Feature<Polygon>
static asGeojson(z: number, x: number, y: number): Feature<Polygon>
static asGeojson(zIndex: number, x?: number, y?: number): Feature<Polygon> {
let z = zIndex
if (x === undefined) {