From fc28cae0addbb3fafcdb556c758a4127e40b6a1e Mon Sep 17 00:00:00 2001 From: xdan Date: Thu, 14 Sep 2023 18:36:39 +0300 Subject: [PATCH] Allow use negative tiles --- src/app/v1/load-by-tile.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/v1/load-by-tile.ts b/src/app/v1/load-by-tile.ts index 870991d..e4f1bdb 100644 --- a/src/app/v1/load-by-tile.ts +++ b/src/app/v1/load-by-tile.ts @@ -8,9 +8,9 @@ import {fromWorldCoordinates, tileToWorld} from '../lib/projection/projection'; const getTileRequestSchema = z .object({ limit: numericString(z.number().int().min(100).max(10000).default(1000)), - x: numericString(z.number().int().min(0)), - y: numericString(z.number().int().min(0)), - z: numericString(z.number().int().min(0)) + x: numericString(z.number().int()), + y: numericString(z.number().int()), + z: numericString(z.number().int()) }) .strict();