Skip to content

Build your personal knowledge base with Trilium Notes

refactor(views/geo): get rid of empty theme

Elian Doran737f41d92b42
diff --git a/apps/client/src/widgets/view_widgets/geo_view/map_layer.ts b/apps/client/src/widgets/view_widgets/geo_view/map_layer.ts
index 422f1d6133..53ca3db70b 100644
--- a/apps/client/src/widgets/view_widgets/geo_view/map_layer.ts
+++ b/apps/client/src/widgets/view_widgets/geo_view/map_layer.ts
@@ -30,11 +30,6 @@ export const MAP_LAYERS: Record<string, VectorLayer | RasterLayer> = {
type: "vector",
style: async () => (await import("./styles/eclipse/en.json")).default
},
- "versatiles-empty": {
- name: "Versatiles Empty (vector)",
- type: "vector",
- style: async () => (await import("./styles/empty/style.json")).default
- },
"versatiles-graybeard": {
name: "Versatiles Graybeard (vector)",
type: "vector",
diff --git a/apps/client/src/widgets/view_widgets/geo_view/styles/empty/style.json b/apps/client/src/widgets/view_widgets/geo_view/styles/empty/style.json
deleted file mode 100644
index ca9e6496d5..0000000000
--- a/apps/client/src/widgets/view_widgets/geo_view/styles/empty/style.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "version": 8,
- "name": "versatiles-empty",
- "metadata": {
- "license": "https://creativecommons.org/publicdomain/zero/1.0/"
- },
- "glyphs": "https://tiles.versatiles.org/assets/glyphs/{fontstack}/{range}.pbf",
- "sprite": [
- {
- "id": "basics",
- "url": "https://tiles.versatiles.org/assets/sprites/basics/sprites"
- }
- ],
- "sources": {
- "versatiles-shortbread": {
- "attribution": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors",
- "tiles": [
- "https://tiles.versatiles.org/tiles/osm/{z}/{x}/{y}"
- ],
- "type": "vector",
- "scheme": "xyz",
- "bounds": [ -180, -85.0511287798066, 180, 85.0511287798066 ],
- "minzoom": 0,
- "maxzoom": 14
- }
- },
- "layers": [
-
- ]
-}
\ No newline at end of file