Skip to content

Commit

Permalink
feat: add 'tms' option to tile_source for basemap generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuj-Gupta4 committed Dec 25, 2024
1 parent 379c97d commit f12facc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/app/projects/project_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit f12facc

Please sign in to comment.