Use encode_string and support multiple instances

This commit is contained in:
Danielv123 committed 2025-08-10 00:28:48 +02:00
1 parent c62eae0009
commit 5b9f650946
3 files changed
+93 -60

No files matched your search

+1 -1
View File
@@ -146,7 +146,7 @@ export default function MinimapPage() {
>
{/* Chart layer with surface and force data */}
<TileLayer
url={`${window.location.origin}/api/minimap/chart/${selectedSurface}/${selectedForce}/{z}/{x}/{y}.png?refresh=${refreshTiles}`}
url={`${window.location.origin}/api/minimap/chart/${selectedInstance}/${selectedSurface}/${selectedForce}/{z}/{x}/{y}.png?refresh=${refreshTiles}`}
maxNativeZoom={10}
minNativeZoom={10}
opacity={1}