From f12facceee538d77a5713f5b6cb840be2c8a7b42 Mon Sep 17 00:00:00 2001 From: Anuj-Gupta4 Date: Wed, 25 Dec 2024 13:05:26 +0545 Subject: [PATCH] feat: add 'tms' option to tile_source for basemap generation --- src/backend/app/projects/project_schemas.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/backend/app/projects/project_schemas.py b/src/backend/app/projects/project_schemas.py index 70f82866a..13c1ea5c5 100644 --- a/src/backend/app/projects/project_schemas.py +++ b/src/backend/app/projects/project_schemas.py @@ -274,7 +274,9 @@ class ProjectUserContributions(BaseModel): class BasemapGenerate(BaseModel): """Params to generate a new basemap.""" - tile_source: Annotated[Literal["esri", "bing", "google"], Field(default="esri")] + tile_source: Annotated[ + Literal["esri", "bing", "google", "tms"], Field(default="esri") + ] file_format: Annotated[ Literal["mbtiles", "sqlitedb", "pmtiles"], Field(default="mbtiles"),