Remove one warning; set default background map to OpenFreeMap

This commit is contained in:
phil 2024-12-14 18:07:01 +01:00
parent c2a4aaac51
commit 07c231cf19
2 changed files with 2 additions and 2 deletions

View file

@ -220,7 +220,7 @@ class Map(BaseSettings):
lat: float = 12.0000
lng: float = 79.8106
bearing: float = 0
style: str = "OSM (vector)"
style: str = "OpenFreeMap"
opacity: float = 1
attribution: str = ""
status: list[str] = ["E", "F", "D"]

View file

@ -539,7 +539,7 @@ class ModelRegistry:
self.custom_models["long_name"] + "-" + self.custom_models["db_schema"]
)
self.custom_models["title"] = self.custom_models["long_name"]
self.custom_models.fillna(np.nan, inplace=True)
#self.custom_models.fillna(np.nan, inplace=True)
self.custom_models.replace([np.nan], [None], inplace=True)
## -------------------------