From 44833f4a629910a94afec73d44c9c4db7f3f354b Mon Sep 17 00:00:00 2001 From: nilsnolde Date: Mon, 17 Nov 2025 14:17:33 +0100 Subject: [PATCH 1/3] add /tile --- tile/index.html | 430 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 430 insertions(+) create mode 100644 tile/index.html diff --git a/tile/index.html b/tile/index.html new file mode 100644 index 0000000..6ab17d5 --- /dev/null +++ b/tile/index.html @@ -0,0 +1,430 @@ + + + + + + Valhalla Vector Tiles Demo + + + + + + + + +
+ +
+ Zoom: 10 | + Center: [24.75, 59.44] +
+ + + + + From 2d15b2b26ee9e5111aaf2aee5e6ff99114203b4c Mon Sep 17 00:00:00 2001 From: nilsnolde Date: Mon, 17 Nov 2025 14:19:35 +0100 Subject: [PATCH 2/3] add /tile --- tile/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tile/index.html b/tile/index.html index 6ab17d5..dec2bcb 100644 --- a/tile/index.html +++ b/tile/index.html @@ -57,7 +57,7 @@ const map = new maplibregl.Map({ container: 'map', style: 'https://tiles.versatiles.org/assets/styles/colorful/style.json', // VersaTiles colorful style - center: [13.398218,52.517828], // Default to Tallinn + center: [24.7536, 59.4372], // Default to Tallinn zoom: 10 }); From 4f3f1a23d8e21330bab8e42e2d30c9d66ef756e4 Mon Sep 17 00:00:00 2001 From: nilsnolde Date: Mon, 17 Nov 2025 16:35:24 +0100 Subject: [PATCH 3/3] add server selection --- tile/index.html | 717 +++++++++++++++++++++++++----------------------- 1 file changed, 379 insertions(+), 338 deletions(-) diff --git a/tile/index.html b/tile/index.html index dec2bcb..36d1b2e 100644 --- a/tile/index.html +++ b/tile/index.html @@ -39,6 +39,19 @@ font-family: monospace; z-index: 1; } + + .server-select { + position: absolute; + top: 10px; + right: 10px; + background: rgba(0, 0, 0, 0.7); + color: white; + padding: 10px; + border-radius: 4px; + font-size: 12px; + font-family: monospace; + z-index: 1; + } @@ -49,9 +62,33 @@ Center: [24.75, 59.44] +
+ + +
+